SpecificProperties
Some metrics have properties specific to that metric. The following tables summarize the properties for those metrics and the default value for the property. You can customize any of these property values.
Class coupling
Property
Description
Default value
Classes to ignore
classes that should not be considered as coupled
#AdditiveSequenceableCollec...
 
Lorenz complexity
Property
Description
Default value
API calls weight
The weight given to the number of API calls. (API calls are calls to platform functions.)
5.0
Assignments weight
the weight given to the number of assignments
0.5
Binary expressions weight
the weight given to the number of binary expressions
2.0
Keyword expressions weight
the weight given to the number of keyword expressions
3.0
Nested expressions weight
the weight given to the number of nested expressions
0.5
Parameters weight
the weight given to the number of method arguments
0.3
Primitive calls weight
The weight given to the number of primitive calls. (Primitive calls are methods that call virtual-machine primitives.)
7.0
Temporaries weight
the weight given to the number of temporary variables
0.5
Unary expressions weight
the weight given to the number of unary expressions
1.0
 
Ratio API/internal
Property
Description
Default value
API categories
the patterns of API categories
'*API*'
Internal categories
the patterns of internal categories
'*Internal*'
Table 15 — Specific metric properties.
Last modified date: 05/19/2020