Back close

Detecting Shotgun Surgery Bad Smell using Similarity Measure Distribution Model

Publication Type : Journal Article

Source : Asian Journal of Information Technology, vol. 15, no. 17, pp. 3205-3216

Url : https://www.researchgate.net/publication/313399782_Detecting_shotgun_surgery_bad_smell_using_similarity_measure_distribution_model

Campus : Chennai

School : School of Computing

Department : Computer Science and Engineering

Verified : No

Abstract : Bad smells are the symptoms of code decay which leads to the severe maintenance problem. Shotgun surgery is a smell where a change in a class may cause many small changes to other different classes. There are several approaches that identify bad smells based upon the definition of rules and change history information. These rules are the combination of software metrics and threshold values which sometimes not able to detect the code decay such as shotgun surgery. Since, it is difficult to find the best threshold value for rule based detection and also finding the best combination of metrics from the historical information seems to be difficult. To detect the shotgun surgery, the co-change should be feasible. In that case, the need for having sufficient history of observable co-changes, without which the approach of change history is not possible. Therefore these techniques cannot report the accurate instance of smells to detect the shotgun surgery bad smell. So as an alternate, in this study, a framework similarity measure distribution model for detecting shotgun surgery bad smell for object oriented program without the need for change history information is proposed. The framework is experimented on HSQLDB, TYRANT, XERCES-J and JFREE CHART open source software's and compared to the bad smell detection tools namely, in Fusion and iPlasma in terms of precision and recall. From the results it is inferred that the shotgun surgery can be detected more accurately using this proposed approach. The proposed framework improves the maintainability by detecting the bad smell shotgun surgery.

Cite this Research Publication : Saranya, G, Khanna Nehemiah, H, Kannan, A& Vimala, S 2016, ‘Detecting Shotgun Surgery Bad Smell using Similarity Measure Distribution Model’, Asian Journal of Information Technology, vol. 15, no. 17, pp. 3205-3216.

Admissions Apply Now