Nothing Special   »   [go: up one dir, main page]

Skip to main content

Advertisement

Log in

Deep learning approaches for bad smell detection: a systematic literature review

  • Published:
Empirical Software Engineering Aims and scope Submit manuscript

Abstract

Context

Bad smells negatively impact software quality metrics such as understandability, reusability, and maintainability. Reduced costs and enhanced software quality can be achieved through accurate bad smell detection.

Objective

This review aims to summarize and synthesize the studies that used deep learning (DL) techniques for bad smell detection. Given the rapid growth of DL techniques, we believe that reviewing and analyzing the current body of knowledge would facilitate the development of new techniques and help researchers identify research gaps in this area.

Method

We followed a systematic approach to identify 67 studies on DL-based bad smell detection published until October 2021. We collected and analyzed quantitative and qualitative data to obtain our results.

Results

Code Clone was the most recurring smell. Supervised learning is the most adopted learning approach for DL-based bad smell detection. Convolutional neural network (CNN), Artificial neural network (ANN), Deep neural network (DNN), Long short-term memory (LSTM), Attention model, and recursive autoencoder (RAE) are the most popularly used DL models. DL models that efficiently detect bad smells, such as Tree-based CNN (TBCNN) and the Abstract syntax tree-based LSTM (AST-LSTM), tend to be specifically designed to encode features for bad smell detection.

Conclusion

Many factors can affect the detection performance of DL models. Although studies exist on DL-based bad smell detection, more works that use other DL models than those already studied are needed. In this SLR, we provide a summary of existing research and recommendations for further research directions on DL-based bad smell detection.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data Availability

The datasets generated during and/or analyzed during the current study are available in the GitHub repository, https://github.com/amalazba/Deep-Learning-Approaches-for-Bad-Smell-Detection-SLR.

Notes

  1. https://github.com/amalazba/Deep-Learning-Approaches-for-Bad-Smell-Detection-SLR

  2. https://github.com/amalazba/Deep-Learning-Approaches-for-Bad-Smell-Detection-SLR

References

Download references

Acknowledgements

The authors acknowledge the support of King Fahd University of Petroleum and Minerals in the development of this work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amal Alazba.

Ethics declarations

Conflicts of Interests/Competing Interests

The authors have no conflicts of interest to declare that are relevant to the content of this article.

Additional information

Communicated by: Denys Poshyvanyk

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

Tables 23, 24, 25 and 26

Table 23 The selected primary studies
Table 24 The number of primary studies published in each venue and the publication type
Table 25 Types of bad smells detected using DL
Table 26 Publicly available datasets for each bad smell

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Alazba, A., Aljamaan, H. & Alshayeb, M. Deep learning approaches for bad smell detection: a systematic literature review. Empir Software Eng 28, 77 (2023). https://doi.org/10.1007/s10664-023-10312-z

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10664-023-10312-z

Keywords

Navigation