A Novel Approach for Software Defect Prediction Using Fuzzy Decision Trees

Author(s):  
Zsuzsanna Marian ◽  
Ioan-Gabriel Mircea ◽  
Istvan-Gergely Czibula ◽  
Gabriela Czibula
2020 ◽  
Vol 10 (5) ◽  
pp. 1892
Author(s):  
Junhua Ren ◽  
Feng Liu

Power law describes a common behavior in which a few factors play decisive roles in one thing. Most software defects occur in very few instances. In this study, we proposed a novel approach that adopts power law function characteristics for software defect prediction. The first step in this approach is to establish the power law function of the majority of metrics in a software system. Following this, the power law function’s maximal curvature value is applied as the threshold value for determining higher metric values. Furthermore, the total number of higher metric values is counted in each instance. Finally, the statistical data are clustered into different categories as defect-free and defect-prone instances. Case studies and a comparison were conducted based on twelve public datasets of Promise, SoftLab, and ReLink by using five different algorithms. The results indicate that the precision, recall, and F-measure values obtained by the proposed approach are the most optimal among the tested five algorithms, the average values of recall and F-measure were improved by 14.3% and 6.0%, respectively. Furthermore, the complexity of the proposed approach based on the power law function is O ( 2 n ) , which is the lowest among the tested five algorithms. The proposed approach is thus demonstrated to be feasible and highly efficient at software defect prediction with unlabeled datasets.


Symmetry ◽  
2020 ◽  
Vol 12 (3) ◽  
pp. 407 ◽  
Author(s):  
Kiran Kumar Bejjanki ◽  
Jayadev Gyani ◽  
Narsimha Gugulothu

Software defect prediction (SDP) is the technique used to predict the occurrences of defects in the early stages of software development process. Early prediction of defects will reduce the overall cost of software and also increase its reliability. Most of the defect prediction methods proposed in the literature suffer from the class imbalance problem. In this paper, a novel class imbalance reduction (CIR) algorithm is proposed to create a symmetry between the defect and non-defect records in the imbalance datasets by considering distribution properties of the datasets and is compared with SMOTE (synthetic minority oversampling technique), a built-in package of many machine learning tools that is considered a benchmark in handling class imbalance problems, and with K-Means SMOTE. We conducted the experiment on forty open source software defect datasets from PRedict or Models in Software Engineering (PROMISE) repository using eight different classifiers and evaluated with six performance measures. The results show that the proposed CIR method shows improved performance over SMOTE and K-Means SMOTE.


Author(s):  
Misha Kakkar ◽  
Sarika Jain ◽  
Abhay Bansal ◽  
P.S. Grover

Introduction : The Software defect prediction (SDP) model plays a very important role in today’s software industry. SDP models can provide either only a list of defect-prone classes as output or the number of defects present in each class. This output can then be used by quality assurance teams to effectively allocate limited resources for validating software products by putting more effort into these defect-prone classes.The study proposes an OANFIS-SDP model that gives the number of defects as an output to software development teams. Development teams can then use this data for better allocation for their scares resources such as time and manpower. Method: OANFIS is a novel approach based on the Adaptive neuro-fuzzy inference system (ANFIS), which is optimized using Particle swarm optimization (PSO). OANFIS model combines the flexibility of ANFIS model with the optimization capabilities of PSO for better performance. Results: The proposed model is tested using the dataset from open source java projects of varied sizes (from 176 to 745 classes). Conclusion: The study proposes an SDP model based OANFIS that gives the number of defects as an output to software development teams. Development teams can then use this data for better allocation for their scares resources such as time and manpower. OANFIS is a novel approach that uses the flexibility provided by the ANFIS model and optimizes the same using PSO. The results given by OANFIS are very good and it can also be concluded that the performance of the SDP model based on OANFIS might be influenced by the size of projects. Discussion: The performance of the SDP model based on OANFIS is better than the ANFIS model. It can also be concluded that the performance of the SDP model might be influenced by the size of projects.


2011 ◽  
Vol 34 (6) ◽  
pp. 1148-1154 ◽  
Author(s):  
Hui-Yan JIANG ◽  
Mao ZONG ◽  
Xiang-Ying LIU

2019 ◽  
Vol 28 (5) ◽  
pp. 925-932
Author(s):  
Hua WEI ◽  
Chun SHAN ◽  
Changzhen HU ◽  
Yu ZHANG ◽  
Xiao YU

Sign in / Sign up

Export Citation Format

Share Document