• DocumentCode
    1929705
  • Title

    Metrics are fitness functions too

  • Author

    Harman, Mark ; Clark, John

  • Author_Institution
    Brunel Univ., Uxbridge, UK
  • fYear
    2004
  • fDate
    14-16 Sept. 2004
  • Firstpage
    58
  • Lastpage
    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
    genetic algorithms; program verification; software metrics; software process improvement; fitness function; search-based software engineering; software metrics; software validation; Application software; Extraterrestrial measurements; Genetic algorithms; Heart; Research and development; Software engineering; Software metrics; Software systems; Visualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Metrics, 2004. Proceedings. 10th International Symposium on
  • ISSN
    1530-1435
  • Print_ISBN
    0-7695-2129-0
  • Type

    conf

  • DOI
    10.1109/METRIC.2004.1357891
  • Filename
    1357891