journal article·2019-08-13Open access

A Multi-Factor Approach for Selection of Developers to Fix Bugs in a Program

Shikai Guo, Shifei Chen, Siwen Wang, Decheng Zhang, Yaqing Liu, Chen Guo, Hui Li, Tingting Li

Applied Sciences· Volume 9· Issue 16

Abstract

In a software tracking system, the bug assignment problem refers to the activities that developers perform during software maintenance to fix bugs. As many bugs are submitted on a daily basis, the number of developers required is quite large, and it therefore becomes difficult to assign the right developers to resolve issues with specific bugs. Inappropriate dispatches results in delayed processing of bug reports. In this paper, we propose an algorithm called ABC-DR to solve the bug assignment problem. The ABC-DR algorithm is a two-part composite approach that includes analysis between bug reports (i.e., B-based analysis) and analysis between developers and bug reports (i.e., D-based analysis). For analysis between bug reports, we use the multi-label k-nearest neighbor (ML-KNN) algorithm to find similar bug reports when compared with the new bug reports, and the developers who analyze similar bug reports recommend developers for the new bug report. For analysis between developers and bug reports, we find developer rankings similar to the new bug report by calculating the relevance scores between developers and similar bug reports. We use the artificial bee colony (ABC) algorithm to calculate the weight of each part. We evaluated the proposed algorithms on three datasets—GCC, Mozilla, and NetBeans—comparing ABC-DR with DevRec, DREX, and Bugzie. The experimental results show that the proposed ABC-DR algorithm achieves the highest improvement of 51.2% and 53.56% over DevRec for recall@5 and recall@10 in the NetBeans dataset.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software Engineering Research · Web Data Mining and Analysis · Advanced Malware Detection Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

The College of Information Science and Technology, Dalian Maritime University, Dalian 116026, China

The School of Marine Electrical Engineering, Dalian Maritime University, Dalian 116026, China

Collaborative Innovation Center for Transport Studies of Dalian Maritime University, Dalian 116026, China

Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University, Changchun 130012, China

Sichuan University-Pittsburgh Institute, Chengdu 610207, China

Funding

Program for Innovative Research Team in University of Ministry of Education of China · Fundamental Research Funds for the Central Universities · CERNET Innovation Project · National Natural Science Foundation of China

References (48)

