Prediction of Fault-Prone Classes Using the UML Class Diagram
نویسندگان
چکیده
Complexity is an important quality attribute. Software complexity can be measured in design phase may produce good quality product.In this paper,we measure the complexity of object-oriented system at design phase to predict the fault-prone classes.The facility to predict the fault-prone classes can provide direction for software testing and improve the efficiency of development process. We built the Naïve 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 are validated using 10fold cross validation. The performance of prediction models were evaluated by goodness of fit criteria and Receiver Operating Characteristic (ROC) investigation. Results obtained from our casestudy shows the average of models developed by design complexity can predict upto 70% faulty classes in object oriented system. It is a better an early indicator of software quality and make the software as reusable as well as maintainable.
منابع مشابه
Evaluation of Classifiers in Software Fault-Proneness Prediction
Reliability of software counts on its fault-prone modules. This means that the less software consists of fault-prone units the more we may trust it. Therefore, if we are able to predict the number of fault-prone modules of software, it will be possible to judge the software reliability. In predicting software fault-prone modules, one of the contributing features is software metric by which one ...
متن کاملOcl Formal Specification Based Metrics as a Measure of Complexity and Fault-proneness
Formal specification of UML models in OCL is essential to improve software quality. Owing to the use of OCL in precise model specification, its application has been looked in different perspectives such as early measurement of module complexity. Moreover, when UML class diagrams are complemented with OCL, the metrics collected from OCL specification can serve as an indicator of fault-prone comp...
متن کاملScience Knowledge Infrastructure Ontology 3 . 0
This report provides a partial description of the ontology for Science Knowledge Infrastructure (SKIo), an ontology that represents science knowledge primitives such as theory, prediction, geoscience model, observation. SKIo is developed to enhance digital representation and use of such knowledge in e-Science environments. It is specified in this report via a UML representation, including class...
متن کاملImplementation of UML2.0 Based Change Proneness Prediction in OO Software through Dependency
Predicting change prone class in software is a difficult software engineering process. In order to keep up with the pace of modern day expansion, change in any software is inevitable Software enhancement and defects are two main reasons for software change .In the earlier research, of predicting change prone classes the stress was given only on static characteristics rather than dynamic charact...
متن کاملInvestigating the Effect of Object-oriented Metrics on Fault Proneness Using Empirical Analysis
This paper presents an innovative metric based on a class abstraction to capture aspects of software complexity through combinations of class characteristics. The study also used software metrics effectiveness in finding the classes in different error categories for the three versions of Eclipse, the Java-based open-source Integrated Development Environment. Many studies used Logistic regressio...
متن کامل