Published January 1, 2018
| Version v1
Conference paper
Open
Identifying Bug-Inducing Changes for Code Additions
Creators
- 1. Istanbul Tech Univ, Fac Comp & Informat Engn, Istanbul, Turkey
Description
Background. SZZ algorithm has been popularly used to identify bug-inducing changes in version history. It is still limited to link a fixing change to an inducing one, when the fix constitutes of code additions only. Goal. We improve the original SZZ by proposing a way to link the code additions in a fixing change to a list of candidate inducing changes. Method. The improved version, A-SZZ, finds the code block encapsulating the new code added in a fixing change, and traces back to the historical changes of the code block. We mined the GitHub repositories of two projects, Angular.js and Vue, and ran A-SZZ to identify bug-inducing changes of code additions. We evaluated the effectiveness of A-SZZ in terms of inducing and fixing ratios, and time span between the two changes. Results. The approach works well for linking code additions with previous changes, although it still produces many false positives. Conclusions. Nearly a quarter of the files in fixing changes contain code additions only, and hence, new heuristics should be implemented to link those with inducing changes in a more efficient way.
Files
bib-2c4e79cc-fff9-444b-803e-55067a67cd42.txt
Files
(201 Bytes)
| Name | Size | Download all |
|---|---|---|
|
md5:e6d823dd7c3d80a22f9cc030be28c8da
|
201 Bytes | Preview Download |