LDFR : Learning deep feature representation for software defect prediction
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review
Author(s)
Related Research Unit(s)
Detail(s)
Original language | English |
---|---|
Article number | 110402 |
Journal / Publication | Journal of Systems and Software |
Volume | 158 |
Online published | 2 Sept 2019 |
Publication status | Published - Dec 2019 |
Link(s)
Abstract
Software Defect Prediction (SDP) aims to detect defective modules to enable the reasonable allocation of testing resources, which is an economically critical activity in software quality assurance. Learning effective feature representation and addressing class imbalance are two main challenges in SDP. Ideally, the more discriminative the features learned from the modules and the better the rescue performed on the imbalance issue, the more effective it should be in detecting defective modules. In this study, to solve these two challenges, we propose a novel framework named LDFR by Learning Deep Feature Representation from the defect data for SDP. Specifically, we use a deep neural network with a new hybrid loss function that consists of a triplet loss to learn a more discriminative feature representation of the defect data and a weighted cross-entropy loss to remedy the imbalance issue. To evaluate the effectiveness of the proposed LDFR framework, we conduct extensive experiments on a benchmark dataset with 27 defect data (each with three types of features), using three traditional and three effort-aware indicators. Overall, the experimental results demonstrate the superiority of our LDFR framework in detecting defective modules when compared with 27 baseline methods, except in terms of the indicator of Precision.
Research Area(s)
- Deep feature representation, Deep neural network, Software defect prediction, Triplet loss, Weighted cross-entropy loss
Citation Format(s)
LDFR: Learning deep feature representation for software defect prediction. / Xu, Zhou; Li, Shuai; Xu, Jun et al.
In: Journal of Systems and Software, Vol. 158, 110402, 12.2019.
In: Journal of Systems and Software, Vol. 158, 110402, 12.2019.
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review