Abstract
Widely used complex code refactoring tools lack a solid reasoning about the correctness of the transformations they implement, whilst interest in proven correct refactoring is ever increasing as only formal verification can provide true confidence in applying tool-automated refactoring to industrialscale code. By using our strategic rewriting based refactoring specification language, we present the decomposition of a complex transformation into smaller steps that can be expressed as instances of refactoring schemes, then we demonstrate the semi-automatic formal verification of the components based on a theoretical understanding of the semantics of the programming language. The extensible and verifiable refactoring definitions can be executed in our interpreter built on top of a static analyser framework.
Cite
CITATION STYLE
Horpácsi, D., Koszegi, J., & Horváth, Z. (2017). Trustworthy refactoring via decomposition and schemes: A complex case study. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 253, pp. 92–108). Open Publishing Association. https://doi.org/10.4204/EPTCS.253.8
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.