Skip to main content

Study of Information Retrieval and Machine Learning-Based Software Bug Localization Models

  • Conference paper
  • First Online:
Advances in Computing and Intelligent Systems

Part of the book series: Algorithms for Intelligent Systems ((AIS))

  • 879 Accesses

Abstract

Software bug localization (SBL) is a process of finding out the location of bug that causes the failure of some functionality in the application. There are many different methods of performing SBL like analysing of execution traces, information retrieval and manual debugging. Information retrieval (IR) based models works as same as simple search query model in which bug report is taken as query. In this paper, we perform an empirical study for verifying the effectiveness of VSM. Based on TFIDF modelling, the results are experimented on four datasets and evaluated with TOPK, MAP and MRR metrics. In addition to this, review of existing machine learning and deep learning-based SBL models are also presented because of their effective power and improved results in localization accuracy.

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
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover 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. Moreno, L., Treadway, J. J., Marcus, A., & Shen, W. (2014). On the use of stack traces to improve text retrieval-based bug localization. In 2014 IEEE International Conference on Software Maintenance and Evolution (pp. 151–160). IEEE.

    Google Scholar 

  2. Ye, X., Bunescu, R., & Liu, C. (2014). Learning to rank relevant files for bug reports using domain knowledge. In Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering (pp. 689–699). ACM.

    Google Scholar 

  3. Gharibi, R., Rasekh, A. H., & Sadreddini, M. H. Locating relevant source files for bug reports using textual analysis. (2017). In 2017 International Symposium on Computer Science and Software Engineering Conference (CSSE) (pp. 67–72). IEEE.

    Google Scholar 

  4. Moin, A. H., & Khansari, M. (2010). Bug localization using revision log analysis and open bug repository text categorization. In IFIP International Conference on Open Source Systems (pp. 188–199). Berlin, Heidelberg: Springer.

    Google Scholar 

  5. Saha, R. K., Lease, M., Khurshid, S., & Perry, D. E. (2013). Improving bug localization using structured information retrieval. In 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE) (pp. 345–355). IEEE.

    Google Scholar 

  6. Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2015). Combining deep learning with information retrieval to localize buggy files for bug reports (n). In 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) (pp. 476–481). IEEE.

    Google Scholar 

  7. Xiao, Y., Keung, J., Mi, Q., & Bennin, K. E. (2017). Improving bug localization with an enhanced convolutional neural network. In 2017 24th Asia-Pacific Software Engineering Conference (APSEC) (pp. 338–347). IEEE.

    Google Scholar 

  8. Xiao, Y., Keung, J., Bennin, K. E., & Mi, Q. (2019). Improving bug localization with word embedding and enhanced convolutional neural networks. Information and Software Technology, 105, 17–29.

    Article  Google Scholar 

  9. Xiao, Y., Keung, J., Mi, Q., & Bennin, K. E. (2018). Bug localization with semantic and structural features using convolutional neural network and cascade forest. In Proceedings of the 22nd International Conference on Evaluation and Assessment in Software Engineering 2018 (pp. 101–111). ACM.

    Google Scholar 

  10. Loyola, P., Gajananan, K., & Satoh, F. (2018). Bug localization by learning to rank and represent bug inducing changes. In Proceedings of the 27th ACM International Conference on Information and Knowledge Management (pp. 657–665). ACM.

    Google Scholar 

  11. Wang, Y., Yao, Y., Tong, H., Huo, X., Li, M., Xu, F., & Lu, J. (2018). Bug localization via supervised topic modeling. In 2018 IEEE International Conference on Data Mining (ICDM) (pp. 607–616). IEEE.

    Google Scholar 

Download references

Acknowledgements

This work is sponsored by the National Project Implementation Unit (NPIU) under TEQIP-III of Guru Jambheshwar University of Science and Technology, Hisar.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tamanna .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tamanna, Sangwan, O.P. (2020). Study of Information Retrieval and Machine Learning-Based Software Bug Localization Models. In: Sharma, H., Govindan, K., Poonia, R., Kumar, S., El-Medany, W. (eds) Advances in Computing and Intelligent Systems. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-15-0222-4_47

Download citation

Publish with us

Policies and ethics