Amorphous procedure extraction

7Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The procedure extraction problem is concerned with the meaning preserving formation of a procedure from a (not necessarily contiguous) selected set of statements. Previous approaches to the problem have used dependence analysis to identify the non-selected statements which must be 'promoted' (also selected) in order to preserve semantics. All previous approaches to the problem have been syntax preserving. This paper shows that by allowing transformation of the program's syntax it is possible to extract both procedures and functions in an amorphous manner. That is, although the amorphous extraction process is meaning preserving it is not necessarily syntax preserving. The amorphous approach is advantageous in a variety of situations. These include when it is desirable to avoid promotion, when a value-returning function is to be extracted from a scattered set of assignments to a variable, and when side effects are present in the program from which the procedure is to be extracted.

Cite

CITATION STYLE

APA

Harman, M., Binkley, D., Singh, R., & Hierons, R. M. (2004). Amorphous procedure extraction. In Proceedings - Fourth IEEE International Workshop on Source Code Analysis and Manipulation (pp. 85–94). https://doi.org/10.1109/SCAM.2004.4

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free