Journal article
Detecting the Locations and Predicting the Costs of Compound Architectural Debts
IEEE transactions on software engineering, pp 1-1
04 Aug 2021
Abstract
Architectural Technical Debt (ATD) refers to sub-optimal architectural design in a software system that incurs high maintenance ``interest" over time. Previous research revealed that ATD has significant negative impact on daily development. This paper contributes an approach to enable an architect to precisely locate ATDs, as well as capture the trajectory of maintenance cost on each debt, based on which, predict the cost of the debt in a future release. The ATDs are expressed in four typical patterns, which entail the core of each debt. Furthermore, we aggregate compound ATDs to capture the complicated relationship among multiple ATD instances, which should be examined together for effective refactoring solutions. We evaluate our approach on 18 real-world projects. We identified ATDs that persistently incur significant (up to 95% of) maintenance costs in most projects. The maintenance costs on the majority of debts fit into a linear regression model---indicating stable ``interest" rate. In five projects, 12.1% to 27.6% of debts fit into an exponential model, indicating increasing ``interest" rate, which deserve higher priority from architects. The regression models can accurately predict the costs of the majority of (82% to 100%) debts in the next release of a system. By aggregating related ATDs, architects can focus on a small number of cost-effective compound debts, which contain a relatively small number of source files, but account for a large portion of maintenance costs in their projects. With these capabilities, our approach can help architects make informed decisions regarding whether, where, and how to refactor for eliminating ATDs in their systems.
Metrics
Details
- Title
- Detecting the Locations and Predicting the Costs of Compound Architectural Debts
- Creators
- Lu Xiao - Stevens Institute of TechnologyYuanfang Cai - Drexel UniversityRick Kazman - University of Hawaii SystemRan Mo - Central China Normal UniversityQiong Feng - Drexel University
- Publication Details
- IEEE transactions on software engineering, pp 1-1
- Publisher
- IEEE
- Grant note
- CCF-1816594; CCF-1817267; CNS-1823074; CNS-1823177; CNS-1823214; OAC-1835292 / National Science Foundation (10.13039/100000001)
- Resource Type
- Journal article
- Language
- English
- Academic Unit
- Computer Science
- Web of Science ID
- WOS:000854591500027
- Scopus ID
- 2-s2.0-85112159655
- Other Identifier
- 991019173580304721
InCites Highlights
Data related to this publication, from InCites Benchmarking & Analytics tool:
- Collaboration types
- Domestic collaboration
- International collaboration
- Web of Science research areas
- Computer Science, Software Engineering
- Engineering, Electrical & Electronic