DocumentCode
746260
Title
An empirical investigation of the influence of a type of side effects on program comprehension
Author
Dolado, J.J. ; Harman, M. ; Otero, M.C. ; Hu, L.
Author_Institution
Dept. of Comput. Languages & Syst., Univ. of the Basque Country, San Sebastian, Spain
Volume
29
Issue
7
fYear
2003
fDate
7/1/2003 12:00:00 AM
Firstpage
665
Lastpage
670
Abstract
This paper reports the results of a study on the impact of a type of side effect (SE) upon program comprehension. We applied a crossover design on different tests involving fragments of C code that include increment and decrement operators. Each test had an SE version and a side-effect-free counterpart. The variables measured in the treatments were the number of correct answers and the time spent in answering. The results show that the side-effect operators considered significantly reduce performance in comprehension-related tasks, providing empirical justification for the belief that side effects are harmful.
Keywords
program testing; software engineering; LinSERT algorithm; crossover design; program comprehension; program tests; side-effect operators; side-effect-free programs; Algorithm design and analysis; Computer languages; Humans; Impedance; Programming profession; Software maintenance; Testing; Time measurement;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.2003.1214329
Filename
1214329
Link To Document