Exploring the Intersection between Software Maintenance and Machine Learning—A Systematic Mapping Study
Source abstract
Abstract
While some areas of software engineering knowledge present great advances with respect to the automation of processes, tools, and practices, areas such as software maintenance have scarcely been addressed by either industry or academia, thus delegating the solution of technical tasks or human capital to manual or semiautomatic forms. In this context, machine learning (ML) techniques play an important role when it comes to improving maintenance processes and automation practices that can accelerate delegated but highly critical stages when the software launches. The aim of this article is to gain a global understanding of the state of ML-based software maintenance by using the compilation, classification, and analysis of a set of studies related to the topic. The study was conducted by applying a systematic mapping study protocol, which was characterized by the use of a set of stages that strengthen its replicability. The review identified a total of 3776 research articles that were subjected to four filtering stages, ultimately selecting 81 articles that were analyzed thematically. The results reveal an abundance of proposals that use neural networks applied to preventive maintenance and case studies that incorporate ML in subjects of maintenance management and management of the people who carry out these tasks. In the same way, a significant number of studies lack the minimum characteristics of replicability.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Software Engineering Research · Software Reliability and Analysis Research · Software Engineering Techniques and Practices
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Informatics, Universidad de La Frontera, Temuco 4811230, Chile
Funding
Universidad de La Frontera
References (100+)
Show source-provided references
1. Bourque, P., and Fairley, R.E. (2014). Technical Report, IEEE Computer Society.
2. Van Vliet, H., Van Vliet, H., and Van Vliet, J. (2008). Software Engineering: Principles and Practice, John Wiley & Sons.
3. Leveraging legacy system dollars for e-business10.1109/6294.846201 ↗
4. The 2021 Software Developer Shortage is Coming10.1145/3440753 ↗
5. Gallagher, K., Fioravanti, M., and Kozaitis, S. (October, January 29). Teaching Software Maintenance. Proceedings of the 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME), Cleveland, OH, USA.10.1109/ICSME.2019.00054 ↗
6. The role of method chains and comments in software readability and comprehension—An experiment10.1109/TSE.2016.2527791 ↗
7. The use of software complexity metrics in software maintenance10.1109/TSE.1987.233164 ↗
8. Frequently forgotten fundamental facts about software engineering
9. The financial aspect of managing technical debt: A systematic literature review10.1016/j.infsof.2015.04.001 ↗
10. A systematic literature review of machine learning techniques for software maintainability prediction10.1016/j.infsof.2019.106214 ↗
11. Lenarduzzi, V., Sillitti, A., and Taibi, D. (2017, January 20–28). Analyzing Forty Years of Software Maintenance Models. Proceedings of the 39th International Conference on Software Engineering Companion, Buenos Aires, Argentina.10.1109/ICSE-C.2017.122 ↗
12. Petersen, K., Feldt, R., Mujtaba, S., and Mattsson, M. (2008, January 26–27). Systematic mapping studies in software engineering. Proceedings of the Evaluation and Assessment in Software Engineering (EASE), Bari, Italy.10.14236/ewic/EASE2008.8 ↗
13. Guidelines for conducting systematic mapping studies in software engineering: An update10.1016/j.infsof.2015.03.007 ↗
14. A systematic literature review of actionable alert identification techniques for automated static code analysis10.1016/j.infsof.2010.12.007 ↗
15. Penzenstadler, B., Raturi, A., Richardson, D., Calero, C., Femmer, H., and Franch, X. (2014, January 13–14). Systematic mapping study on software engineering for sustainability (SE4S). Proceedings of the 18th International Conference on Evaluation and Assessment in Software Engineering, London, UK.10.1145/2601248.2601256 ↗
16. Malhotra, R., and Bansal, A. (2015, January 2–4). Predicting change using software metrics: A review. Proceedings of the 2015 4th International Conference on Reliability, Infocom Technologies and Optimization (ICRITO)(Trends and Future Directions), Noida, India.10.1109/ICRITO.2015.7359253 ↗
17. A systematic review of requirements change management10.1016/j.infsof.2017.09.004 ↗
18. Alsolai, H., and Roper, M. (2019, January 19–21). A systematic review of feature selection techniques in software quality prediction. Proceedings of the 2019 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Ras Al Khaimah, United Arab Emirates.10.1109/ICECTA48151.2019.8959566 ↗
19. Machine learning techniques for code smells detection: A systematic mapping study10.1142/S021819401950013X ↗
20. A systematic literature review of machine learning methods applied to predictive maintenance10.1016/j.cie.2019.106024 ↗
21. A systematic literature review of techniques and metrics to reduce the cost of mutation testing10.1016/j.jss.2019.07.100 ↗
22. Machine learning techniques for code smell detection: A systematic literature review and meta-analysis10.1016/j.infsof.2018.12.009 ↗
23. A systematic literature review on the detection of smells and their evolution in object-oriented and service-oriented systems10.1002/spe.2639 ↗
24. Systematic review of bug report processing techniques to improve software management performance
25. Alfayez, R., Alwehaibi, W., Winn, R., Venson, E., and Boehm, B. (2020, January 28–30). A systematic literature review of technical debt prioritization. Proceedings of the 3rd International Conference on Technical Debt, Seoul, Republic of Korea.10.1145/3387906.3388630 ↗
26. A systematic review of unsupervised learning techniques for software defect prediction10.1016/j.infsof.2020.106287 ↗
27. The WyCash portfolio management system10.1145/157710.157715 ↗
28. Kruchten, P., Nord, R., and Ozkaya, I. (2019). Managing Technical Debt: Reducing Friction in Software Development, Addison-Wesley Professional.
29. Zazworka, N., Shaw, M.A., Shull, F., and Seaman, C. (2011, January 23). Investigating the Impact of Design Debt on Software Quality. Proceedings of the 2nd Workshop on Managing Technical Debt, Waikiki, HI, USA.10.1145/1985362.1985366 ↗
30. Nacchia, M., Fruggiero, F., Lambiase, A., and Bruton, K. (2021). A Systematic Mapping of the Advancing Use of Machine Learning Techniques for Predictive Maintenance in the Manufacturing Sector. Appl. Sci., 11.10.3390/app11062546 ↗
31. Petticrew, M., and Roberts, H. (2006). Systematic Reviews in the Social Sciences: A Practical Guide, John Wiley and Sons.10.1002/9780470754887 ↗
32. Kitchenham, B., and Charters, S. (2007). Technical Report, School of Computer Science and Mathematics Keele University Keele.
33. Inter-rater reliability: Dependency on trait prevalence and marginal homogeneity
34. Ancán Bastías, O., Díaz Arancibia, J., and Lopez Fenner, J. (2022, December 05). Exploring the Intersection Between Software Maintenance and Machine Learning—A Systematic Mapping Study. Available online: https://zenodo.org/record/7449154#.Y8SfeHZBxPY.
35. (2022). ISO/IEC/IEEE. ISO/IEC/IEEE 14764:2022(en), ISO. Software Engineering—Software Life Cycle Processes—Maintenance.
36. Opdyke, W.F. (1992). Refactoring Object-Oriented Frameworks, University of Illinois at Urbana-Champaign.
37. Tripathy, P., and Naik, K. (2014). Software Evolution and Maintenance: A Practitioner’s Approach, John Wiley & Sons.10.1002/9781118964637 ↗
38. Beck, K. (2003). Test-Driven Development: By Example, Addison-Wesley Professional.
39. A metrics suite for object oriented design10.1109/32.295895 ↗
40. Fowler, M., Beck, K., Brant, J., Opdyke, W., and Roberts, D. (1999). Refactoring: Improving the Design of Existing Code, Addison-Wesley Professional. [1st ed.].
41. Mantyla, M., Vanhanen, J., and Lassenius, C. (2003, January 22–26). A taxonomy and an initial empirical study of bad smells in code. Proceedings of the International Conference on Software Maintenance, 2003. ICSM 2003. Proceedings, Amsterdam, The Netherlands.
42. Lanza, M., and Marinescu, R. (2006). Object-Oriented Metrics in Practice: Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems, Springer Science & Business Media.
43. Fakhoury, S., Roy, D., Hassan, A., and Arnaoudova, V. (2019, January 25–26). Improving Source Code Readability: Theory and Practice. Proceedings of the 2019 IEEE/ACM 27th International Conference on Program Comprehension (ICPC), Montreal, QC, Canada.10.1109/ICPC.2019.00014 ↗
44. Cedrim, D., Garcia, A., Mongiovi, M., Gheyi, R., Sousa, L., de Mello, R., Fonseca, B., Ribeiro, M., and Chávez, A. (2017, January 4–8). Understanding the impact of refactoring on smells: A longitudinal study of 23 software projects. Proceedings of the 2017 11th Joint Meeting on foundations of Software Engineering, Paderborn, Germany.10.1145/3106237.3106259 ↗
45. A framework for evaluating the results of the szz approach for identifying bug-introducing changes
46. Mahmoudi, M., Nadi, S., and Tsantalis, N. (2019, January 24–27). Are refactorings to blame? An empirical study of refactorings in merge conflicts. Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER), Hangzhou, China.10.1109/SANER.2019.8668012 ↗
47. Ancán, O., and Cares, C. (2018, January 17–19). Are Relevant the Code Smells on Maintainability Effort? A Laboratory Experiment. Proceedings of the 2018 IEEE International Conference on Automation/XXIII Congress of the Chilean Association of Automatic Control (ICA-ACCA), Concepcion, Chile.10.1109/ICA-ACCA.2018.8609845 ↗
48. A longitudinal study of development and maintenance10.1016/j.infsof.2010.03.003 ↗
49. Lehman, M., Ramil, J., Wernick, P., Perry, D., and Turski, W. (1997, January 5–7). Metrics and laws of software evolution-the nineties view. Proceedings of the Proceedings Fourth International Software Metrics Symposium, Albuquerque, NM, USA.
50. Cost Optimization of Periodic Preventive Maintenance10.1109/TR.1986.4335355 ↗
51. Yamashita, A. (2013, January 22–28). How Good Are Code Smells for Evaluating Software Maintainability? Results from a Comparative Case Study. Proceedings of the 2013 IEEE International Conference on Software Maintenance, Eindhoven, Netherlands.10.1109/ICSM.2013.97 ↗
52. Yamashita, A., and Moonen, L. (2012, January 23–28). Do code smells reflect important maintainability aspects?. Proceedings of the 2012 28th IEEE International Conference on Software Maintenance (ICSM), Trento, Italy.10.1109/ICSM.2012.6405287 ↗
53. Revisiting the debate: Are code metrics useful for measuring maintenance effort?10.1007/s10664-022-10193-8 ↗
54. Rajeswari, K., and Anantharaman, R. (2003, January 10–12). Development of an instrument to measure stress among software professionals: Factor analytic study. Proceedings of the 2003 SIGMIS Conference on Computer Personnel Research: Freedom in Philadelphia–Leveraging Differences and Diversity in the IT Workforce, Pennsylvania, Philadelphia.10.1145/761849.761855 ↗
55. Amin, A., Basri, S., Hassan, M.F., and Rehman, M. (2011, January 19–20). Software engineering occupational stress and knowledge sharing in the context of global software development. Proceedings of the IEEE 2011 National Postgraduate Conference, Perak, Malaysia.10.1109/NatPC.2011.6136269 ↗
56. Luiz, F.C., de Oliveira Rodrigues, B.R., and Parreiras, F.S. (2019, January 20–24). Machine learning techniques for code smells detection: An empirical experiment on a highly imbalanced setup. Proceedings of the XV Brazilian Symposium on Information Systems, Aracaju, Brazil.10.1145/3330204.3330275 ↗
57. Izu, C., Schulte, C., Aggarwal, A., Cutts, Q., Duran, R., Gutica, M., Heinemann, B., Kraemer, E., Lonati, V., and Mirolo, C. (2019, January 15–17). Fostering Program Comprehension in Novice Programmers—Learning Activities and Learning Trajectories. Proceedings of the Working Group Reports on Innovation and Technology in Computer Science Education, Aberdeen, UK.10.1145/3344429.3372501 ↗
58. Suryanarayana, G., Samarthyam, G., and Sharma, T. (2015). Refactoring for Software Design Smells, Morgan Kaufmann.10.1016/B978-0-12-801397-7.00002-3 ↗
59. Jansen, A., Malavolta, I., Muccini, H., Ozkaya, I., and Zimmermann, O. (2020). Proceedings of the Software Architecture, Springer International Publishing. Lecture Notes in Computer Science.10.1007/978-3-030-58923-3 ↗
60. Fontana, F.A., Ferme, V., Zanoni, M., and Yamashita, A. (2015, January 17). Automatic Metric Thresholds Derivation for Code Smell Detection. Proceedings of the 2015 IEEE/ACM 6th International Workshop on Emerging Trends in Software Metrics, Florence, Italy.
61. On the Reproducibility and Replicability of Deep Learning in Software Engineering
62. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B., and Wesslén, A. (2012). Experimentation in Software Engineering, Springer Science & Business Media. [1st ed.].10.1007/978-3-642-29044-2 ↗
63. Systematic literature reviews in software engineering—A systematic literature review10.1016/j.infsof.2008.09.009 ↗
64. A defect estimator for source code: Linking defect reports with programming constructs usage metrics10.1145/3384517 ↗
65. Zhang, T., and Lee, B. (2013, January 18–22). A hybrid bug triage algorithm for developer recommendation. Proceedings of the 28th annual ACM symposium on applied computing, Coimbra, Portugal.10.1145/2480362.2480568 ↗
66. Rongrong, S., Liping, Z., and Fengrong, Z. (2019, January 12–14). A Method for Identifying and Recommending Reconstructed Clones. Proceedings of the 2019 3rd International Conference on Management Engineering, Software Engineering and Service Sciences, Wuhan, China.10.1145/3312662.3312709 ↗
67. Roy, D., Fakhoury, S., Lee, J., and Arnaoudova, V. (2020, January 13–15). A model to detect readability improvements in incremental changes. Proceedings of the 28th International Conference on Program Comprehension, Seoul, Republic of Korea.10.1145/3387904.3389255 ↗
68. Liu, B., Wang, T., Zhang, X., Fan, Q., Yin, G., and Deng, J. (2019, January 28–29). A neural-network based code summarization approach by using source code and its call dependencies. Proceedings of the 11th Asia-Pacific Symposium on Internetware, Fukuoka, Japan.10.1145/3361242.3362774 ↗
69. Lujan, S., Pecorelli, F., Palomba, F., De Lucia, A., and Lenarduzzi, V. (2020, January 13). A preliminary study on the adequacy of static analysis warnings with respect to code smell prediction. Proceedings of the 4th ACM SIGSOFT International Workshop on Machine-Learning Techniques for Software-Quality Evaluation, Virtual.10.1145/3416505.3423559 ↗
70. Panichella, A., Alexandru, C.V., Panichella, S., Bacchelli, A., and Gall, H.C. (2016, January 20–24). A search-based training algorithm for cost-aware defect prediction. Proceedings of the Genetic and Evolutionary Computation Conference 2016, Denver, CO, USA.10.1145/2908812.2908938 ↗
71. Reimann, L., and Kniesel-Wünsche, G. (2020, January 23–26). Achieving guidance in applied machine learning through software engineering techniques. Proceedings of the Conference Companion of the 4th International Conference on Art, Science, and Engineering of Programming, Porto, Portugal.10.1145/3397537.3397552 ↗
72. Thung, F., Le, X.B.D., and Lo, D. (2015, January 18–19). Active semi-supervised defect categorization. Proceedings of the 2015 IEEE 23rd International Conference on Program Comprehension, Florence, Italy.10.1109/ICPC.2015.15 ↗
73. Palomba, F., Zaidman, A., Oliveto, R., and De Lucia, A. (2017, January 22–23). An exploratory study on the relationship between changes and refactoring. Proceedings of the 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC), Buenos Aires, Argentina.10.1109/ICPC.2017.38 ↗
74. Oliveira, D., Assunção, W.K., Souza, L., Oizumi, W., Garcia, A., and Fonseca, B. (2020, January 21–23). Applying Machine Learning to Customized Smell Detection: A Multi-Project Study. Proceedings of the 34th Brazilian Symposium on Software Engineering, Natal, Brazil.10.1145/3422392.3422427 ↗
75. Xiao, Y., Keung, J., Mi, Q., and Bennin, K.E. (2018, January 28–29). Bug localization with semantic and structural features using convolutional neural network and cascade forest. Proceedings of the 22nd International Conference on Evaluation and Assessment in Software Engineering 2018, Christchurch, New Zealand.10.1145/3210459.3210469 ↗
76. Mostaeen, G., Svajlenko, J., Roy, B., Roy, C.K., and Schneider, K.A. (2019, January 26–30). Clonecognition: Machine learning based code clone validation tool. Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Tallinn, Estonia.10.1145/3338906.3341182 ↗
77. Koch, P., Schekotihin, K., Jannach, D., Hofer, B., Wotawa, F., and Schmitz, T. (June, January 27). Combining spreadsheet smells for improved fault prediction. Proceedings of the 40th International Conference on Software Engineering: New Ideas and Emerging Results, Gothenburg, Sweden.
78. Pecorelli, F., Palomba, F., Di Nucci, D., and De Lucia, A. (2019, January 25–26). Comparing heuristic and machine learning approaches for metric-based code smell detection. Proceedings of the 2019 IEEE/ACM 27th International Conference on Program Comprehension (ICPC), Montreal, QC, Canada.10.1109/ICPC.2019.00023 ↗
79. Deepwukong: Statically detecting software vulnerabilities using deep graph neural network10.1145/3436877 ↗
80. Cruz, D., Santana, A., and Figueiredo, E. (2020, January 28–30). Detecting bad smells with machine learning algorithms: An empirical study. Proceedings of the 3rd International Conference on Technical Debt, Seoul, Republic of Korea.10.1145/3387906.3388618 ↗
81. Fang, C., Liu, Z., Shi, Y., Huang, J., and Shi, Q. (2020, January 18–22). Functional code clone detection with syntax and semantics fusion learning. Proceedings of the 29th ACM SIGSOFT International Symposium on Software Testing and Analysis, Virtual Event, USA.10.1145/3395363.3397362 ↗
82. Improving bug detection via context-based code representation learning and attention-based neural networks10.1145/3360588 ↗
83. Cunha, W.S., Armijo, G.A., and de Camargo, V.V. (2020, January 21–23). InSet: A Tool to Identify Architecture Smells Using Machine Learning. Proceedings of the 34th Brazilian Symposium on Software Engineering, Natal, Brazil.10.1145/3422392.3422507 ↗
84. Santos, G., Figueiredo, E., Veloso, A., Viggiato, M., and Ziviani, N. (2020, January 1–4). Predicting software defects with explainable machine learning. Proceedings of the 19th Brazilian Symposium on Software Quality, São Luís, Brazil.10.1145/3439961.3439979 ↗
85. Tummalapalli, S., Kumar, L., and Murthy, N.B. (2020, January 27–29). Prediction of web service anti-patterns using aggregate software metrics and machine learning techniques. Proceedings of the 13th Innovations in Software Engineering Conference on Formerly known as India Software Engineering Conference, Jabalpur, India.10.1145/3385032.3385042 ↗
86. Grigoriou, M., Kontogiannis, K., Giammaria, A., and Brealey, C. (2020, January 10–13). Report on evaluation experiments using different machine learning techniques for defect prediction. Proceedings of the 30th Annual International Conference on Computer Science and Software Engineering, Toronto, ON, Canada.
87. Soltanifar, B., Akbarinasaji, S., Caglayan, B., Bener, A.B., Filiz, A., and Kramer, B.M. (2016, January 11–13). Software analytics in practice: A defect prediction model using code smells. Proceedings of the 20th International Database Engineering & Applications Symposium, Montreal, QC, Canada.10.1145/2938503.2938553 ↗
88. Gao, Y., and Yang, C. (2016, January 23–25). Software defect prediction based on manifold learning in subspace selection. Proceedings of the 2016 International Conference on Intelligent Information Processing, Wuhan, China.10.1145/3028842.3028859 ↗
89. Murtaza, S.S., Hamou-Lhadj, A., Madhavji, N.H., and Gittens, M. (2015, January 16–24). Towards an emerging theory for the diagnosis of faulty functions in function-call traces. Proceedings of the Fourth SEMAT Workshop on General Theory of Software Engineering, Florence, Italy.
90. Rantala, L. (2020, January 5–11). Towards better technical debt detection with NLP and machine learning methods. Proceedings of the 2020 IEEE/ACM 42nd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), Seoul, Republic of Korea.10.1145/3377812.3381404 ↗
91. Lima, R., Souza, J., Fonseca, B., Teixeira, L., Gheyi, R., Ribeiro, M., Garcia, A., and de Mello, R. (2020, January 21–23). Understanding and Detecting Harmful Code. Proceedings of the 34th Brazilian Symposium on Software Engineering, Natal, Brazil.10.1145/3422392.3422420 ↗
92. Pinto, G., Miranda, B., Dissanayake, S., d’Amorim, M., Treude, C., and Bertolino, A. (2020, January 29–30). What is the vocabulary of flaky tests?. Proceedings of the 17th International Conference on Mining Software Repositories, Seoul, Republic of Korea.10.1145/3379597.3387482 ↗
93. Wang, X., Wang, S., Sun, K., Batcheller, A., and Jajodia, S. (July, January 29). A machine learning approach to classify security patches into vulnerability types. Proceedings of the 2020 IEEE Conference on Communications and Network Security (CNS), Avignon, France.10.1109/CNS48642.2020.9162237 ↗
94. Tian, J., and Tian, Y. (2020, January 3–6). A model based on program slice and deep learning for software defect prediction. Proceedings of the IEEE 2020 29th International Conference on Computer Communications and Networks (ICCCN), Honolulu, HI, USA.10.1109/ICCCN49398.2020.9209658 ↗
95. A novel four-way approach designed with ensemble feature selection for code smell detection10.1109/ACCESS.2021.3049823 ↗
96. Wan, J., Li, Q., Wang, L., He, L., and Li, Y. (2017, January 24–26). A self-adaptation framework for dealing with the complexities of software changes. Proceedings of the 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China.10.1109/ICSESS.2017.8342969 ↗
97. Malhotra, R., and Khan, K. (2020, January 4–5). A study on software defect prediction using feature extraction techniques. Proceedings of the IEEE 2020 8th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions)(ICRITO), Noida, India.10.1109/ICRITO48877.2020.9197999 ↗
98. Kumar, L., and Sureka, A. (2017, January 15–17). Aging related bug prediction using extreme learning machines. Proceedings of the IEEE 2017 14th IEEE India Council International Conference (INDICON), Roorkee, India.10.1109/INDICON.2017.8487925 ↗
99. Liu, Q., Xiang, J., Xu, B., Zhao, D., Hu, W., and Wang, J. (2020, January 28–29). Aging-Related Bugs Prediction Via Convolutional Neural Network. Proceedings of the IEEE 2020 7th International Conference on Dependable Systems and Their Applications (DSA), Xi’an, China.10.1109/DSA51864.2020.00020 ↗
100. Gupta, H., Kumar, L., and Neti, L.B.M. (2019, January 13–15). An empirical framework for code smell prediction using extreme learning machine. Proceedings of the IEEE 2019 9th Annual Information Technology, Electromechanical Engineering and Microelectronics Conference (IEMECON), Jaipur, India.10.1109/IEMECONX.2019.8877082 ↗