This document discusses code quality measurement and the goals of the Sonar tool. It begins by asking how code quality is measured and mentions measuring technical debt. It then lists the seven worst coding practices as duplicated code, complexity maldistribution, bad design, potential bugs, lack of unit tests, non-compliance with standards, and no/too many comments. The goals of Sonar are to help developers find problems and help managers monitor codebase health and trends. It concludes with a demonstration link to Sonar.