Show source-provided references
1. Anvik, J., Hiew, L., and Murphy, G.C. (2006, January 20–28). Who should fix this bug?. Proceedings of the 28th International Conference on Software Engineering, Shanghai, China.10.1145/1134285.1134336 ↗
2. Ensemble data reduction techniques and Multi-RSMOTE via fuzzy integral for bug report classification10.1109/ACCESS.2018.2865780 ↗
3. Evaluating the effectiveness of reliability-assurance techniques10.1016/0164-1212(89)90039-3 ↗
4. Gu, Z., Barr, E.T., Hamilton, D.J., and Su, Z. (2010, January 1–8). Has the bug really been fixed?. Proceedings of the 2010 ACM/IEEE 32nd International Conference on Software Engineering, Cape Town, South Africa.10.1145/1806799.1806812 ↗
5. Anvik, J., Hiew, L., and Murphy, G.C. (2005, January 16–17). Coping with an open bug repository. Proceedings of the 2005 OOPSLA Workshop on Eclipse Technology eXchange, San Diego, CA, USA.10.1145/1117696.1117704 ↗
6. Wu, W., Zhang, W., Yang, Y., and Wang, Q. (2010, January 23–25). Time series analysis for bug number prediction. Proceedings of the 2nd International Conference on Software Engineering and Data Mining, Chengdu, China.
7. Zhang, T., Yang, G., Lee, B., and Lua, E. (2014, January 1–4). A novel developer ranking algorithm for automatic bug triage using topic model and developer relations. Proceedings of the 2014 21st Asia-Pacific Software Engineering Conference, Jeju, Korea.10.1109/APSEC.2014.43 ↗
8. Developer recommendation on bug commenting: A ranking approach for the developer crowd10.1007/s11432-015-0582-8 ↗
9. Yan, G., Zhang, T., and Lee, B. (2014, January 24–28). Utilizing a multi-developer network-based developer recommendation algorithm to fix bugs effectively. Proceedings of the 29th Annual ACM Symposium on Applied Computing, Gyeongju, Korea.10.1145/2554850.2555008 ↗
10. Xia, X., Lo, D., Wang, X., and Zhou, B. (2013, January 14–17). Accurate developer recommendation for bug resolution. Proceedings of the 2013 20th Working Conference on Reverse Engineering (WCRE), Koblenz, Germany.10.1109/WCRE.2013.6671282 ↗
11. Improving automated bug triaging with specialized topic model10.1109/TSE.2016.2576454 ↗
12. ROSF: Leveraging Information Retrieval and Supervised Learning for Recommending Code Snippets10.1109/TSC.2016.2592909 ↗
13. Guo, S., Liu, Y., Chen, R., Sun, X., and Wang, X. (2018). Improved SMOTE algorithm to deal with imbalanced activity classes in smart homes. Neural Process. Lett.10.1007/s11063-018-9940-3 ↗
14. Fault diagnosis method based on principal component analysis and broad learning system10.1109/ACCESS.2019.2929094 ↗
15. Text classification from labeled and unlabeled documents using EM10.1023/A:1007692713085 ↗
16. KSAP: An approach to bug report assignment using KNN search and heterogeneous proximity10.1016/j.infsof.2015.10.004 ↗
17. An improved ant colony optimization algorithm based on hybrid strategies for scheduling problem10.1109/ACCESS.2019.2897580 ↗
18. A novel collaborative optimization algorithm in solving complex optimization problems10.1007/s00500-016-2071-8 ↗
19. Lim, S.L., Quercia, D., and Finkelstein, A. (2010, January 1–8). StakeNet: Using social networks to analyse the stakeholders of large-scale software projects. Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering, Cape Town, South Africa.10.1145/1806799.1806844 ↗
20. Xuan, J., Jiang, H., Ren, Z., and Zou, W. (2012, January 2–9). Developer prioritization in bug repositories. Proceedings of the 2012 34th International Conference on Software Engineering (ICSE), Zurich, Switzerland.10.1109/ICSE.2012.6227209 ↗
21. Reviewer recommendation for pull-requests in GitHub: What can we learn from code review and bug assignment?10.1016/j.infsof.2016.01.004 ↗
22. Activity Feature Solving Based on TF-IDF for Activity Recognition in Smart Homes10.1155/2019/5245373 ↗
23. Energy efficient tag identification algorithms for RFID: Survey, motivation and new design10.1109/MWC.2019.1800249 ↗
24. Study on an improved adaptive PSO algorithm for solving multi-objective gate assignment10.1016/j.asoc.2017.06.004 ↗
25. Fast splitting-based tag identification algorithm for anti-collision in UHF RFID system10.1109/TCOMM.2018.2884001 ↗
26. Treude, C., and Storey, M.A. (November, January 16–). How tagging helps bridge the gap between social and technical aspects in software development. Proceedings of the 31st International Conference on Software Engineering, Auckland, New Zealand.
27. Lo, D., Jiang, L., and Thung, F. (2012, January 22–28). Detecting similar applications with collaborative tagging. Proceedings of the 2012 28th IEEE International Conference on Software Maintenance (ICSM), Eindhoven, The Netherlands.
28. Liu, Y., Wang, X., Zhai, Z., Chen, R., Zhang, B., and Jiang, Y. Timely daily activity recognition from headmost sensor events. ISA Trans., 2019.10.1016/j.isatra.2019.04.026 ↗
29. Storey, M.A., van Deursen, A., and Cheng, L. (2010, January 7–8). The impact of social media on software engineering practices and tools. Proceedings of the FSE/SDP Workshop on Future of Software Engineering Research, Santa Fe, NM, USA.10.1145/1882362.1882435 ↗
30. A time-based approach to automatic bug report assignment10.1016/j.jss.2014.12.049 ↗
31. (2019, June 20). Improving Developer Profiling and Ranking to Enhance Bug Report Assignment. Available online: https://pdfs.semanticscholar.org/4271/186b0496caf5514ee5117552421c6049cd00.pdf.
32. (2019, June 20). Evaluating an Assistant for Creating Bug Report Assignment Recommenders. Available online: http://ceur-ws.org/Vol-1705/04-paper.pdf.
33. Automated bug assignment: Ensemble-based machine learning in large scale industrial contexts10.1007/s10664-015-9401-9 ↗
34. Tamrawi, A., Nguyen, T., Al-Kofahi, J.M., and Nguyen, T. (2011, January 5–9). Fuzzy set and cache-based approach for bug triaging. Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of Software Engineering, Szeged, Hungary.10.1145/2025113.2025163 ↗
35. Wu, W., Zhang, W., Yang, Y., and Wang, Q. (2011, January 5–8). Drex: Developer recommendation with k-nearest-neighbor search and expertise ranking. Proceedings of the 2011 18th Asia-Pacific Software Engineering Conference, Ho Chi Minh City, Vietnam.10.1109/APSEC.2011.15 ↗
36. Murphy, G., and Cubranic, D. (2004, January 20–24). Automatic bug triage using text categorization. Proceedings of the Sixteenth International Conference on Software Engineering & Knowledge Engineering, Banff, AB, Canada.
37. Matter, D., Kuhn, A., and Nierstrasz, O. (2009, January 16–17). Assigning bug reports using a vocabulary-based expertise model of developers. Proceedings of the 2009 6th IEEE International Working Conference on Mining Software Repositories, Vancouver, BC, Canada.10.1109/MSR.2009.5069491 ↗
38. Anvik, J. (2006, January 20–28). Automating bug report assignment. Proceedings of the 28th International Conference on Software Engineering, Shanghai, China.10.1145/1134285.1134457 ↗
39. Zhao, H., Yao, R., Xu, L., Yuan, Y., Li, G., and Deng, W. (2018). Study on a novel fault damage degree identification method using high-order differential mathematical morphology gradient spectrum entropy. Entropy, 20.10.3390/e20090682 ↗
40. Identify Severity Bug Report with Distribution Imbalance by CR-SMOTE and ELM10.1142/S0218194019500074 ↗
41. Chen, R., Guo, S., Wang, X., and Zhang, T. (2019). Fusion of Multi-RSMOTE with Fuzzy Integral to Classify Bug Reports with an Imbalanced Distribution. IEEE Trans. Fuzzy Syst.10.1109/TFUZZ.2019.2899809 ↗
42. Multi-label classification: An overview10.4018/jdwm.2007070101 ↗
43. Latent dirichlet allocation
44. Somasundaram, K., and Murphy, G.C. (2012, January 22–25). Automatic categorization of bug reports using latent dirichlet allocation. Proceedings of the 5th India Software Engineering Conference, Kanpur, India.10.1145/2134254.2134276 ↗
45. Xia, X., Lo, D., Wang, X., and Zhou, B. (2013, January 18–19). Tag recommendation in software information sites. Proceedings of the 2013 10th Working Conference on Mining Software Repositories (MSR), San Francisco, CA, USA.10.1109/MSR.2013.6624040 ↗
46. ML-KNN: A lazy learning approach to multi-label learning10.1016/j.patcog.2006.12.019 ↗
47. Bhattacharya, P., and Neamtiu, I. (2010, January 12–18). Fine-grained incremental learning and multi-feature tossing graphs to improve bug triaging. Proceedings of the 2010 IEEE International Conference on Software Maintenance, Timisoara, Romania.10.1109/ICSM.2010.5609736 ↗
48. Frakes, B., and Baeza-Yates, R. (1992). Information Retrieval: Data Structures & Algorithms, Prentice-Hall, Inc.