Title :
Predict fault-prone classes using the complexity of UML class diagram
Author_Institution :
Dept. of Comput. Sci., STMIK Mikroskil, Medan, Indonesia
Abstract :
Complexity is an important attribute to determine the software quality. Software complexity can be measured during the design phase before implementation of system. At the design phase, UML class diagram is the important diagram to show the relationships among the classes of objects in the system. In this paper, we measure the complexity of object-oriented software at design phase to predict the fault-prone classes. The ability to predict the fault-prone classes can provide guidance for software testing and improve the effectiveness of development process. We constructed the Naive Bayesian and k-Nearest Neighbors model to find the relationship between the design complexity and fault-proneness. The proposed models are empirically evaluated using four version of JEdit. The models had been validated using 10-fold cross validation. The performance of prediction models were evaluated by goodness-of-fit criteria and Receiver Operating Characteristic (ROC) analysis. Results obtained from our case study showed the average of models developed by design complexity can predict up to 70% fault-prone classes in object oriented software. It is a better an early indicator of software quality.
Keywords :
Unified Modeling Language; learning (artificial intelligence); object-oriented methods; program testing; software fault tolerance; software quality; 10-fold cross validation; JEdit; ROC analysis; UML class diagram; Unified Modeling Language; fault-prone classes prediction; goodness-of-fit criteria; k-nearest neighbors model; naive Bayesian model; object-oriented software; receiver operating characteristic analysis; software complexity; software development process; software quality; software testing; Bayes methods; Complexity theory; Measurement; Object oriented modeling; Predictive models; Software; Unified modeling language; Class Diagram; complexity; fault-prone; object oriented software; software metrics;
Conference_Titel :
Computer, Control, Informatics and Its Applications (IC3INA), 2013 International Conference on
Conference_Location :
Jakarta
DOI :
10.1109/IC3INA.2013.6819188