Software defect prediction(SDP)is an active research field in software engineering to identify defect-prone modules.Thanks to SDP,limited testing resources can be effectively allocated to defect-prone modules.Although...Software defect prediction(SDP)is an active research field in software engineering to identify defect-prone modules.Thanks to SDP,limited testing resources can be effectively allocated to defect-prone modules.Although SDP requires sufficient local data within a company,there are cases where local data are not available,e.g.,pilot projects.Companies without local data can employ cross-project defect prediction(CPDP)using external data to build classifiers.The major challenge of CPDP is different distributions between training and test data.To tackle this,instances of source data similar to target data are selected to build classifiers.Software datasets have a class imbalance problem meaning the ratio of defective class to clean class is far low.It usually lowers the performance of classifiers.We propose a Hybrid Instance Selection Using Nearest-Neighbor(HISNN)method that performs a hybrid classification selectively learning local knowledge(via k-nearest neighbor)and global knowledge(via na/ve Bayes).Instances having strong local knowledge are identified via nearest-neighbors with the same class label.Previous studies showed low PD(probability of detection)or high PF(probability of false alarm)which is impractical to overall performance as well as high PD and low PF.use.The experimental results show that HISNN produces high overall performance as well as high PD and low PF.展开更多
基金supported by the National Research Foundation of Korea(NRF)grant funded by the Korea government(Ministry of Science,ICT and Future Planning(MSIP))under Grant No.NRF-2013R1A1A2006985Institute for Information&Communications Technology Promotion(I'TP)grant funded by the Korea government(MSIP)under Grant No.R0101-15-0144Development of Autonomous Intelligent Collaboration Framework for Knowledge Bases and Smart D'evtsa veous·
文摘Software defect prediction(SDP)is an active research field in software engineering to identify defect-prone modules.Thanks to SDP,limited testing resources can be effectively allocated to defect-prone modules.Although SDP requires sufficient local data within a company,there are cases where local data are not available,e.g.,pilot projects.Companies without local data can employ cross-project defect prediction(CPDP)using external data to build classifiers.The major challenge of CPDP is different distributions between training and test data.To tackle this,instances of source data similar to target data are selected to build classifiers.Software datasets have a class imbalance problem meaning the ratio of defective class to clean class is far low.It usually lowers the performance of classifiers.We propose a Hybrid Instance Selection Using Nearest-Neighbor(HISNN)method that performs a hybrid classification selectively learning local knowledge(via k-nearest neighbor)and global knowledge(via na/ve Bayes).Instances having strong local knowledge are identified via nearest-neighbors with the same class label.Previous studies showed low PD(probability of detection)or high PF(probability of false alarm)which is impractical to overall performance as well as high PD and low PF.use.The experimental results show that HISNN produces high overall performance as well as high PD and low PF.