Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since version 2.1 this plugin also brings:

  • Design metrics
    • Response For Class
    • LCOM4 groups of methods
    • Afferent and Efferent coupling
  • A simple architecture constraint rule engine
    • This engine contains a single rule that can  be duplicated.
    • It is a simple copy of the sonar java architecture rule, the main difference being that simple wildcard patterns are used instead of ant style patterns. 

This plugin relies on the NDeps tool.

...

Name

Key

Default value

Description

ndeps install directory

sonar.ndeps.installDirectory

 

Not needed in most cases.
Location of the binaries of the dependency parser tool. This tool is embedded in this sonar plugin and hence this property is not mandatory.

ndeps program timeout

sonar.ndeps.timeoutMinutes

10

Maximum number of minutes before the ndeps program will be stopped.

ndeps activation mode

sonar.ndeps.mode

 

Possible values : empty (means active), 'skip' and 'reuseReport'.

Name of the ndeps report files

sonar.ndeps.reports.path

 

Name of the ndeps report file used when reuse report mode is activated. This can be an absolute path, or a path relative to each project base directory.

Names of ignorable fields (since v2.1)sonar.ndeps.ignorable.fields Comma separated list of names of fields that should not be taken in account during LCOM4 analysis.