Skip to main content

Research on Object-Oriented Design Defect Detection Method Based on Machine Learning

  • Conference paper
  • First Online:
Advances in Intelligent Systems and Interactive Applications (IISA 2019)

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

  • 985 Accesses

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.

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

Institutional subscriptions

References

  1. 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)

    Article  Google Scholar 

  2. 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)

    Google Scholar 

  3. Zhiqiang, L., Xiao-Yuan, J., Xiaoke, Z.: Progress on approaches to software defect prediction. IET Softw. 12(3), 161–175 (2018)

    Article  Google Scholar 

  4. 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)

    Google Scholar 

  5. Feng, T.: An approach to automated software design improvement. J. Softw. 17(4), 703–712 (2006)

    Article  Google Scholar 

  6. Fowler, M.: Refactoring: Improving the Design of Existing Programs. Addison-Wesley, Boston (1999)

    MATH  Google Scholar 

  7. Robert, M.: Design principle and design patterns (2000)

    Google Scholar 

  8. Kerievsky, J.: Refactoring to Patterns. Addison-Wesley, Boston (2004)

    Book  Google Scholar 

  9. 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)

    Article  Google Scholar 

  10. ISO 9126: Software Product Quality Characteristics. http://www.cse.dcu.ie/essiscope/

  11. Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Software Eng. 20(6), 476–493 (1994)

    Article  Google Scholar 

  12. Hitz, M., Montazeri, B.: Measuring coupling and cohesion in object-oriented systems (1995)

    Google Scholar 

  13. Lorenz, M., Kidd, J.: Object-oriented software metrics: a practical guide. Prentice-Hall Inc, Englewood Cliffs (1994)

    Google Scholar 

  14. Abreu, F.: MOOD-metrics for object-oriented design. In: Proceedings of Oopsla 94 Workshop Paper Presentation (1994)

    Google Scholar 

  15. Guéhéneuc, Y.G., Sahraoui, H., Zaidi, F.: Fingerprinting design patterns. In: 11th Working Conference on Reverse Engineering, pp. 172–181. IEEE (2004)

    Google Scholar 

  16. Shari, L.P.: Software Engineering Theory and Practice (2003)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Tie Feng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics