Abstract
Design defects are one of the main reasons for the decline of software design quality. Effective detection of design defects plays an important role in improving software maintainability and scalability. On the basis of defining software design defects, according to C&K design metrics and heuristics, this paper extracts the relevant features of design defects. Based on classical machine learning methods, classifiers are trained for design defect, and candidate designs are classified by classifiers, so as to identify whether there is a design defect in the design. Experiments show that the method has high accuracy and recall rate in identifying design defects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
D’Ambros, M., Lanza, M., Robbes, R.: Evaluating defect prediction approaches: a benchmark and an extensive comparison. Empirical Softw. Eng. 17(4–5), 531–577 (2012)
Brown, W.H., Malveau, R.C.: “Skip” McCormick III HW, Mowbray TJ, Antipatterns: Refactoring Software, Architectures, and Projects in Crisis. Wiley Computer Publishing, New York (1998)
Zhiqiang, L., Xiao-Yuan, J., Xiaoke, Z.: Progress on approaches to software defect prediction. IET Softw. 12(3), 161–175 (2018)
Moha, N.: Detection and correction of design defects in object-oriented designs. In: Companion to the ACM Sigplan Conference on Object-Oriented Programming Systems & Applications Companion. ACM (2007)
Feng, T.: An approach to automated software design improvement. J. Softw. 17(4), 703–712 (2006)
Fowler, M.: Refactoring: Improving the Design of Existing Programs. Addison-Wesley, Boston (1999)
Robert, M.: Design principle and design patterns (2000)
Kerievsky, J.: Refactoring to Patterns. Addison-Wesley, Boston (2004)
Tahvildare, L., Kontogiannis, K.: Improving design quality using meta-pattern transformations: a metric-based approach. J. Softw. Maint. Evol. Res. Pract. 16(4–5), 331–361 (2004)
ISO 9126: Software Product Quality Characteristics. http://www.cse.dcu.ie/essiscope/
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Software Eng. 20(6), 476–493 (1994)
Hitz, M., Montazeri, B.: Measuring coupling and cohesion in object-oriented systems (1995)
Lorenz, M., Kidd, J.: Object-oriented software metrics: a practical guide. Prentice-Hall Inc, Englewood Cliffs (1994)
Abreu, F.: MOOD-metrics for object-oriented design. In: Proceedings of Oopsla 94 Workshop Paper Presentation (1994)
Guéhéneuc, Y.G., Sahraoui, H., Zaidi, F.: Fingerprinting design patterns. In: 11th Working Conference on Reverse Engineering, pp. 172–181. IEEE (2004)
Shari, L.P.: Software Engineering Theory and Practice (2003)
Acknowledgments
At the end of this paper, I would like to thank the teachers and classmates who have contributed to this paper, and secondly to those who came to help me.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Wang, Y., Feng, T., Cheng, Y., Che, H. (2020). Research on Object-Oriented Design Defect Detection Method Based on Machine Learning. In: Xhafa, F., Patnaik, S., Tavana, M. (eds) Advances in Intelligent Systems and Interactive Applications. IISA 2019. Advances in Intelligent Systems and Computing, vol 1084. Springer, Cham. https://doi.org/10.1007/978-3-030-34387-3_13
Download citation
DOI: https://doi.org/10.1007/978-3-030-34387-3_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-34386-6
Online ISBN: 978-3-030-34387-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)