Mining version histories to guide software changes

Thomas Zimmermann, P. Weibgerber, Stephan Diehl, Andreas Zeller

Proceedings. 26th International Conference on Software Engineering · 2004 · 319 citations · 19 references

Concepts

TL;DR

The study applies data mining to version histories to guide programmers toward related changes. By mining change logs, the authors generate rules that suggest and predict further modifications, reveal hidden coupling, and prevent incomplete changes. The ROSE prototype correctly predicts 26 % of subsequent files and 15 % of specific functions or variables, with the top three suggestions containing a correct location 64 % of the time. No additional information.

Abstract

We apply data mining to version histories in order to guide programmers along related changes: Programmers who changed these functions also changed. . Given a set of existing changes, such rules (a) suggest and predict likely further changes, (b) show up item coupling that is indetectable by program analysis, and (c) prevent errors due to incomplete changes. After an initial change, our ROSE prototype can correctly predict 26% of further files to be changed - and 15% of the precise functions or variables. The topmost three suggestions contain a correct location with a likelihood of 64%.

References

19