Releases: Riverside-Software/sonar-openedge
Releases · Riverside-Software/sonar-openedge
Version 2.12.0
- Minor modifications for inclusion in SonarQube marketplace
- Groovy upgrade for GroovyTemplate rule
Version 2.11.1
SonarQube analysis
- New rules: NestedComments, RedundantCatch (#225), ClassNameCasing + ClassNoPackage, StatementOrder, DefaultImplementationForProperty (#857),
- Rules fixed: VariableAssignedButNotRead (#852), FortranOperators (#683), UnusedBuffer (#855), NoReturnInFinally (#863), StringAttribute (#861), ColonForBlock (#862),
- XML XREF filter now always active, properties
sonar.oe.filter.invalidxref
andsonar.oe.filter.invalidxref.bytes
are not needed anymore - New property
sonar.oe.issues.annotations
: no issue will be reported in code blocks using one of those annotations
SonarLint analysis (in PDSOE)
- Based on SonarLint Eclipse 5.5.1 (compatible with the latest Eclipse versions, and with the latest SonarQube versions)
- Show secondary locations in editor
Plugin developers
- Statement flow information in JPNode
- Annotations are attached to JPNode
- R/W references on Variable objects
- Development environment fully using Java 11, while keeping runtime compatibility with Java 8
Version 2.10.0
- Support for 12.3 syntax (
+=
,-=
, ...) - New rules: CompileTimeArguments (#849) and UnquotedParameterOsCommand (also #849)
- Fixed issues #839, #840, #841, #801
- New Proparse directive to skip tokens in source code: anything between
{&_proparse_ skip-section}
and{&_proparse_ skip-section-end}
is skipped. - Fixed several metrics, which were incorrect since the ANTLR4 migration
- Fixed NullPointerException introduced in 2.9 for SonarLint 5.x in standalone mode
Custom rules developers:
- Ability to register TreeParser
Version 2.9.0
- Multiple changes in Proparse, especially for preprocessor problems (issues #811, #822, #824, #836)
- Fix issue in Proparse where the beginning of a file wasn't analyzed when the parser was switching from SLL to LL mode
- Modules, allowing some files to be parsed with a different propath and DB connections
- Minor rule changes (isse #835, #832, #826, #809, #837)
Custom rules developers:
- Removed the INCLUDEDIRECTIVE_END token which was introduced in 2.8, as it brought more problems than solutions
Version 2.8.2
- Fix race condition leading to NullPointerException in RefactorSession#getAllClassesFromPackage()
- Fix false positive in HiddenVariable rule (issue #808)
- Fix NPE in multiple security rules
Version 2.8.1
- Handle ampersand in include file parameter (e.g.
{ foo.i &my¶m="something" }
) (#803) - Fix incorrect logic in rule OfLink
- Do not report variables used only as fillers for output parameters in VariableAssignedButNotRead rule
- New NestedDo rule (#477)
- New NoInitialDefaultValue rule (#514)
- New DuplicateCase rule (#800)
- Improvements on FindFirst rule (#807)
Version 2.8.1 is the last one supporting SonarQube 6.x. It's now time to upgrade to 7.9 or 8.x !
Version 2.8.0
VAR
statement support (OpenEdge 12.3)- Various improvements and bugfixes (#473, #381, #705, #716, #728, #743, #745, #792, #793)
- Various changes in built-in quality profiles: severity has been changed on multiple rules, as well as remediation cost. Rules
AvoidNoError
andErrorHandlingDirective
are removed from built-in profile. - Progress built-in classes now fully available in the grammar. RCode is also read from the entire propath.
- Fixed invalid location of Proparse directives under specific circumstances (#705)
- Compiler warnings are not reported anymore if the rule for a given warning number is not active in quality profile
For custom rules developers:
- The main class for lexing code is org.prorefactor.proparse.ABLLexer
- The main class for parsing code is still org.prorefactor.treeparser.ParseUnit
- New END_OF_INCLUDE_FILE token in the stream
- Preprocessor expressions are now available as hidden tokens in the stream
Version 2.7.1
Patch for 2.7.0, includes support for PACKAGE-PROTECTED and PACKAGE-PRIVATE keywords
Version 2.7.0
- Various AST upgrades, improved error reporting (should be less verbose, and include more useful information). Also removes the need for increased -Xss when scanning procedures / classes with thousands of statements
- Fix NullPointerException when reading rcode on v12
- StatementFlow information available from AST
- Support for security hotspots in custom rules
- Fixed problem when issues were reported on include files - Each issue is only reported once on an include file - This can result in sudden increase of your technical debt
- Added SimpleCPD implementation - See
sonar.oe.simplecpd
property in Wiki - Various bugfixes on rules
- 20 security rules (separate license for subscribers, use password reset link with your email address - SonarQube 7.3+ required)
Version 2.7 - RC1
- Various AST upgrades, improved error reporting (should be less verbose, and include more useful information). Also removes the need for increased -Xss when scanning procedures / classes with thousands of statements
- Fix NullPointerException when reading rcode on v12
- StatementFlow information available from AST
- Support for security hotspots in custom rules
- Fixed problem when issues were reported on include files - Each issue is only reported once on an include file - This can result in sudden increase of your technical debt
- Added SimpleCPD implementation - See
sonar.oe.simplecpd
property in Wiki - Various bugfixes on rules
- 20 security rules (in separate package for subscribers)