Towards the Optimization of Automatic Detection of Design Flaws in Object-Oriented Software Systems
Authors:
- 31 March 2005
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15345351,p. 92-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 repeat-able 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
This publication has 7 references indexed in Scilit:
- Detection strategies: metrics-based rules for detecting design flaws2004
- Software aging2002
- Genetic Algorithms + Data Structures = Evolution Programs1996
- Cohesion and reuse in an object-oriented system1995
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994
- Early life-cycle metrics and software quality modelsInformation and Software Technology, 1990
- The TAME project: towards improvement-oriented software environmentsIEEE Transactions on Software Engineering, 1988