Manual refactoring changes with automated refactoring validation

Manual refactoring changes with automated refactoring validation
复制标题

通过自动重构验证进行手动重构更改

DOI:
--
复制
发表时间:
2014
期刊:
International Conference on Software Engineering
影响因子:
--
通讯作者:
E. Murphy
E. Murphy
中科院分区:
--
文献类型:
--
作者:
Xi Ge;E. Murphy

文献摘要

参考文献

被引文献

相似文献

重构,即对现有代码应用保留行为的更改的实践,可以提高软件系统的质量。重构工具可以自动执行重构并检查重构的正确性。然而,即使开发人员拥有这些工具,他们仍然手动执行大约90%的重构,这很容易出错。为了解决这个问题,我们提出了一种名为Ghost Factor分离转换和正确性检查的技术:允许开发人员手动转换代码,但自动检查转换的正确性。我们将我们的技术实现为一个Visual Studio插件,然后通过对8名软件开发人员的人工研究对其进行评估;Ghost Factor将手动重构的正确性提高了67%。
Refactoring, the practice of applying behavior-preserving changes to existing code, can enhance the quality of software systems. Refactoring tools can automatically perform and check the correctness of refactorings. However, even when developers have these tools, they still perform about 90% of refactorings manually, which is error-prone. To address this problem, we propose a technique called GhostFactor separating transformation and correctness checking: we allow the developer to transform code manually, but check the correctness of her transformation automatically. We implemented our technique as a Visual Studio plugin, then evaluated it with a human study of eight software developers; GhostFactor improved the correctness of manual refactorings by 67%.
DOI: 10.1145/1932682.1869485
发表时间: 2010
影响因子: --
作者:
Schaefer M
通讯作者: Schaefer M