Supporting process undo and redo in software engineering decision making
Supporting process undo and redo in software engineering decision making
复制标题
支持软件工程决策中的流程撤消和重做
DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
L. Osterweil
中科院分区:
文献类型:
--
作者:
Xiang Zhao;Yuriy Brun;L. Osterweil
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.