Skip to main content

Enhancing Bug-Fixing Time Prediction with LSTM-Based Approach

  • Conference paper
  • First Online:
Product-Focused Software Process Improvement (PROFES 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14484))

  • 169 Accesses

Abstract

This work presents an approach based on Long short-term memory (LSTM) for estimating the bug-fixing time in the bug triage process. Existing bug-fixing time predictor approaches underutilize useful semantic information and long-term dependencies between activities in the bug-fixing sequence. Therefore, the proposed approach is a deep learning-based model that converts activities into vectors of real numbers based on their semantic meaning. It then uses LSTM to identify long-term dependencies between activities and classifies sequences as having either short fixing time or long fixing time. The evaluation on bug reports from the Eclipse project shows that this approach performs slightly better than the current best in the literature, boasting improved metrics such as accuracy, precision, f-score, and recall.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Abdelmoez, W., Kholief, M., Elsalmy, F.M.: Bug fix-time prediction model using Naïve Bayes classifier. In: 22nd International Conference on Computer Theory and Applications (ICCTA), pp. 167–172 (2012). https://doi.org/10.1109/ICCTA.2012.6523564

  2. Anbalagan, P., Vouk, M.A.: On predicting the time taken to correct bug reports in open source projects. In: 25th IEEE International Conference on Software Maintenance, 20–26 September 2009, Edmonton, Alberta, Canada, pp. 523–526. IEEE Computer Society (2009). https://doi.org/10.1109/ICSM.2009.5306337

  3. Ardimento, P.: Predicting bug-fixing time: Distilbert versus google BERT. In: Taibi, D., Kuhrmann, M., Mikkonen, T., Klünder, J., Abrahamsson, P. (eds.) PROFES 2022. LNCS, vol. 13709, pp. 610–620. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-21388-5_46

    Chapter  Google Scholar 

  4. Ardimento, P., Boffoli, N.: Predicting bug-fixing time using the latent Dirichlet allocation model with covariates. In: Kaindl, H., Mannion, M., Maciaszek, L.A. (eds.) ENASE 2022. CCIS, vol. 1829, pp. 139–152. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-36597-3_7

    Chapter  Google Scholar 

  5. Ardimento, P., Mele, C.: Using BERT to predict bug-fixing time. In: 2020 IEEE Conference on Evolving and Adaptive Intelligent Systems. EAIS 2020, Bari, Italy, 27–29 May 2020, pp. 1–7. IEEE (2020). https://doi.org/10.1109/EAIS48028.2020.9122781

  6. Bougie, G., Treude, C., Germán, D.M., Storey, M.D.: A comparative exploration of freeBSD bug lifetimes. In: Proceedings of the 7th International Working Conference on Mining Software Repositories, MSR 2010 (Co-located with ICSE), Cape Town, South Africa, 2–3 May 2010, Proceedings, pp. 106–109. IEEE Computer Society (2010). https://doi.org/10.1109/MSR.2010.5463291

  7. Giger, E., Pinzger, M., Gall, H.C.: Predicting the fix time of bugs. In: Proceedings of the 2nd International Workshop on Recommendation Systems for Software Engineering. RSSE 2010, Cape Town, South Africa, 4 May 2010, pp. 52–56. ACM (2010). https://doi.org/10.1145/1808920.1808933

  8. Guo, P.J., Zimmermann, T., Nagappan, N., Murphy, B.: Characterizing and predicting which bugs get fixed: an empirical study of Microsoft windows. In: Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1, ICSE 2010, Cape Town, South Africa, 1–8 May 2010, pp. 495–504. ACM (2010). https://doi.org/10.1145/1806799.1806871

  9. Habayeb, M., Murtaza, S.S., Miranskyy, A.V., Bener, A.B.: On the use of hidden Markov model to predict the time to fix bugs. IEEE Trans. Softw. Eng. 44(12), 1224–1244 (2018). https://doi.org/10.1109/TSE.2017.2757480

    Article  Google Scholar 

  10. Hooimeijer, P., Weimer, W.: Modeling bug report quality. In: 22nd IEEE/ACM International Conference on Automated Software Engineering (ASE 2007), 5–9 November 2007, Atlanta, Georgia, USA, pp. 34–43. ACM (2007). https://doi.org/10.1145/1321631.1321639

  11. Jeong, G., Kim, S., Zimmermann, T.: Improving bug triage with bug tossing graphs. In: Proceedings of the 7th joint meeting of the European Software Engineering Conference and the ACM SIGSOFT International Symposium on Foundations of Software Engineering, 2009, Amsterdam, The Netherlands, 24–28 August 2009, pp. 111–120. ACM (2009). https://doi.org/10.1145/1595696.1595715

  12. Jonsson, L., Borg, M., Broman, D., Sandahl, K., Eldh, S., Runeson, P.: Automated bug assignment: ensemble-based machine learning in large scale industrial contexts. Empir. Softw. Eng. 21(4), 1533–1578 (2016). https://doi.org/10.1007/s10664-015-9401-9

    Article  Google Scholar 

  13. Kim, S., Whitehead, E.J.: How long did it take to fix bugs? In: Proceedings of the 2006 International Workshop on Mining Software Repositories. MSR ’06, pp. 173–174. Association for Computing Machinery, New York, NY, USA (2006). https://doi.org/10.1145/1137983.1138027

  14. Marks, L., Zou, Y., Hassan, A.E.: Studying the fix-time for bugs in large open source projects. In: Proceedings of the 7th International Conference on Predictive Models in Software Engineering. PROMISE 2011, Banff, Alberta, Canada, 20–21 September 2011, p. 11. ACM (2011). https://doi.org/10.1145/2020390.2020401

  15. Ruan, H., Chen, B., Peng, X., Zhao, W.: Deeplink: recovering issue-commit links based on deep learning. J. Syst. Softw. 158 (2019). https://doi.org/10.1016/j.jss.2019.110406

  16. Scholtes, I., Zanetti, M.S., Tessone, C.J., Schweitzer, F.: Categorizing bugs with social networks: a case study on four open source software communities. In: Software Engineering 2014, Fachtagung des GI-Fachbereichs Softwaretechnik, 25. Februar - 28. Februar 2014, Kiel, Germany. LNI, vol. P-227, pp. 27–28. GI (2014). https://dl.gi.de/handle/20.500.12116/30980

  17. Sepahvand, R., Akbari, R., Hashemi, S.: Predicting the bug fixing time using word embedding and deep long short term memories. IET Softw. 14(3), 203–212 (2020). https://doi.org/10.1049/iet-sen.2019.0260

    Article  Google Scholar 

  18. Zhang, H., Gong, L., Versteeg, S.: Predicting bug-fixing time: an empirical study of commercial software projects. In: 35th International Conference on Software Engineering. ICSE ’13, San Francisco, CA, USA, 18–26 May 2013, pp. 1042–1051. IEEE Computer Society (2013). https://doi.org/10.1109/ICSE.2013.6606654

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pasquale Ardimento .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ardimento, P. (2024). Enhancing Bug-Fixing Time Prediction with LSTM-Based Approach. In: Kadgien, R., Jedlitschka, A., Janes, A., Lenarduzzi, V., Li, X. (eds) Product-Focused Software Process Improvement. PROFES 2023. Lecture Notes in Computer Science, vol 14484. Springer, Cham. https://doi.org/10.1007/978-3-031-49269-3_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-49269-3_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-49268-6

  • Online ISBN: 978-3-031-49269-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics