DocumentCode
2705659
Title
Towards the Optimization of Automatic Detection of Design Flaws in Object-Oriented Software Systems
Author
Mihancea, Petru Florin ; Marinescu, Radu
Author_Institution
LOOSE Res. Group, Timisoara Univ., Romania
fYear
2005
fDate
21-23 March 2005
Firstpage
92
Lastpage
101
Abstract
In order to increase the maintainability and the flexibility of a software, its design and implementation quality must be properly assessed. For this purpose a large number of metrics and several higher-level mechanisms based on metrics are defined in literature. But the accuracy of these quantification means is heavily dependent on the proper selection of threshold values, which is oftentimes totally empirical and unreliable. In this paper we present a novel method for establishing proper threshold values for metrics-based rules used to detect design flaws in object-oriented systems. The method, metaphorically called "tuning machine", is based on inferring the threshold values based on a set of reference examples, manually classified in "flawed" respectively "healthy" design entities (e.g., classes, methods). More precisely, the "tuning machine" searches, based on a genetic algorithm, for those thresholds which maximize the number of correctly classified entities. The paper also defines a repeatable process for collecting examples, and discusses the encouraging and intriguing results while applying the approach on two concrete metrics-based rules that quantify two well-known design flaws i.e., "God Class" and "Data Class".
Keywords
genetic algorithms; object-oriented programming; program debugging; software maintenance; software metrics; design flaws detection; genetic algorithm; metrics-based rules; object-oriented software system; optimization; threshold values; tuning machines; Computer bugs; Concrete; Costs; Design optimization; Genetic algorithms; Software design; Software maintenance; Software metrics; Software quality; Software systems; design flaws; metrics; object-oriented design; threshold;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Reengineering, 2005. CSMR 2005. Ninth European Conference on
ISSN
1534-5351
Print_ISBN
0-7695-2304-8
Type
conf
DOI
10.1109/CSMR.2005.53
Filename
1402118
Link To Document