Release notes
Target SonarQube™ Version: 4.2+
Language parsing fixes
- Support syntax:
upsert <object> <external id>
- Support
merge
keyword for DML - Support operators containing spaces. For example
‘> > =’
- Support OutputLabel ‘for’. This syntax now works:
Component.Apex.OutputLabel lbl=…; lbl.for = …;
- Fix explicit constructors regression (calling super)
Features
- Swapped to using Force-Versions for downloading source code [rc3]
- Support for oauth for code download and test running [rc3]
New rules
- Direct access to Trigger array. For example
Trigger.new[1]
- Controller Naming. Controllers should be named BlahController
- Comment Content.
- VisualForce XPathRule has been added
Bug Fixes
- fixed false positives on DML WithSharing rule
- Fixed Force-Versions to work with newer versions of Git
Improvements
- Improved UselessOperationOnImmutable rule. Was missing some typical immutable objects
- Improved symbol resolution. This should help the Future method in loop rule and other full symbol resolution rules
- Various SonarQube™ 4.5 deprecation fixes
- Improved Settings page layout
- Support http proxy. Use
http.proxyHost/http.proxyPort
andhttp.proxyUser/http.proxyPassword
(RC-3)
Other
- Switched to Java 1.6