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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Abaei, G., Selamat, A.: A survey on software fault detection based on different prediction appoaches. Vietnam J. Comput. Sci. 1, 79–95 (2014)
Albrecht, A.J.: Measuring application development productivity. In: Proceedings of the Joint SHARE, GUIDE, and IBM Application Development Symposium, California, pp. 83–92 (1979)
Boehm, B.: Software Engineering Economics. Prentice-Hall, Englewood Cliffs (1981)
Chidamber, S., Kemerer, C.: A metrics suite for object-oriented design. IEEE Trans. Softw. Eng. 20, 476–493 (1994)
Clark, B., Zubrow, D.: How good is the Software: a review of defect prediction techniques. In: Software Engineering Symposium, Carreige Mellon University (2001)
Fenton, N.E., Neil, M.: A critique of software defect prediction models. IEEE Trans. Softw. Eng. 25(5), 675–689 (1999)
Halstead, M.H.: Elements of Software Science. Elsevier (1977)
Jia, Y.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649–678 (2011)
Jones, C.: Programming Productivity. McGraw-Hill, New York (1986)
Jones, C., Bonsignour, O.: The Economics of Software Quality. Addison-Wesley, Upper Saddle River, NJ (2012)
Kan, S.: Metrics and Models in Software Quality Engineering, 2nd edn. Pearson Education, Boston (2003)
Kpodjeto, S., et al.: Design evolution metrics for defect prediction in object oriented systems. Empir. Softw. Eng. 16(1), 141–175 (2011)
Lorenz, M.: Object-Oriented Software Development: A Practical Guide. Prentice Hall (1993)
Madeyski, L., Jureczko, M.: Which process metrics can significantly improve defect prediction models? An empircal study. Softw. Qual. J. 23, 393–422 (2015)
McCabe, T.J.: A complexity measure. IEEE Trans. Softw. Eng. 2(4), 308–320 (1976)
Nagappan, N., Zeller, A., Zimmermann, T., Herzig, K., Murphy, B.: Change bursts as defect predictors. In: Software Reliability Engineering, pp. 309–318 (2010)
Putnam, L.H.: A general empirical solution to the macro software sizing and estimating problem. IEEE Trans. Softw. Eng. SE-4, 345–361 (1978)
Putnam, L.H., Myers, W.: Measures for Excellence: Reliable Software on Time Within Budget. Yourdon Press, Englewood Cliffs (1992)
Yamada, S., Ohba, M., Osaki, S.: S-shaped software reliability growth models and their applications. IEEE Trans. Reliab. 33(4), 289–292 (1984)
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
Corresponding author
Editor information
Editors and Affiliations
Rights 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)