DocumentCode
2086053
Title
An analogy-based approach for predicting design stability of Java classes
Author
Grosser, David ; Sahraoui, Houari A. ; Valtchev, Petko
Author_Institution
DIRO, Montreal Univ., Que., Canada
fYear
2003
fDate
3-5 Sept. 2003
Firstpage
252
Lastpage
262
Abstract
Predicting stability in object-oriented (OO) software, i.e., the ease with which a software item evolves while preserving its design, is a key feature for software maintenance. In fact, a well designed OO software must be able to evolve without violating the compatibility among versions, provided that no major requirement reshuffling occurs. Stability, like most quality factors, is a complex phenomenon and its prediction is a real challenge. We present an approach, which relies on the case-based reasoning (CBR) paradigm and thus overcomes the handicap of insufficient theoretical knowledge on stability. The approach explores structural similarities between classes, expressed as software metrics, to guess their chances of becoming unstable. In addition, our stability model binds its value to the impact of changing requirements, i.e., the degree of class responsibilities increase between versions, quantified as the stress factor. As a result, the prediction mechanism favours the stability values for classes having strong structural analogies with a given test class as well as a similar stress impact. Our predictive model is applied on a testbed made up of the classes from four major version of the Java API.
Keywords
Java; application program interfaces; case-based reasoning; learning (artificial intelligence); object-oriented programming; software maintenance; software metrics; software quality; software reliability; Java API; Java class; analogy-based estimation; case-based reasoning; decision tree; machine learning; object-oriented software; software maintenance; software metrics; software quality prediction; stability predictive model; Java; Object oriented modeling; Predictive models; Q factor; Software design; Software maintenance; Software metrics; Stability; Stress; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Metrics Symposium, 2003. Proceedings. Ninth International
ISSN
1530-1435
Print_ISBN
0-7695-1987-3
Type
conf
DOI
10.1109/METRIC.2003.1232472
Filename
1232472
Link To Document