Research Article
An Empirical Study of Software Metrics Diversity for Cross-Project Defect Prediction
Table 2
Four types of software metrics will be involved in this paper.
| | Category | Metric description |
| | Process metrics (15-dimension) | numberOfVersionsUntil | avgLinesAddedUntil | maxLinesAddedUntil | | numberOfFixesUntil | linesRemovedUntil | maxCodeChurnUntil | | numberOfRefactoringsUntil | maxLinesRemovedUntil | avgCodeChurnUntil | | numberOfAuthorsUntil | avgLinesRemovedUntil | ageWithRespectTo | | linesAddedUntil | codeChurnUntil | weightedAgeWithRespectTo |
| | CK-OO metrics (17-dimension) | Coupling between object classes | Response for a Class | numberOfMethodsInherited | | Depth of Inheritance Tree | Weighed Methods per Class | numberOfPrivateAttributes | | Afferent Couplings | numberOfAttributes | numberOfPrivateMethods | | Efferent Couplings | numberOfAttributesInherited | numberOfPublicAttributes | | Lack of Cohesion in Methods | numberOfLinesOfCode | numberOfPublicMethods | | Number of Children | numberOfMethods | | | Structural metrics | A d-dimensional space of features (d = 32) | | Semantic metrics | A d-dimensional space of features (d = 32) |
|
|