Metrics are fitness functions too

被引:74
作者
Harman, M [1 ]
Clark, J [1 ]
机构
[1] Brunel Univ, Uxbridge UB8 3PH, Middx, England
来源
10TH INTERNATIONAL SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS | 2004年
关键词
D O I
10.1109/METRIC.2004.1357891
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:58 / 69
页数:12
相关论文
共 66 条
[1]   An evolutionary approach to estimating software development projects [J].
Aguilar-Ruiz, JS ;
Ramos, I ;
Riquelme, JC ;
Toro, M .
INFORMATION AND SOFTWARE TECHNOLOGY, 2001, 43 (14) :875-882
[2]  
Aho Alfred V., 1986, ADDISON WESLEY SERIE
[3]  
[Anonymous], STRUCTURED DESIGN
[4]  
[Anonymous], 1989, GENETIC ALGORITHM SE
[5]  
[Anonymous], 1975, MYTHICAL MAN MONTH E
[6]  
[Anonymous], 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
[7]  
[Anonymous], 1995, FDN SOFTWARE MEASURE
[8]  
[Anonymous], 1987, SIMULATED ANNEALING
[9]  
BABOVIC V, 1998, P 1 INT C NEW INF TE, P875
[10]  
Back T., 1996, EVOLUTIONARY ALGORIT