Supporting process undo and redo in software engineering decision making

  • Authors:
  • Xiang Zhao;Yuriy Brun;Leon J. Osterweil

  • Affiliations:
  • University of Massachusetts at Amherst, USA;University of Massachusetts at Amherst, USA;University of Massachusetts at Amherst, USA

  • Venue:
  • Proceedings of the 2013 International Conference on Software and System Process
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a provenance-based approach for supporting undo and redo for software engineers. Writing software entails creating and reworking intricately intertwined software artifacts. After discovering a mistake in an earlier-completed task, a developer may wish to redo this task, but without undoing much of the work done since. Unfortunately, state-of-the-practice undo and redo mechanisms force the developer to manually redo the work completed since the mistake. This can cause considerable extra, often error-prone work. We propose tracking the software engineering process provenance data, and using it to enable (1) undoing tasks by reverting the state of the process execution, (2) revisiting an old task while storing the provenance of undone tasks, and (3) automatically redoing those undone tasks that are consistent with the revision. Our case study of a developer performing a well-understood but complex refactoring demonstrates how our approach can greatly reduce the cost of mistakes made early but discovered late.