Please use this identifier to cite or link to this item:
http://dspace.dtu.ac.in:8080/jspui/handle/repository/14498
Title: | EMPIRICAL ASSESSMENT OF CODE SMELLS FOR PREDICTING SOFTWARE CHANGE PRONENESS |
Authors: | PRITAM, NAKUL |
Keywords: | CODE SMELLS CHANGE PRONENESS |
Issue Date: | Mar-2016 |
Series/Report no.: | TD NO.1130; |
Abstract: | Poor design choices called anti-patterns manifest themselves in the source code as code smells. Code smell is a synonym for bad implementation and is assumed to make maintenance tasks difficult to perform. In our previous study we validated the fact that it is possible to determine the degree of changeproneness for a class on the basis of certain code smells in an object-oriented system. The data used for the assessment was source code of Quartz, an open source job scheduler, from two versions 1.5.2 and 1.6.6. A total of 79 classes were examined and the results suggested a clear relationship between code smells and change proneness of a class. The dataset we used was very small to reach a strong conclusion so we extended our previous work by examining a dataset consisting of 4120 classes spanning 14 software systems. The dataset is created by preprocessing the class files that included removal of classes not common to both versions of the systems used. This was followed by assessment of code smells which was done on the basis of metrics. The dataset finally derived was then analyzed using Machine Learning Methods and the results suggest that code smells can classify a change prone class with a probability of .7 or more and a not change prone class with a probability of .67 or more using Multilayer Perceptron model. |
URI: | http://dspace.dtu.ac.in:8080/jspui/handle/repository/14498 |
Appears in Collections: | M.E./M.Tech. Computer Engineering |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
nakulfinal.pdf | 3.69 MB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.