Authors
Walid M Ibrahim, Nicolas Bettenburg, Bram Adams, Ahmed E Hassan
Publication date
2012/10/1
Journal
Journal of Systems and Software
Volume
85
Issue
10
Pages
2293-2304
Publisher
Elsevier
Description
When changing source code, developers sometimes update the associated comments of the code (a consistent update), while at other times they do not (an inconsistent update). Similarly, developers sometimes only update a comment without its associated code (an inconsistent update). The relationship of such comment update practices and software bugs has never been explored empirically. While some (in)consistent updates might be harmless, software engineering folklore warns of the risks of inconsistent updates between code and comments, because these updates are likely to lead to out-of-date comments, which in turn might mislead developers and cause the introduction of bugs in the future. In this paper, we study comment update practices in three large open-source systems written in C (FreeBSD and PostgreSQL) and Java (Eclipse). We find that these practices can better explain and predict future …
Total citations
2012201320142015201620172018201920202021202220232024113394476121393
Scholar articles
WM Ibrahim, N Bettenburg, B Adams, AE Hassan - Journal of Systems and Software, 2012