A Post-Placement Side-Effect Removal Algorithm

Mark Harman, Lin Hu, Robert Mark Hierons, Xingyuan Zhang, Malcolm Munro, Jos'e Javier Dolado, Mari Carmen Otero, Joachim Wegener

Research output: Chapter in Book/Report/Conference proceedingConference paper

10 Citations (Scopus)

Abstract

Side-effects are widely believed to impede program comprehension and have a detrimental effect upon software maintenance. This paper introduces an algorithm for side-effect removal which splits the side-effects into their pure expression meaning and their state-changing meaning. Symbolic execution is used to determine the expression meaning, while transformation is used to place the state-changing part in a suitable location in a transformed version of the program. This creates a program which is semantically equivalent to the original but guaranteed to be free from side-effects. The paper also reports the results of an empirical study which demonstrates that the application of the algorithm causes a significant improvement in program comprehension.
Original languageEnglish
Title of host publicationIEEE International Conference on Software Maintenance
Subtitle of host publicationproceedings : October 3-6, 2002, Montreal, Quebec, Canada
Place of PublicationLos Alamitos, California, USA
PublisherIEEE Computer Society Press
Pages2-11
Number of pages10
VolumeN/A
EditionN/A
ISBN (Print) 0769518192
DOIs
Publication statusPublished - 2002

Fingerprint

Dive into the research topics of 'A Post-Placement Side-Effect Removal Algorithm'. Together they form a unique fingerprint.

Cite this