Title :
An empirical study of amorphous slicing as a program comprehension support tool
Author :
Binkley, David ; Harman, Mark ; Raszewski, L. Ross ; Smith, Christopher
Author_Institution :
Loyola Coll., Baltimore, MD, USA
Abstract :
Amorphous program slicing relaxes the syntactic constraint of traditional slicing and can therefore produce considerably smaller slices. This simplification power can be used to answer questions a software engineer might have about a program by first augmenting the program to make the question explicit and then slicing out an answer. One benefit of this technique is that the answer is in the form of a program and thus, in a language that the software engineer understands well. To test the usefulness of amorphous slicing in answering such questions, the question of array access safety is considered. A safety slice (an amorphous slice of an augmented program) is used to guide a software engineer to potential array bounds violations. A series of experiments was conducted to determine whether the safety slice was an effective aid to an engineer. 76 subjects participated in the controlled experiments. For experiments involving novice programmers, the null hypothesis could not be rejected, and so it was not possible to conclude that amorphous slicing assisted such programmers. However for more experienced groups, the experimental subjects (who were able to consult amorphous slices) significantly outperformed the control group. The study lends empirical support to the assertion that amorphous slicing assists program comprehension
Keywords :
arrays; program slicing; reverse engineering; safety; software engineering; amorphous program slicing; array access safety; array bounds violations; empirical validation; novice programmers; program augmentation; program comprehension support tool; safety slice; simplification; software engineering questions; syntactic constraint; Amorphous materials; Councils; Debugging; Educational institutions; Humans; Logic; Power engineering and energy; Programming profession; Safety; Testing;
Conference_Titel :
Program Comprehension, 2000. Proceedings. IWPC 2000. 8th International Workshop on
Conference_Location :
Limerick
Print_ISBN :
0-7695-0656-9
DOI :
10.1109/WPC.2000.852490