Potential Technical Debt and Its Resolution in Code Reviews: An Exploratory Study of the OpenStack and Qt Communities
Liming Fu, Peng Liang, Zeeshan Rasheed, Zengyang Li, Amjed Tahir,, Xiaofeng Han

TL;DR
This study explores the detection and resolution of Potential Technical Debt in code reviews within open-source projects, revealing that most PTD is resolved quickly, mainly through refactoring, but some remains unresolved, impacting long-term code quality.
Contribution
It provides an empirical analysis of PTD in code reviews, highlighting its types, resolution rates, and practices, which was previously underexplored in open-source communities.
Findings
81% of PTD identified in reviews is resolved by developers
Most PTD is resolved within one week
Code refactoring is the primary resolution practice
Abstract
Technical Debt (TD) refers to the situation where developers make trade-offs to achieve short-term goals at the expense of long-term code quality, which can have a negative impact on the quality of software systems. In the context of code review, such sub-optimal implementations have chances to be timely resolved during the review process before the code is merged. Therefore, we could consider them as Potential Technical Debt (PTD) since PTD will evolve into TD when it is injected into software systems without being resolved. To date, little is known about the extent to which PTD is identified in code reviews. To this end, we conducted an exploratory study in an attempt to understand the nature of PTD in code reviews and track down the resolution of PTD after being identified. We randomly collected 2,030 review comments from the Nova project of OpenStack and the Qt Base project of Qt.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Open Source Software Innovations · Software Engineering Techniques and Practices
