Abstract
Detecting software bugs is considered to be an active area of research as bugs detected after the delivery of software is considered to be very expensive to deal with. Whenever a new software bug is detected, software developer faces extreme difficulty in detecting the exact location of the bug in the product. Identifying bugs efficiently through genetic algorithms is the active area of research nowadays. Based on the bug reports dataset, a self-operating genetic algorithm, Strength Pareto Evolutionary Algorithm (SPEA II) identifies and ranks the application files in the reference code as per their likelihood of carrying bugs. In the presented exposition, a text-mining strategy, term frequency–inverse document frequency (TFIDF) is applied for the proper ranking of application files. The ranking is based on the history-based similarity and lexical similarity within the generated report of bugs and the documentation of the application program interface (API). The striking feature of the paper is that a multi-objective approach is used to improve upon the conventional techniques such that contradictory demands of increasing the similarity index and minimizing the number of suggested classes are met simultaneously. Thus, the proposed new approach employs SPEA II as the multi-objective genetic algorithm to meet the conflicting demands and uses both history-based as well as lexical similarity for information retrieval and ranking.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
R. Almhana, W. Mkaouer, M. Kassentini, A. Ouni, Recommending relevant classes for bug reports using multi-objective search. in 31st IEEE/ACM International Conference on Automated Software Engineering—ASE (2016)
G. Salton, A. Wong, C.-S. Yang, A vector space model for automatic indexing. Commun. ACM. 18, 613–620 (1975)
C.D. Manning, P. Raghavan, H. Sch€utze, Introduction to Information Retrieval (Cambridge University Press, New York, NY, USA) (2008)
B. Ashok, J. Joy, H. Liang, S.K. Rajamani, G. Srinivasa, V. Vangala, DebugAdvisor: a recommender system for debugging. in 7th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering, ACM, pp. 373–382 (2009)
A.T. Nguyen, T.T. Nguyen, J. Al-Kofahi, H.V. Nguyen, T.N. Nguyen, A topic based approach for narrowing the search space of buggy files from a bug report. in IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 263–272 (2011)
J. Zhou, H. Zhang, D. Lo, Where should the bugs be fixed? more accurate information retrieval-based bug localization based on bug reports, in 34th International Conference on Software Engineering (ICSE), IEEE, pp. 14–24 (2012)
R.K. Saha, M. Lease, S. Khurshid, D.E. Perry, Improving bug localization using structured information retrieval, in IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 345–355 (2013)
R.K. Saha, J. Lawall, S. Khurshid, D.E. Perry, Effectiveness of information retrieval based bug localization for C programs. ICSME, 161–170 (2014)
X. Ye, R. Bunescu, C. Liu, Learning to rank relevant files for bug reports using domain knowledge, in 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, ACM, pp. 689–699 (2014)
X. Ye, R. Bunescu, C. Liu, Mapping bug reportsto relevant files: a ranking model, a fine-grained benchmark, and feature evaluation. IEEE Trans. Softw. Eng. 379–402 (2016)
M. Tamoor, S. Osama, I. Younas, S. Asif, Comparison of different multi objective evolutionary algorithms for bug localization, in International Conference on Advances on Applied Cognitive Computing—ACC (2018)
S.T. Dumais, Latent semantic analysis. Annu Rev Inf Sci Technol, 188–230 (2004)
David M. Blei, Andrew Y. Ng, Michael I. Jordan, Latent Dirichlet allocation. J. Mach. Learn. 3, 993–1002 (2003)
C. Bird, A. Bachmann, E. Aune, J. Duffy, A. Bernstein, V. Filkov, P. Devanbu, Fair and balanced? Bias in bug-fix datasets. ESEC/FSE (2009)
A. Kumar, R. Chugh, R. Girdhar, S. Aggarwal, Classification of faults in web applications using machine learning, in International Conference on Intelligent Systems, Metaheuristics and Swarm Intelligence (Hong Kong, 2017), pp. 62–67
X. Ye, R. Bunescu, C. Liu, Learning to rank relevant files for bug reports using domain knowledge, in 22nd ACM SIGSOFT International Symposium Foundation of Software Engineering (New York, NY, USA, 2014), pp. 689–699
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Sood, A. et al. (2021). Bug Localization Using Multi-objective Approach and Information Retrieval. In: Gupta, D., Khanna, A., Bhattacharyya, S., Hassanien, A.E., Anand, S., Jaiswal, A. (eds) International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol 1165. Springer, Singapore. https://doi.org/10.1007/978-981-15-5113-0_58
Download citation
DOI: https://doi.org/10.1007/978-981-15-5113-0_58
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-5112-3
Online ISBN: 978-981-15-5113-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)