Title :
Bad smells - humans as code critics
Author :
Mäntylä, Mika V. ; Vanhanen, Jari ; Lassenius, Casper
Author_Institution :
Software Bus. & Eng. Inst., Helsinki Univ. of Technol., Finland
Abstract :
This work presents the results of an initial empirical study on the subjective evaluation of bad code smells, which identify poor structures in software. Based on a case study in a Finnish software product company, we make two contributions. First, we studied the evaluator effect when subjectively evaluating the existence of smells in code modules. We found that the use of smells for code evaluation purposes is hard due to conflicting perceptions of different evaluators. Second, we applied source code metrics for identifying three smells and compared these results to the subjective evaluations. Surprisingly, the metrics and smell evaluations did not correlate.
Keywords :
program diagnostics; software houses; software metrics; software performance evaluation; Finnish software product company; bad code smell; code evaluation; code modules; poor software structures; source code metrics; subjective evaluation; Companies; Current measurement; Internet; Programming; Quality assessment; Software design; Software maintenance; Software measurement; Software quality; Software tools;
Conference_Titel :
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
Print_ISBN :
0-7695-2213-0
DOI :
10.1109/ICSM.2004.1357825