DocumentCode :
3081471
Title :
Java quality assurance by detecting code smells
Author :
Van Emden, Eva ; Moonen, Leon
Author_Institution :
CWI, Amsterdam, Netherlands
fYear :
2002
fDate :
2002
Firstpage :
97
Lastpage :
106
Abstract :
Software inspection is a known technique for improving software quality. It involves carefully examining the code, the design, and the documentation of software and checking these for aspects that are known to be potentially problematic based on past experience. Code smells are a metaphor to describe patterns that are generally associated with bad design and bad programming practices. Originally, code smells are used to find the places in software that could benefit from refactoring. In this paper we investigate how the quality of code can be automatically assessed by checking for the presence of code smells and how this approach can contribute to automatic code inspection. We present an approach for the automatic detection and visualization of code smells and discuss how this approach can be used in the design of a software inspection tool. We illustrate the feasibility of our approach with the development of jCOSMO, a prototype code smell browser that detects and visualizes code smells in JAVA source code. Finally, we show how this tool was applied in a case study.
Keywords :
Java; program visualisation; software quality; Java; automatic code inspection; code smells; quality assurance; refactoring; software inspection; software quality; Documentation; Inspection; Java; Prototypes; Quality assurance; Software design; Software prototyping; Software quality; Software tools; Visualization;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Reverse Engineering, 2002. Proceedings. Ninth Working Conference on
ISSN :
1095-1350
Print_ISBN :
0-7695-1799-4
Type :
conf
DOI :
10.1109/WCRE.2002.1173068
Filename :
1173068
Link To Document :
بازگشت