Skip to main content

Software Fault Prediction with Object-Oriented Metrics Based Artificial Immune Recognition System

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4589))

Abstract

Software testing is a time-consuming and expensive process. Software fault prediction models are used to identify fault-prone classes automatically before system testing. These models can reduce the testing duration, project risks, resource and infrastructure costs. In this study, we propose a novel fault prediction model to improve the testing process. Chidamber-Kemerer Object-Oriented metrics and method-level metrics such as Halstead and McCabe are used as independent metrics in our Artificial Immune Recognition System based model. According to this study, class-level metrics based model which applies AIRS algorithm can be used successfully for fault prediction and its performance is higher than J48 based approach. A fault prediction tool which uses this model can be easily integrated into the testing process.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Tian, J.: Software Quality Engineering: Testing, Quality Assurance, and Quantifiable Improvement. John Wiley and Sons Inc., Hoboken (2005)

    Google Scholar 

  2. Sayyad, S.J., Menzies, T.J.: The PROMISE Repository of Software Engineering Databases, University of Ottawa, Canada (2005), http://promise.site.uottawa.ca/SERepository

  3. Chidamber, S.R., Kemerer, C.F.: A Metrics Suite for Object-Oriented Design. IEEE Trans. on Software Eng. 20(6), 476–493 (1994)

    Article  Google Scholar 

  4. Zhou, Y., Leung, H.: Empirical Analysis of Object-Oriented Design Metrics for Predicting High and Low Severity Faults. IEEE Trans. on Software Eng. 32(10), 771–789 (2006)

    Article  Google Scholar 

  5. Gyimothy, T., Ference, R., Siket, L.: Empirical Validation of Object-Oriented Metrics on Open Source Software for Fault Prediction. IEEE Trans. on Software Eng. 31(10), 897–910 (2005)

    Article  Google Scholar 

  6. Subramanyan, R., Krisnan, M.S.: Empirical Analysis of CK Metrics for Object-Oriented Design Complexity. IEEE Trans. on Software Eng. 29(4), 297–310 (2003)

    Article  Google Scholar 

  7. Alshayeb, M., Wei, L.: An Empirical Validation of Object-Oriented Metrics in Two Different Iterative Software Processes. IEEE Trans. on Software Eng. 29(11), 1043–1049 (2003)

    Article  Google Scholar 

  8. El Emam, K., Benlarbi, S., Goel, N., Rai, S.N.: The Confounding Effect of Class Size on the Validity of OO Metrics. IEEE Trans. on Software Eng. 27(7), 630–650 (2001)

    Article  Google Scholar 

  9. Chidamber, S.R., Darcy, D.P., Kemerer, C.F.: Managerial Use of Metrics for Object-Oriented Software: An Exploratory Analysis. IEEE Trans. on Software Eng. 24(8), 629–639 (1998)

    Article  Google Scholar 

  10. Basili, V.R., Briand, L.C., Melo, W.L.: A Validation of Object-Oriented Design Metrics as Quality Indicators. IEEE Trans. on Software Eng. 22(10), 751–761 (1996)

    Article  Google Scholar 

  11. Succi, G., Pedrycz, W., Stefanovic, M., Miller, J.: Practical Assessment of the Models for Identification of Defect-Prone Classes in Object-Oriented Commercial Systems Using Design Metrics. J. Systems and Software 65(1), 1–12 (2003)

    Article  Google Scholar 

  12. Briand, L.C., Wust, J., Daly, J.W., Porter, D.V.: Exploring the Relationships between Design Measures and Software Quality in OO Systems. J. Systems and Software 51(3), 245–273 (2000)

    Article  Google Scholar 

  13. Yu, P., Systa, T., Muller, H.: Predicting Fault-Proneness Using OO Metrics. In: Proc. Sixth European Conf. Software Maintenance and Reeng, pp. 99–107 (2002)

    Google Scholar 

  14. Briand, L.C., Melo, W.L., Wust, J.: Assessing the Application of Fault-Proneness Models Across OO Software Projects. IEEE Trans. on Software Eng. 28(7), 706–720 (2002)

    Article  Google Scholar 

  15. Koru, A.G., Liu, H.: An Investigation of the Effect of Module Size on Defect Prediction Using Static Measures. In: Int’l Workshop on Predictor Models in Software Engineering, Missouri, USA, pp. 1–5 (2005)

    Google Scholar 

  16. Rosenberg, L., Stapko, R., Gallo, A.: OO Metrics for Reliability. In: IEEE Int’l. Symposium on Software Metrics (1999)

    Google Scholar 

  17. Briand, L.C., Wust, J., Ikonomovski, S.V., Lounis, H.: Investigating Quality Factors in Object-Oriented Designs. In: 21st Int’l Conf. Software Eng, pp. 345–354 (1999)

    Google Scholar 

  18. Briand, L.C., Wust, J., Lounis, H.: Replicated Case Studies for Investigating Quality Factors in Object-Oriented Designs. Empirical Software Eng. 6(1), 11–58 (2001)

    Article  MATH  Google Scholar 

  19. Tang, M.H., Kao, M.H., Chen, M.H.: An Empirical Study on Object-Oriented Metrics. In: Sixth Int’l Software Metrics Symposium, pp. 242–249 (1999)

    Google Scholar 

  20. Moller, K.H., Paulish, D.: An Empirical Investigation of Software Fault Distribution. In: First International Software Metrics Symposium, pp. 82–90 (1993)

    Google Scholar 

  21. Ohlsson, N., Alberg, H.: Predicting Fault-prone Software Modules in Telephone Switches. IEEE Trans. on Software Eng. 22(12), 886–894 (1996)

    Article  Google Scholar 

  22. Ma, Y., Guo, L., Cukic, B.: A Statistical Framework for the Prediction of Fault-Proneness, Advances in Machine Learning Application in Software Eng. Idea Group Inc. (2006)

    Google Scholar 

  23. El Emam, K., Melo, W., Machado, J.: The Prediction of Faulty Classes Using OO Design Metrics. J. Systems and Software 56(1), 63–75 (2001)

    Article  Google Scholar 

  24. El Emam, K., Benlarbi, S., Goel, N., Rai, S.N.: Comparing Case-based Reasoning Classifiers for Predicting High Risk Software Components. J. Systems and Software 55(3), 301–320 (2001)

    Article  Google Scholar 

  25. Youden, W.: Index for Rating Diagnostic Tests Cancer 3(1), 32–35 (1950)

    Google Scholar 

  26. De Castro, L.N., Timmis, J.: Artificial Immune Systems: A New Computational Intelligence Approach. Springer, Heidelberg (2002)

    MATH  Google Scholar 

  27. Kim, J.W.: Integration Artificial Immune Algorithms for Intrusion Detection, PhD Thesis, University College London, Dept. of Computer Science (2002)

    Google Scholar 

  28. Watkins, A.: AIRS: A Resource Limited Artificial Immune Classifier, Master Thesis, Mississippi State University (2001)

    Google Scholar 

  29. Timmis, J.: Artificial Immune Systems: A Novel Data Analysis Technique Inspired by the Immune Network Theory, PhD Thesis, University of Wales, Aberystwyth (2001)

    Google Scholar 

  30. Timmis, J., Neal, M.: Investigating the Evolution and Stability of a Resource Limited Artificial Immune Systems. In: Genetic and Evolutionary Computation Conference, Nevada, USA, pp. 40–41 (2000)

    Google Scholar 

  31. Jerne, N.K.: Towards a Network Theory of the Immune System. Ann. Immunol. 125C, pp. 373–389

    Google Scholar 

  32. Langman, R.E., Cohn, M.: The Complete Idiotype Network is an Absurd Immune System. Imm. Today 7(4), 100–101 (1986)

    Article  Google Scholar 

  33. Forest, S., Hofmeyr, S., Somayaji, A.: Computer Immunology. Comm. of the ACM 40(10), 88–96 (1997)

    Article  Google Scholar 

  34. De Castro, L.N., Von Zubben, F.J.: The Clonal Selection Algorithm with Engineering Applications. In: Genetic and Evolutionary Computation Conference, pp. 36–37 (2000)

    Google Scholar 

  35. Carter, J.H.: The Immune System as a Model for Pattern Recognition and Classification. Journal of American Medical Informatics Association 7(1) (2000)

    Google Scholar 

  36. Hamaker, J.S., Boggess, L.: Non-Euclidean Distance Measures in AIRS, an Artificial Immune Classification System, Congress of Evolutionary Computation (2004)

    Google Scholar 

  37. Watkins, A., Timmis, J.: Artificial Immune Recognition System (AIRS): Revisions and Refinements, ICARIS 2002, University of Kent, Canterbury, pp. 173–181 (2002)

    Google Scholar 

  38. Watkins, A.: Exploiting Immunological Metaphors in the Development of Serial, Parallel, and Distributed Learning Algorithms, PhD Thesis, Mississippi State University (2005)

    Google Scholar 

  39. Brownlee, J.: Artificial Immune Recognition System: A Review and Analysis, Technical Report. No 1-02, Swinburne University of Technology (2005)

    Google Scholar 

  40. Catal, C., Diri, B.: Software Defect Prediction Using Artificial Immune Recognition System. In: The IASTED Int’l Conference on Software Eng, Austria. pp. 285–290 (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jürgen Münch Pekka Abrahamsson

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Catal, C., Diri, B. (2007). Software Fault Prediction with Object-Oriented Metrics Based Artificial Immune Recognition System. In: Münch, J., Abrahamsson, P. (eds) Product-Focused Software Process Improvement. PROFES 2007. Lecture Notes in Computer Science, vol 4589. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73460-4_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73460-4_27

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73459-8

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics