I tried to create an exact copy of of our default SonarQube quality profile by clicking on the "Copy" link in the "Quality Profiles" page, but some of the rules are not copied. We use SonarQube version 4.5.6 and the profile I tried to copy does not inherit from any other profiles.
According to the SonarQube documentation, the new profile is an exact copy of the original profile, including inheritance (parent) relationships. However, my copied profile is missing the following 9 rules out of 487 and I don't see any reason why (they are all 'checkstyle' rules, but there's many more with the same label that got copied correctly):
- Boolean Expression Complexity (checkstyle)
- Comment pattern matcher (checkstyle)
- Constant Name (checkstyle)
- Hidden Field (checkstyle)
- Inner Assignment (checkstyle)
- Local Variable Name (checkstyle)
- Magic Number (checkstyle)
- Member name (checkstyle)
- Static Variable Name (checkstyle)