DocumentCode
2024596
Title
Product Metrics for Automatic Identification of "Bad Smell" Design Problems in Java Source-Code
Author
Munro, Matthew James
Author_Institution
University of Strathclyde
fYear
2005
fDate
19-22 Sept. 2005
Firstpage
15
Lastpage
15
Abstract
Refactoring can have a direct influence on reducing the cost of software maintenance through changing the internal structure of the source-code to improve the overall design that helps the present and future programmers evolve and understand a system. Bad smells are a set of design problems with refactoring identified as a solution. Locating these bad smells has been described as more a human intuition than an exact science. This paper addresses the issue of identifying the characteristics of a bad smell through the use of a set of software metrics. Then by using a pre-defined set of interpretation rules to interpret the software metric results applied to Java source-code, the software engineer can be provided with significant guidance as to the location of bad smells. These issues are addressed in a number of ways. Firstly, a precise definition of bad smells is given from the informal descriptions given by the originators Fowler and Beck. The characteristics of the bad smells have been used to define a set of measurements and interpretation rules for a subset of the bad smells. A prototype tool has been implemented to enable the evaluation of the interpretation rules in two case studies.
Keywords
Object-Oriented Designs; Refactoring; Software Metrics; Application software; Costs; Humans; Java; Programming profession; Prototypes; Software design; Software maintenance; Software metrics; Software prototyping; Object-Oriented Designs; Refactoring; Software Metrics;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Metrics, 2005. 11th IEEE International Symposium
ISSN
1530-1435
Print_ISBN
0-7695-2371-4
Type
conf
DOI
10.1109/METRICS.2005.38
Filename
1509293
Link To Document