Skip to content

Features

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

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

Syntax highlight of DF file content:

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

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

Ability to add custom rules and report issues in SonarQube

Syntax highlight of OpenEdge keywords:

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

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

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:

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

Compilation warnings displayed as issues:

Clone this wiki locally