Collaborative Identification of Code Smells: A Multi-Case Study
Authors:
- Roberto OliveiraRORoberto Oliveira
- Leonardo SousaLSLeonardo Sousa
- Rafael de MelloRMRafael de Mello
- Natasha ValentimNVNatasha Valentim
- Adriana LopesALAdriana Lopes
- Tayana ConteTCTayana Conte
- Alessandro GarciaAGAlessandro Garcia
- Edson OliveiraEOEdson Oliveira
- Carlos LucenaCLCarlos Lucena
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 33-42
Abstract
Code smells are anomalous program structures that may indicate software maintainability problems. God Classes and Feature Envies are examples of code smells that frequently become the target of software refactoring. However, smell identification might be harder than expected due to the subjectivity involved in the recognition of the apparently simple structure of each smell. Moreover, smell identification might require the knowledge of multiple program elements, which are better understood by different developers. Thus, the use of collaboration among developers may have the potential to improve effectiveness on smell identification. However, current knowledge, especially empirically developed and evaluated in the industry, is quite scarce. This paper reports an industrial case study aimed at observing how 13 developers individually and collaboratively performed smell identification in five software projects from two software development organizations. Our results suggest that collaboration contributes to improving effectiveness on the identification of a wide range of code smells. We also analyzed the factors contributing to such effectiveness improvement.Keywords
This publication has 12 references indexed in Scilit:
- Does refactoring improve software structural quality? A longitudinal study of 25 projects2016
- Identifying Code Smells with Collaborative Practices: A Controlled Experiment2016
- An experimental investigation on the innate relationship between quality and refactoringJournal of Systems and Software, 2015
- Detecting architecturally-relevant code anomalies2014
- Exploring the impact of inter-smell relations on software maintainability: An empirical study2013
- On the Relevance of Code Anomalies for Identifying Architecture Degradation Symptoms2012
- Seven habits of a highly effective smell detector2008
- The Effect of Pairs in Program Design TasksIEEE Transactions on Software Engineering, 2008
- An experiment on subjective evolvability evaluation of object-oriented software: explaining factors and interrater agreement2005
- Software maintenance and evolution2000