Skip to main content

Empirical Investigation of Metrics for Fault Prediction on Object-Oriented Software

  • Chapter
Book cover Computer and Information Science

Part of the book series: Studies in Computational Intelligence ((SCI,volume 131))

Summary

The importance of software-quality classification models which can predict the modules to be faulty, or not, based on certain software product metrics has increased. Such predictions can be used to target improvement efforts to those modules that need it the most. The application of metrics to build models can assist to focus quality improvement efforts to modules that are likely to be faulty during operations, thereby cost-effectively utilizing the software quality testing and enhancement resources. In the present study we have investigated the relationship between OO metrics and the detection of the faults in the object-oriented software. Fault prediction models are made and validated using regression methods for detecting faulty classes and discover the number of faults in each class. The univariate and multivariate logistic regression models are made by taking the dependent variable as the presence of fault or not. While linear regression models are built using the number of faults as dependent variable. The results of the two models are compared and an investigation on the metrics is presented.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Boehm, B., Basili, V.: Software Defect Reduction Top 10 Lists. IEEE Computer 34(1), 135–137 (2001)

    Google Scholar 

  2. Khoshgoftaar, T.M., Allen, E.B.R., Munikoti, F.D., Goel, R.N., Nandi, A.: Predicting fault-prone modules with case-based reasoning. In: ISSRE 1997, the Eighth International Symposium on Software Engineering, pp. 27–35. IEEE Computer Society, Los Alamitos (1997)

    Chapter  Google Scholar 

  3. Briand, L., Wüst, J., Daly, J., Porter, V.: Exploring the Relationship between Design Measures and Software Quality in Object-Oriented Systems. Journal of Systems and Software 51, 245–273 (2000); Also Technical Report ISERN-98-07

    Article  Google Scholar 

  4. Briand, L., Wüst, H., Lounis, S.: Investigating Quality Factors in Object-Oriented Designs: an Industrial Case Study. In: Proceedings of the 21st International Conference on Software Engineering, ICSE 1999, Los Angeles, USA, pp. 345–354 (1999)

    Google Scholar 

  5. Munson, J.C., Khoshgoftaar, T.M.: The detection of fault-prone programs. IEEE Trans. on Software Engineering 18(5), 423–433 (1992)

    Article  Google Scholar 

  6. Basili, V.R., Briand, L.C., Melo, W.L.: A validation of object oriented metrics as quality ind icators. IEEE Trans. On Software Engineering 22(10), 751–761 (1996)

    Article  Google Scholar 

  7. Fenton, N.E., Neil, M.: A critique of software defect prediction models. IEEE Trans. on Software Engineering 25(5), 675–689 (1999)

    Article  Google Scholar 

  8. Thwin, M.M.T., Quah, T.-S.: Application of neural network for predicting software development faults using object-oriented design metrics. In: Proceedings of the 9th International Conference on Neural Information Processing, pp. 2312–2316 (2002)

    Google Scholar 

  9. Kamiya, T., Kusumoto, S., Inoue, K.: Prediction of fault-proneness at early phase in object-oriented development. In: Proceedings of the Second IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, pp. 253–258 (1999)

    Google Scholar 

  10. Emam, L., Wüst, J., Daly, J.W.: The prediction of faulty classes using object- oriented design metrics. Journal of Systems and Software 56, 63–75 (2001)

    Article  Google Scholar 

  11. Briand, L., Wüst, J., Daly, J.W.: Exploring the relationships between design measures and software quality in object-oriented systems. Journal of Systems and Software 51, 245–273 (2000)

    Article  Google Scholar 

  12. Briand, L.C., Wüst, J., Daly, J.W.: Assessing the applicability of fault-proneness models across object-oriented software projects. IEEE Transactions on Software engineering 28(7), 706–720 (2002)

    Article  Google Scholar 

  13. Glasberg, D., Emam, K.E.: Validating object-oriented design metrics on a commercial java application. Technical Report NRC/ERB-1080 (2000)

    Google Scholar 

  14. Mao, Y., Sahraoui, H.A., Lounis, H.: Reusability hypothesis verification using machine learning techniques: a case study. In: Proceedings of the 13th IEEE International Conference on Automated Software Engineering, pp. 84–93 (1998)

    Google Scholar 

  15. Briand, L., Wuest, J.: The Impact of Design Properties on Development Cost in Object- Oriented Systems. International Software Engineering Research Network (1999)

    Google Scholar 

  16. Yu, P., Systa, T., Muller, H.: Predicting Fault-Proneness using OO Metrics: An Industrial Case Study. In: Sixth European Conference on Software Maintenance and Reengineering, Budapest, Hungary (2002)

    Google Scholar 

  17. Metrics Data Program, NASA IV&V Facility, http://mdp.ivv.nasa.gov/

  18. Chidamber, S.R., Kemerer, C.F.: A Metrics Suite for Object Oriented Design. IEEE Transactions on Software Engineering 20(6), 476–493 (1994)

    Article  Google Scholar 

  19. McCabe, T.J.: A complexity measure. IEEE Transactions on Software Engineering SE-2(4), 308–320 (1976)

    Article  MathSciNet  Google Scholar 

  20. Henry, S., Kafura, D.: Software structure metrics based on information flow. IEEE Transactions on Software Engineering SE-7(5), 510–518 (1981)

    Article  Google Scholar 

  21. Hosmer, D., Lemeshow, S.: Applied Logistic Regression. Wiley-Interscience, Chichester (1989)

    Google Scholar 

  22. Neter, J., Wasserman, W., Kutner, M.H.: Applied Linear Statistical Models, 3rd edn. Richard D.Irwin (1990)

    Google Scholar 

  23. Basili, V.R., Briand, L.C., Melo, W.L.: A validation of object oriented metrics as quality indicators. IEEE Trans. On Software Engineering 22(10), 751–761 (1996)

    Article  Google Scholar 

  24. Barnett, V., Price, T.: Outliers in Statistical Data. John Wiley & Sons, Chichester (1995)

    Google Scholar 

  25. Belsley, D., Kuh, E., Welsch, R.: Regression Diagnostics: Identifying Influential Data and Sources of Collinearity. John Wiley & Sons, Chichester (1980)

    MATH  Google Scholar 

  26. Gyimothy, T., Ference, R., Siket, I.: Empirical Validation of Object –Oriented Metrics on open source software for fault prediction. IEEE Transactions on Software Engineering 31(10) (October 2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Roger Lee Haeng-Kon Kim

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Goel, B., Singh, Y. (2008). Empirical Investigation of Metrics for Fault Prediction on Object-Oriented Software. In: Lee, R., Kim, HK. (eds) Computer and Information Science. Studies in Computational Intelligence, vol 131. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-79187-4_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-79187-4_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-79186-7

  • Online ISBN: 978-3-540-79187-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics