Research Article

Software Defect Prediction Based on Elman Neural Network and Cuckoo Search Algorithm

Table 3

Description of object-oriented metrics.

VariableDescription

CK suite (6)
wmcWeighted methods per class
DicDepth of inheritance tree
NocNumber of children
CboCoupling between object classes
rfcResponse for a class
LcomLack of cohesion in methods

Martins metrics (2)
CaAfferent couplings
CeEfferent couplings

QMOOM suite (5)
npmNumber of public methods
damData access metric
MoaMeasure of functional abstraction
MfaMeasure of aggregation
camCohesion among methods

Extended CK suite (5)
IcInheritance coupling
CbmCoupling between methods
AmcAverage method complexity
lcom3Normalized version of LCON

McCabe’s CC (2)
max_ccMaximum values of methods in the same class
avg_ccMean values of methods in the same class
LocLines of code
BugNonbuggy or buggy