Features - Riverside-Software/sonar-openedge GitHub Wiki

Standard SonarQube features can be found here. This section only describes the specific parts of the OpenEdge plugin.

Syntax highlight of DF files and ABL code

img/feature1.png img/feature5.png


Syntax tree from DF files, and lint rules

img/feature3.png

Such as tables defined with too many indexes (threshold being a custom parameter)


DF lint rules customization

img/feature4.png


Generic metrics, such as number of procedures, include files, GUI components, classes:

img/feature6.png


OpenEdge metrics, such as number of shared variables, temp-tables and datasets:

img/feature7.png


Code duplication detection, taking into account formatting differences, keyword abbreviations, comments and so on:

img/feature8-1.png img/feature8-2.png


Code coverage

img/feature9-1.png img/feature9-2.png

Keep track of every line of code, make sure that new code is tested!

:new: Code coverage is also dispatched in include files


Cross-reference (XREF) files parsing, and issues reporting:

img/feature10.png


Generation of Abstract Syntax Tree from OpenEdge procedures and classes

  • Execution of rules on AST:
  • Ability to execute custom rules on AST, and report issues in SonarQube
  • Transaction scopes in procedures and classes

img/feature11.png


Compilation warnings displayed as issues

img/feature12.png