Research Article
Research on Cross-Company Defect Prediction Method to Improve Software Security
Table 4
The metrics in PROMISE datasets.
| | ID | Feature | Description |
| | 1 | wmc | Weighted methods per class | | 2 | dit | Depth of inheritance tree | | 3 | noc | Number of children | | 4 | cbo | Coupling between object classes | | 5 | rfc | Response for a class | | 6 | lcom | Lack of cohesion in methods | | 7 | ca | Afferent couplings | | 8 | ce | Efferent couplings | | 9 | npm | Number of public methods | | 10 | Lcom3 | Lack of cohesion in methods, different from LCOM | | 11 | loc | Lines of code | | 12 | dam | Data access metric | | 13 | moa | Measure of aggregation | | 14 | mfa | Measure of functional abstraction | | 15 | cam | Cohesion among methods of class | | 16 | ic | Inheritance coupling | | 17 | cbm | Coupling between methods | | 18 | amc | Average method complexity | | 19 | max_cc | Maximum McCabe’s cyclomatic complexity | | 20 | avg_cc | Average McCabe’s cyclomatic complexity |
|
|