Metrics are fitness functions too
Authors:
- M. HarmanMHM. Harman
- J. ClarkJCJ. Clark
- 23 December 2004
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15301435,p. 58-69
Abstract
Metrics, whether collected statically or dynamically, and whether constructed from source code, systems or processes, are largely regarded as a means of evaluating some property of interest. This viewpoint has been very successful in developing a body of knowledge, theory and experience in the application of metrics to estimation, predication, assessment, diagnosis, analysis and improvement. This paper shows that there is an alternative, complementary, view of a metric: as a fitness function, used to guide a search for optimal or near optimal individuals in a search space of possible solutions. This 'Metrics as Fitness Functions' (MAFF) approach offers a number of additional benefits to metrics research and practice because it allows metrics to be used to improve software as well as to assess it and because it provides an additional mechanism of metric analysis and validation. This paper presents a brief survey of search-based approaches and shows how metrics have been combined with the search based techniques to improve software systems. It describes the properties of a metric which make it a good fitness function and explains the benefits for metric analysis and validation which accrue from the MAFF approach.Keywords
This publication has 38 references indexed in Scilit:
- GAVEL - a new tool for genetic algorithm visualizationIEEE Transactions on Evolutionary Computation, 2001
- A validation of the component-based method for software size estimationIEEE Transactions on Software Engineering, 2000
- A Strategy for using Genetic Algorithms to Automate Branch and Fault-based TestingThe Computer Journal, 1998
- Estimating software project effort using analogiesIEEE Transactions on Software Engineering, 1997
- Generic Representation of Solid‐Object Geometry for Genetic SearchComputer-Aided Civil and Infrastructure Engineering, 1996
- Automatic structural testing using genetic algorithmsSoftware Engineering Journal, 1996
- A critique of three metricsJournal of Systems and Software, 1994
- Software measurement: a necessary scientific basisIEEE Transactions on Software Engineering, 1994
- Reverse Engineering through Formal Transformation: Knuth's 'Polynomial Addition' AlgorithmThe Computer Journal, 1994
- Fuzzy control of an exothermic chemical reaction using genetic algorithmsEngineering Applications of Artificial Intelligence, 1993