Correcting code quality issues