Use of a Genetic Algorithm to Identify Source Code Metrics Which Improves Cognitive Complexity Predictive Models
Vivanco, R.
Dept. of Comput. Sci., Manitoba Univ., Winnipeg, MB;
This paper appears in: Program Comprehension, 2007. ICPC '07. 15th IEEE International Conference on
Publication Date: 26-29 June 2007
On page(s): 297-300
Location: Banff, Alberta, BC,
ISSN: 1063-6897
ISBN: 0-7695-2860-0
INSPEC Accession Number: 10290062
Digital Object Identifier: 10.1109/ICPC.2007.40
Current Version Published: 2007-07-09
Abstract
In empirical software engineering predictive models can be used to classify components as overly complex. Such modules could lead to faults, and as such, may be in need of mitigating actions such as refactoring or more exhaustive testing. Source code metrics can be used as input features for a classifier, however, there exist a large number of measures that capture different aspects of coupling, cohesion, inheritance, complexity and size. In a large dimensional feature space some of the metrics may be irrelevant or redundant. Feature selection is the process of identifying a subset of the attributes that improves a classifier's discriminatory performance. This paper presents initial results of a genetic algorithm as a feature subset selection method that enhances a classifier's ability to discover cognitively complex classes that degrade program understanding.
Index
Terms
Available to subscribers and IEEE members.
References
Available to subscribers and IEEE members.
Citing Documents
Available to subscribers and IEEE members.