Research Article

Research on Cross-Company Defect Prediction Method to Improve Software Security

Table 4

The metrics in PROMISE datasets.

IDFeatureDescription

1wmcWeighted methods per class
2ditDepth of inheritance tree
3nocNumber of children
4cboCoupling between object classes
5rfcResponse for a class
6lcomLack of cohesion in methods
7caAfferent couplings
8ceEfferent couplings
9npmNumber of public methods
10Lcom3Lack of cohesion in methods, different from LCOM
11locLines of code
12damData access metric
13moaMeasure of aggregation
14mfaMeasure of functional abstraction
15camCohesion among methods of class
16icInheritance coupling
17cbmCoupling between methods
18amcAverage method complexity
19max_ccMaximum McCabe’s cyclomatic complexity
20avg_ccAverage McCabe’s cyclomatic complexity