Skip to main content

Dynamic Stylometry for Defect Prediction

  • Conference paper
  • First Online:
  • 699 Accesses

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 504))

Abstract

All metrics used by QAs to assess code quality describe the characteristics of a ready-made code. In this article we propose a novel, different approach which tries to catch the dynamics of the coding process. For this purpose we utilize some basic ideas from the science of stylometry. We show how to quantify the process dynamics using several simple metrics. We also present the results of an experiment performed on a group of CS students to validate the prediction power of the proposed model.

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   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.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

References

  1. Abaei, G., Selamat, A.: A survey on software fault detection based on different prediction appoaches. Vietnam J. Comput. Sci. 1, 79–95 (2014)

    Article  Google Scholar 

  2. Albrecht, A.J.: Measuring application development productivity. In: Proceedings of the Joint SHARE, GUIDE, and IBM Application Development Symposium, California, pp. 83–92 (1979)

    Google Scholar 

  3. Boehm, B.: Software Engineering Economics. Prentice-Hall, Englewood Cliffs (1981)

    MATH  Google Scholar 

  4. Chidamber, S., Kemerer, C.: A metrics suite for object-oriented design. IEEE Trans. Softw. Eng. 20, 476–493 (1994)

    Article  Google Scholar 

  5. Clark, B., Zubrow, D.: How good is the Software: a review of defect prediction techniques. In: Software Engineering Symposium, Carreige Mellon University (2001)

    Google Scholar 

  6. Fenton, N.E., Neil, M.: A critique of software defect prediction models. IEEE Trans. Softw. Eng. 25(5), 675–689 (1999)

    Article  Google Scholar 

  7. Halstead, M.H.: Elements of Software Science. Elsevier (1977)

    Google Scholar 

  8. Jia, Y.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649–678 (2011)

    Article  Google Scholar 

  9. Jones, C.: Programming Productivity. McGraw-Hill, New York (1986)

    Google Scholar 

  10. Jones, C., Bonsignour, O.: The Economics of Software Quality. Addison-Wesley, Upper Saddle River, NJ (2012)

    Google Scholar 

  11. Kan, S.: Metrics and Models in Software Quality Engineering, 2nd edn. Pearson Education, Boston (2003)

    MATH  Google Scholar 

  12. Kpodjeto, S., et al.: Design evolution metrics for defect prediction in object oriented systems. Empir. Softw. Eng. 16(1), 141–175 (2011)

    Article  Google Scholar 

  13. Lorenz, M.: Object-Oriented Software Development: A Practical Guide. Prentice Hall (1993)

    Google Scholar 

  14. Madeyski, L., Jureczko, M.: Which process metrics can significantly improve defect prediction models? An empircal study. Softw. Qual. J. 23, 393–422 (2015)

    Article  Google Scholar 

  15. McCabe, T.J.: A complexity measure. IEEE Trans. Softw. Eng. 2(4), 308–320 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  16. Nagappan, N., Zeller, A., Zimmermann, T., Herzig, K., Murphy, B.: Change bursts as defect predictors. In: Software Reliability Engineering, pp. 309–318 (2010)

    Google Scholar 

  17. Putnam, L.H.: A general empirical solution to the macro software sizing and estimating problem. IEEE Trans. Softw. Eng. SE-4, 345–361 (1978)

    Google Scholar 

  18. Putnam, L.H., Myers, W.: Measures for Excellence: Reliable Software on Time Within Budget. Yourdon Press, Englewood Cliffs (1992)

    Google Scholar 

  19. Yamada, S., Ohba, M., Osaki, S.: S-shaped software reliability growth models and their applications. IEEE Trans. Reliab. 33(4), 289–292 (1984)

    Article  Google Scholar 

Download references

Acknowledgments

Both collected data and the detailed description of the exercise used in our experiment are available for other researchers from www.ii.uj.edu.pl/~roman/DynamicStylometry.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adam Roman .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing Switzerland

About this paper

Cite this paper

Roman, A., Babiarz, R. (2017). Dynamic Stylometry for Defect Prediction. In: Madeyski, L., Śmiałek, M., Hnatkowska, B., Huzar, Z. (eds) Software Engineering: Challenges and Solutions. Advances in Intelligent Systems and Computing, vol 504. Springer, Cham. https://doi.org/10.1007/978-3-319-43606-7_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-43606-7_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-43605-0

  • Online ISBN: 978-3-319-43606-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics