Cognitive heuristics in software engineering applying and extending anchoring and adjustment to artifact reuse
Parsons, J.
Saunders, C.
Fac. of Bus. Adm., Memorial Univ. of Newfoundland, St. John's, Nfld., Canada;
This paper appears in: Software Engineering, IEEE Transactions on
Publication Date: Dec. 2004
Volume: 30,
Issue: 12
On page(s): 873- 888
ISSN: 0098-5589
INSPEC Accession Number: 8268136
Digital Object Identifier: 10.1109/TSE.2004.94
Current Version Published: 2005-01-10
Abstract
The extensive literature on reuse in software engineering has focused on technical and organizational factors, largely ignoring cognitive characteristics of individual developers. Despite anecdotal evidence that cognitive heuristics play a role in successful artifact reuse, few empirical studies have explored this relationship. This paper proposes how a cognitive heuristic, called anchoring, and the resulting adjustment bias can be adapted and extended to predict issues that might arise when developers reuse code and/or designs. The research proposes that anchoring and adjustment can be manifested in three ways: propagation of errors in reuse artifacts, failure to include requested functionality absent from reuse artifacts, and inclusion of unrequested functionality present in reuse artifacts. Results from two empirical studies are presented. The first study examines reuse of object classes in a programming task, using a combination of practicing programmers and students. The second study uses a database design task with student participants. Results from both studies indicate that anchoring occurs. Specifically, there is strong evidence that developers tend to use the extraneous functionality in the artifacts they are reusing and some evidence of anchoring to errors and omissions in reused artifacts. Implications of these findings for both practice and future research are explored.
Index
Terms
Available to subscribers and IEEE members.
References
Available to subscribers and IEEE members.
Citing Documents
Available to subscribers and IEEE members.