An empirical investigation of the influence of a type of side effects on program comprehension
Authors:
- 22 July 2003
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 29 (7) , 665-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
This publication has 14 references indexed in Scilit:
- Preliminary guidelines for empirical research in software engineeringIEEE Transactions on Software Engineering, 2002
- The effectiveness of control structure diagrams in source code comprehension activitiesIEEE Transactions on Software Engineering, 2002
- Some Practical Guidelines for Effective Sample Size DeterminationThe American Statistician, 2001
- Experimentation in Software Engineering2000
- A note on the sample size determination in two-period repeated measurements crossover design with application to clinical trialsJournal of Biopharmaceutical Statistics, 1998
- Statistical power and its subcomponents — missing and misunderstood concepts in empirical software engineering researchInformation and Software Technology, 1997
- Who cares about software construction?IEEE Software, 1996
- Typographic style is more than cosmeticCommunications of the ACM, 1990
- Program indentation and comprehensibilityCommunications of the ACM, 1983
- The two‐period cross‐over clinical trial.British Journal of Clinical Pharmacology, 1979