Common Properties
All metrics have the properties lower threshold and upper threshold. These properties define the acceptable range of values for the metric. You should examine carefully results that fall outside the acceptable range. You can modify the default thresholds to match your project’s guidelines.
The following table summarizes the default thresholds for each metric.
Metric
Default lower threshold
Default upper threshold
Accessors
0
12
All class methods
0
45
All defined classes
1
40
All dependent applications
0
20
All extended classes
0
26
All instance methods
0
250
All instance variables
0
8
All prerequisites
1
20
All subapplications
0
4
All subclasses
0
12
Class coupling
0
15
Class methods
0
6
Class response
0
60
Class variables
0
2
Cyclomatic complexity
0
6
Defined classes
1
20
Dependent applications
0
4
Depth of hierarchy
1
4
Direct variable accesses
0
0
Extended classes
0
15
Global/Pool references
0
7
Instance methods
0
25
Lines of code
1
10
Lorenz complexity
0
65
Memory size (incl. subapps)
0
75000
Memory size for applications
0
5500
Memory size for classes
0
5500
Memory size for methods
68
400
Method Density
1
8
New methods
0
15
Pool dictionaries
0
2
Prerequisites
1
3
Ratio API/internal
0
2
Ratio public/private
0
2
Refined methods
0
5
Specialization index
0
0.1
Statements
1
16
Subapplications
0
4
Subclasses
0
3
Table 14 — Default lower and upper thresholds.
Last modified date: 05/19/2020