Release notes
Target SonarQube™ Version: 4.2+. Latest version tested on SonarQube™ 5.1
Language parsing fixes
- Support: public classes inside triggers
Improvements
- reduced false positives for Hard Coded Saleforce IDs - for SFID 18 character strings, we now verify the checksum. For SFID 15 character strings, we add some assumptions
Bug fixes
- fixed: error in some scenarios where download tool failing on version 32.0 and sandboxes
- fixed: false positives for reassigning parameters when passed to a constructor with the same name
- fixed: false positive for system.assert(false, ‘message’) - according to documentation shouldn’t assert with a message
- fixed: parsing SOQL expression: “return [SELECT id from asdf where a in:(x) and (b =:x) ];”
- changed: Avoid SOQL in loops: merge in loops is ignored, as there’s no way to bulkify this
- changed: without sharing rule is ignored in test methods
- changed: sizeof soql is ignored in test methods
- fixed: false positive on unnecessary parenthesis rule