CODE reuse in practice: Benefiting or harming technical debt
CODE reuse in practice: Benefiting or harming technical debt
复制标题
DOI:
10.1016/j.jss.2020.110618
复制
发表时间:
2020-09-01
影响因子:
3.5
通讯作者:
Chatzigeorgiou, Alexander
中科院分区:
文献类型:
--
作者:
Feitosa, Daniel;Ampatzoglou, Apostolos;Chatzigeorgiou, Alexander
During the last years the TD community is striving to offer methods and tools for reducing the amount of TD, but also understand the underlying concepts. One popular practice that still has not been investigated in the context of TD, is software reuse. The aim of this paper is to investigate the relation between white-box code reuse and TD principal and interest. In particular, we target at unveiling if the reuse of code can lead to software with better levels of TD. To achieve this goal, we performed a case study on approximately 400 OSS systems, comprised of 897 thousand classes, and compare the levels of TD for reused and natively-written classes. The results of the study suggest that reused code usually has less TD interest; however, the amount of principal in them is higher. A synthesized view of the aforementioned results suggest that software engineers shall opt to reuse code when necessary, since apart from the established reuse benefits (i.e., cost savings, increased productivity, etc.) are also getting benefits in terms of maintenance. Apart from understanding the phenomenon per se, the results of this study provide various implications to research and practice. (C) 2020 Elsevier Inc. All rights reserved.