Evolution of code technical debt in microservices architectures

被引:1
作者
Maggi, Kevin [1 ]
Verdecchia, Roberto [1 ]
Scommegna, Leonardo [1 ]
Vicario, Enrico [1 ]
机构
[1] Univ Florence, Dept Informat Engn, Via S Marta 3, I-50139 Florence, Italy
关键词
Microservice; Technical debt; Software evolution; TIME-SERIES; MANAGEMENT; SMELLS;
D O I
10.1016/j.jss.2024.112301
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: Microservices are gaining significant traction in academic research and industry due to their advantages, and technical debt has long been a heavily researched metric in software quality context. However, to date, no study has attempted to understand how code technical debt evolves in such architectures. Aim: This research aims to understand how technical debt evolves over time in microservice architectures by investigating its trends, patterns, and potential relations with microservices number. Method: We analyze the technical debt evolution of 13 open-source projects. We collect data from systems through automated source code analysis, statistically analyze results to identify technical debt trends and correlations with microservices number, and conduct a subsequent manual commit inspection. Results: Technical debt increases over time, with periods of stability. The growth is related to microservices number, but its rate is not. The analysis revealed trend differences during initial development phases and later stages. Different activities can introduce technical debt, while its removal relies mainly on refactoring. Conclusions: Microservices independence is fundamental to maintain the technical debt under control, keeping it compartmentalized. The findings underscore the importance of technical debt management strategies to support the long-term success of microservices.
引用
收藏
页数:19
相关论文
共 77 条
[1]  
Akaike H., 1973, 2 INT S INF THEOR, P267, DOI [10.1007/978-1-4612-1694-015, DOI 10.1007/978-1-4612-1694-015]
[2]  
Alenezi M, 2016, INT J ADV COMPUT SC, V7, P550
[3]  
Alves Nicolli S. R., 2014, 2014 Sixth International Workshop on Managing Technical Debt. Proceedings, P1, DOI 10.1109/MTD.2014.9
[4]   Identification and management of technical debt: A systematic mapping study [J].
Alves, Nicolli S. R. ;
Mendes, Thiago S. ;
de Mendonca, Manoel G. ;
Spinola, Rodrigo O. ;
Shull, Forrest ;
Seaman, Carolyn .
INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 70 :100-121
[5]   Evaluating the agreement among technical debt measurement tools: building an empirical benchmark of technical debt liabilities [J].
Amanatidis, Theodoros ;
Mittas, Nikolaos ;
Moschou, Athanasia ;
Chatzigeorgiou, Alexander ;
Ampatzoglou, Apostolos ;
Angelis, Lefteris .
EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) :4161-4204
[6]  
Diaz-Pace JA, 2020, 2020 IEEE CONGRESO BIENAL DE ARGENTINA, ARGENCON, DOI 10.1109/ARGENCON49523.2020.9505535
[7]  
[Anonymous], 2019, Microservices patterns: with examples in Java
[8]  
[Anonymous], 1994, Encyclopedia of software engineering
[9]   How do microservices evolve? An empirical analysis of changes in open-source microservice repositories [J].
Assuncao, Wesley K. G. ;
Kruger, Jacob ;
Mosser, Sebastien ;
Selaoui, Sofiane .
JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 204
[10]  
Avgeriou P., 2016, Dagstuhl Reports, V6, P110, DOI DOI 10.4230/DAGREP.6.4.110