On Preserving the Behavior in Software Refactoring: A Systematic Mapping Study

06/25/2021
by   Eman Abdullah AlOmar, et al.
0

Context: Refactoring is the art of modifying the design of a system without altering its behavior. The idea is to reorganize variables, classes and methods to facilitate their future adaptations and comprehension. As the concept of behavior preservation is fundamental for refactoring, several studies, using formal verification, language transformation and dynamic analysis, have been proposed to monitor the execution of refactoring operations and their impact on the program semantics. However, there is no existing study that examines the available behavior preservation strategies for each refactoring operation. Objective: This paper identifies behavior preservation approaches in the research literature. Method: We conduct, in this paper, a systematic mapping study, to capture all existing behavior preservation approaches that we classify based on several criteria including their methodology, applicability, and their degree of automation. Results: The results indicate that several behavior preservation approaches have been proposed in the literature. The approaches vary between using formalisms and techniques, developing automatic refactoring safety tools, and performing a manual analysis of the source code. Conclusion: Our taxonomy reveals that there exist some types of refactoring operations whose behavior preservation is under-researched. Our classification also indicates that several possible strategies can be combined to better detect any violation of the program semantics.

READ FULL TEXT

page 18

page 19

research
10/19/2017

Robust Hyperproperty Preservation for Secure Compilation (Extended Abstract)

We map the space of soundness criteria for secure compilation based on t...
research
02/05/2007

Shape preservation behavior of spline curves

Shape preservation behavior of a spline consists of criterial conditions...
research
05/27/2023

External Behavior of a Logic Program and Verification of Refactoring

Refactoring is modifying a program without changing its external behavio...
research
10/02/2021

Evaluating Code Readability and Legibility: An Examination of Human-centric Studies

Reading code is an essential activity in software maintenance and evolut...
research
12/08/2020

Deterministic Privacy Preservation in Static Average Consensus Problem

In this paper we consider the problem of privacy preservation in the sta...
research
09/14/2020

Advanced Virus Monitoring and Analysis System

This research proposed an architecture and a system which able to monito...
research
06/24/2019

Assessing the Applicability of Authorship Verification Methods

Authorship verification (AV) is a research subject in the field of digit...

Please sign up or login with your details

Forgot password? Click here to reset