add code quality metrics