Skip to main content

Predicting Defects in Software Using Grammar-Guided Genetic Programming

  • Conference paper
Artificial Intelligence: Theories, Models and Applications (SETN 2008)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 5138))

Included in the following conference series:

Abstract

The knowledge of the software quality can allow an organization to allocate the needed resources for the code maintenance. Maintaining the software is considered as a high cost factor for most organizations. Consequently, there is need to assess software modules in respect of defects that will arise. Addressing the prediction of software defects by means of computational intelligence has only recently become evident. In this paper, we investigate the capability of the genetic programming approach for producing solution composed of decision rules. We applied the model into four software engineering databases of NASA. The overall performance of this system denotes its competitiveness as compared with past methodologies, and is shown capable of producing simple, highly accurate, tangible rules.

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 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berlanga, F.J., del Jesus, M.J., Herrera, F.: Learning compact fuzzy rule-based classification systems with genetic programming. In: 4th Conference of the European Society for Fuzzy Logic and Technology (EUSFLAT 2005), Barcelona, pp. 1027–1032 (2005)

    Google Scholar 

  2. Blickle, T., Theile, L.: A mathematical analysis of tournament selection. In: Eshelman, L.J. (ed.) Proc. of the 6thInternational.Conference on Genetic Algorithms, pp. 9–16. Lawrence Erlbaum Associates, Hillsdale (1995)

    Google Scholar 

  3. Eads, D., Hill, D., Davis, S., Perkins, S., Ma, J., Porter, R., Theiler, J.: Genetic Algorithms and Support Vector Machines for Time Series Classification. In: Proc. SPIE, vol. 4787, pp. 74–85 (2002)

    Google Scholar 

  4. Fenton, N., Ohlsson, N.: Quantitative Analysis of Faults and Failures in a Complex Software System. IEEE Trans. Software Eng., 797–814 (2000)

    Google Scholar 

  5. Fenton, N.E., Pfleeger, S.: Software Metrics: A Rigorous and Practical Approach. Int’l Thompson Press (1997)

    Google Scholar 

  6. Halstead, M.: Elements of Software Science. Elsevier, Amsterdam (1977)

    MATH  Google Scholar 

  7. Koza, J.R.: Genetic Programming: On the Programming of Computers by Means of Natural Selection. MIT Press, Cambridge (1992)

    MATH  Google Scholar 

  8. Koza, J., Bennett, F., Andre, D., Keane, M.: Genetic Programming III: Automatic Programming and Automatic Circuit Synthesis. Morgan Kaufmann, San Francisco (2003)

    MATH  Google Scholar 

  9. McCabe, T.: A Complexity Measure. IEEE Trans. Software Eng. 4, 308–320 (1976)

    Article  MathSciNet  Google Scholar 

  10. Menzies, T., Dekhtyar, A., Distefano, J., Greenwald, J.: Problems with Precision: A Response to Comments on; Data Mining Static Code Attributes to Learn Defect Predictors. IEEE Trans. on Soft. Eng. 33(9), 637–640 (2007)

    Article  Google Scholar 

  11. Menzies, T., DiStefano, J., Orrego, A., Chapman, R.: Assessing Predictors of Software Defects. In: Proc. Workshop Predictive Software Models (2004)

    Google Scholar 

  12. Menzies, T., Greenwald, J., Frank, A.: Data Mining Static Code Attributes to Learn Defect Predictors. IEEE Trans. on Soft. Eng. 32(11) (January 2007)

    Google Scholar 

  13. Montana, D.J.: Strongly Typed Genetic Programming. Evolutionary Computation 3(2) (1995)

    Google Scholar 

  14. Quinlan, J.R.: Bagging, boosting, and C4.5. In: Proc. 13th Nat. Conf. Art. Intell., pp. 725–730 (1996)

    Google Scholar 

  15. Singleton, A.: Genetic Programming with C++. BYTE Magazine (February 1994)

    Google Scholar 

  16. Shepperd, M., Ince, D.: A Critique of Three Metrics. J. Systems and Software 26(3), 197–210 (1994)

    Article  Google Scholar 

  17. Tsakonas, A., Dounias, G.: Hierarchical Classification Trees Using Type-Constrained Genetic Programming. In: Proc. of 1st Intl. IEEE Symposium in Intelligent Systems, Varna, Bulgaria (2002)

    Google Scholar 

  18. Tsakonas, A., Dounias, G.: Evolving Neural-Symbolic Systems Guided by Adaptive Training Schemes: Applications in Finance. App. Art. Intell. 21(7), 681–706 (2007)

    Article  Google Scholar 

  19. Yu, T., Bentley, P.: Methods to Evolve Legal Phenotypes. In: Eiben, A.E., Bäck, T., Schoenauer, M., Schwefel, H.-P. (eds.) PPSN 1998. LNCS, vol. 1498, pp. 280–291. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

John Darzentas George A. Vouros Spyros Vosinakis Argyris Arnellos

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tsakonas, A., Dounias, G. (2008). Predicting Defects in Software Using Grammar-Guided Genetic Programming. In: Darzentas, J., Vouros, G.A., Vosinakis, S., Arnellos, A. (eds) Artificial Intelligence: Theories, Models and Applications. SETN 2008. Lecture Notes in Computer Science(), vol 5138. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87881-0_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-87881-0_42

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-87880-3

  • Online ISBN: 978-3-540-87881-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics