Mining Version Histories to Guide Software Changes
Thomas Zimmermann · Peter Weißgerber · Stephan Diehl · Andreas Zeller

Software Engineering Chair (Prof. Zeller)
Saarland University – Computer Science
Saarland Informatics Campus
Campus E9 1 (CISPA)
66123 Saarbrücken, Germany
E-mail: zeller @ cs.uni-saarland.de
Phone: +49 681 302-70970

Deutschsprachige Startseite Page d'acceuil en français English home page
   Thomas Zimmermann, Peter Weißgerber, Stephan Diehl, and Andreas Zeller. Mining Version Histories to Guide Software Changes. Saarland University, September 2003. Proc. 26th International Conference on Software Engineering (ICSE), Edinburgh, UK, May 2004.
"After the programmer has made some changes to the ECLIPSE source, ROSE suggests locations where, in similar transactions in the past, further changes were made." (Introduction)

Get the paper in PDF format (10 pages, 690k).

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
  • suggest and predict likely further changes,
  • show up item coupling that is indetectable by program analysis, and
  • 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%.

Contents

  1. Introduction
  2. Processing Change Data
  3. Grouping Changes to Transactions
  4. From Transactions to Rules
    • Applying Rules
    • Computing Rules
  5. Some Rule Examples
  6. Evaluation
    • Evaluation Setup
    • Precision vs. Recall
    • Likelihood
    • Results: Navigation through Source Code
    • Results: Error Prevention
    • Results: Closure
    • Results: Granularity
    • Threats to Validity
  7. Related Work
  8. Conclusion and Consequences
  9. References

Download

See Also...

Imprint Privacy Policy

<webmaster@st.cs.uni-saarland.de> · http://www.st.cs.uni-saarland.de/papers/icse2004/ · Updated: 2018-04-05 13:41