Skip to content

Features

Gilles QUERRET edited this page Sep 27, 2016 · 9 revisions

Features

Standard SonarQube features are available here. This section only describes the specific parts of the OpenEdge plugin.

Syntax highlight of DF file content:

img/feature1.png

Metrics, such as number of tables, indexes, fields, sequences:

img/feature2.png

Generation of Abstract Syntax Tree from the DF file

Execution of rules on AST, such as: Character fields defined with a default SQL width Field naming based on regular expressions Too many indexes on a table img/feature3.png

Ability to add custom rules and report issues in SonarQube

img/feature4.png

Syntax highlight of OpenEdge keywords:

img/feature5.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.png

Code coverage, in order to keep track of what unit tests are really testing:

img/feature9.png

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

Clone this wiki locally