2003 · 38 citations · 22 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringAbstract Syntax TreesControl-flow AnalysisData-flow AnalysisSoftware MaintenanceSoftware RefactoringSymbolic ExecutionCode ComprehensionMaintenanceProgram ComprehensionProgram TransformationSoftware Maintenance ProcessSoftware Restructuring
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.
22
Mark Weiser · IEEE Transactions on Software Engineering · 1984 · 3.2K citations
Search-based software engineering
Mark Harman, B.F. Jones · Information and Software Technology · 2001 · 920 citations