Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1159733.1159738acmconferencesArticle/Chapter ViewAbstractPublication PagesesemConference Proceedingsconference-collections
Article

Predicting fault-prone components in a java legacy system

Published: 21 September 2006 Publication History

Abstract

This paper reports on the construction and validation of faultproneness prediction models in the context of an object-oriented, evolving, legacy system. The goal is to help QA engineers focus their limited verification resources on parts of the system likely to contain faults. A number of measures including code quality, class structure, changes in class structure, and the history of class-level changes and faults are included as candidate predictors of class fault-proneness. A cross-validated classification analysis shows that the obtained model has less than 20% of false positives and false negatives, respectively. However, as shown in this paper, statistics regarding the classification accuracy tend to inflate the potential usefulness of the fault-proneness prediction models. We thus propose a simple and pragmatic methodology for assessing the costeffectiveness of the predictions to focus verification effort. On the basis of the cost-effectiveness analysis we show that change and fault data from previous releases is paramount to developing a practically useful prediction model. When our model is applied to predict faults in a new release, the estimated potential savings in verification effort is about 29%. In contrast, the estimated savings in verification effort drops to 0% when history data is not included.

References

[1]
B. Boehm, "Value-Based Software Engineering," ACM Software Engineering Notes, 28(2), 2003, 1--12.
[2]
L. C. Briand and J. Wuest, "Empirical Studies of Quality Models in Object-Oriented Systems," Advances in Computers, 59, 2002, 97--166.
[3]
L. C. Briand, S. Morasca, and V. R. Basili, "Property-based Software Engineering Measurement," IEEE Trans. on Software Eng., 22(1), 1996, 68--85.
[4]
M. Cartwright and M. Shepperd, "An Empirical Investigation of an Object-Oriented Software System," IEEE Trans. on Software Eng., 26(8), 2000, 786--796.
[5]
S. R. Chidamber, D. P. Darcy, and C. F. Kemerer, "Managerial Use of Metrics for Object-Oriented Software: An Exploratory Analysis," IEEE Trans. on Software Eng., 24(8), 1998, 629--637.
[6]
R. J. Freund and W. J. Wilson, Regression Analysis: statistical modeling of a response variable: Academic Press, 1998.
[7]
T. L. Graves, A. F. Karr, J. S. Marron, and H. Siy, "Predicting Fault Incidence Using Software Change History," IEEE Trans. on Software Eng., 26(7), 2000, 653--661.
[8]
R. Harrison, S. Counsell, and R. Nithi, "Experimental Assessment of the Effect of Inheritance on the Maintainability of Object-Oriented Systems," Journal of Systems and Software, 52(2-3), 2000, 173--179.
[9]
K. F. Hirji, C. R. Mehta, and N. R. Patel, "Computing Distributions for Exact Logistic Regression," JASA, 82, 1987, 1110--1117.
[10]
JHawk, http://www.virtualmachinery.com/jhawkprod.htm.
[11]
K. Kvam, R. Lie, and D. Bakkelund, "Legacy system exorcism by Pareto's principle," proc. OOPSLA'05, pp. 250--256.
[12]
A. Mockus and D. M. Weiss, "Predicting Risk of Software Changes," Bell Labs Technical Journal, April-June 2000, 169--180.
[13]
A. P. Nikora and J. C. Munson, "Developing fault predictors for evolving software systems," proc. METRICS'03, 2003, pp. 338--350.
[14]
M. C. Ohlson, A. Amschler Andrews, and C. Wohlin, "Modelling fault-proneness statistically over a sequence of releases: a case study," Journal of Software Maintenance and Evolution: Research and Practice, 13, 2001, 167--199.
[15]
J. Tian, Software Quality Engineering. Wiley, 2005.
[16]
XRadar, http://xradar.sourceforge.net/.
[17]
R. K. Yin, Case Study Research, Design and Methods, 3rd edition. Thousand Oaks, CA.: Sage Publications, 2003.
[18]
T. J. Yu, V. Y. Shen, and H. E. Dunsmore, "An analysis of several software defect models," IEEE Trans. on Software Eng., 14( 9), 1988, 1261--1270.

Cited By

View all
  • (2024)JITGNNJournal of Systems and Software10.1016/j.jss.2024.111984210:COnline publication date: 1-Apr-2024
  • (2024)Evolution of internal dimensions in object‐oriented software–A time series based approachSoftware: Practice and Experience10.1002/spe.331054:6(1034-1073)Online publication date: 21-Jan-2024
  • (2023)A practical approach for technical debt prioritization based on class‐level forecastingJournal of Software: Evolution and Process10.1002/smr.2564Online publication date: 22-Mar-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ISESE '06: Proceedings of the 2006 ACM/IEEE international symposium on Empirical software engineering
September 2006
388 pages
ISBN:1595932186
DOI:10.1145/1159733
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 21 September 2006

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

ISESE06
Sponsor:

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)18
  • Downloads (Last 6 weeks)3
Reflects downloads up to 24 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)JITGNNJournal of Systems and Software10.1016/j.jss.2024.111984210:COnline publication date: 1-Apr-2024
  • (2024)Evolution of internal dimensions in object‐oriented software–A time series based approachSoftware: Practice and Experience10.1002/spe.331054:6(1034-1073)Online publication date: 21-Jan-2024
  • (2023)A practical approach for technical debt prioritization based on class‐level forecastingJournal of Software: Evolution and Process10.1002/smr.2564Online publication date: 22-Mar-2023
  • (2022)Simpler Hyperparameter Optimization for Software Analytics: Why, How, When?IEEE Transactions on Software Engineering10.1109/TSE.2021.307324248:8(2939-2954)Online publication date: 1-Aug-2022
  • (2022)The Impact of Feature Importance Methods on the Interpretation of Defect ClassifiersIEEE Transactions on Software Engineering10.1109/TSE.2021.305694148:7(2245-2261)Online publication date: 1-Jul-2022
  • (2022)Better Data Labelling With EMBLEM (and how that Impacts Defect Prediction)IEEE Transactions on Software Engineering10.1109/TSE.2020.298641548:1(278-294)Online publication date: 1-Jan-2022
  • (2022)Exploring the relationship between performance metrics and cost saving potential of defect prediction modelsEmpirical Software Engineering10.1007/s10664-022-10224-427:7Online publication date: 1-Dec-2022
  • (2021)Machine Learning for Technical Debt IdentificationIEEE Transactions on Software Engineering10.1109/TSE.2021.3129355(1-1)Online publication date: 2021
  • (2021)On the Costs and Profit of Software Defect PredictionIEEE Transactions on Software Engineering10.1109/TSE.2019.295779447:11(2617-2631)Online publication date: 1-Nov-2021
  • (2021)Empirical Validation of cross-version and 10-fold cross-validation for Defect Prediction2021 Second International Conference on Electronics and Sustainable Communication Systems (ICESC)10.1109/ICESC51422.2021.9533030(431-438)Online publication date: 4-Aug-2021
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media