Authors
Mark Harman, Lin Hu, Rob Hierons, Malcolm Munro, Xingyuan Zhang, Jose Javier Dolado, Mari Carmen Otero, Joachim Wegener
Publication date
2002/10/3
Conference
International Conference on Software Maintenance, 2002. Proceedings.
Pages
2-11
Publisher
IEEE
Description
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.
Total citations
200220032004200520062007200820092010201120122013201420152016201720182019202011421111211
Scholar articles
M Harman, L Hu, R Hierons, M Munro, X Zhang… - International Conference on Software Maintenance …, 2002