Skip to content

Releases: Riverside-Software/sonar-openedge

Version 2.12.0

25 Jan 08:41
Compare
Choose a tag to compare
  • Minor modifications for inclusion in SonarQube marketplace
  • Groovy upgrade for GroovyTemplate rule

Version 2.11.1

07 Jan 11:55
Compare
Choose a tag to compare

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 and sonar.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

image

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

15 Oct 13:28
Compare
Choose a tag to compare

⚠️ Starting from version 2.9.0, you have to use SonarQube 7.6 or higher. It's strongly suggested to use the latest patch level of 7.9 (7.9.4 as of today) or 8.x (8.5 as of today).

  • 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

02 Sep 05:58
Compare
Choose a tag to compare

⚠️ Starting from version 2.9.0, you have to use SonarQube 7.6 or higher. It's strongly suggested to use the latest patch level of 7.9 (7.9.4 as of today) or 8.x (8.4.2 as of today).

  • 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

09 Jul 16:58
Compare
Choose a tag to compare
  • 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

07 Jul 13:27
Compare
Choose a tag to compare
  • Handle ampersand in include file parameter (e.g. { foo.i &my&param="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

23 Jun 12:56
Compare
Choose a tag to compare
  • 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 and ErrorHandlingDirective 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

10 Apr 06:07
Compare
Choose a tag to compare

Patch for 2.7.0, includes support for PACKAGE-PROTECTED and PACKAGE-PRIVATE keywords

Version 2.7.0

30 Mar 15:21
Compare
Choose a tag to compare
  • 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

24 Mar 07:15
Compare
Choose a tag to compare
Version 2.7 - RC1 Pre-release
Pre-release
  • 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)