Code quality enhancement