SONAR-4514 Add unit tests
SONAR-5149 Display some stats on the "Coding Rules" page of Quality Profiles