Two controlled experiments assessing the usefulness of design pattern documentation in program maintenance
The DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.
Abstract
Using design patterns is claimed to improve programmer productivity and software quality. Such improvements may manifest both at construction time (in faster and better program design) and at maintenance time (in faster and more accurate program comprehension). The paper focuses on the maintenance context and reports on experimental tests of the following question: does it help the maintainer if the design patterns in the program code are documented explicitly (using source code comments) compared to a well-commented program without explicit reference to design patterns? Subjects performed maintenance tasks on two programs ranging from 360 to 560 LOC including comments. The experiments tested whether pattern comment lines (PCL) help during maintenance if patterns are relevant and sufficient program comments are already present. This question is a challenge for the experimental methodology: A setup leading to relevant results is quite difficult to find. We discuss these issues in detail and suggest a general approach to such situations. A conservative analysis of the results supports the hypothesis that pattern-relevant maintenance tasks were completed faster or with fewer errors if redundant design pattern information was provided. The article provides the first controlled experiment results on design pattern usage and it presents a solution approach to an important class of experiment design problems for experiments regarding documentation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
An Introduction to the Bootstrap
Efron, B., & Tibshirani, R. J. (1994) · doi:10.1201/9780429246593 · Cited by 40,500
(1994) · Cited by 21,711
An Introduction to the Bootstrap
Efron, B., & Tibshirani, R. J. (1993) · doi:10.1007/978-1-4899-4541-9 · Cited by 21,230
Modern Applied Statistics with S-Plus.
Venables, W. N., & Ripley, B. D. (1996) · Biometrics · doi:10.2307/2532871 · Cited by 2,994 · cited 1×
“regression [24] with spanwidth 1 and its 90 percent confidence interval.”
Background(1996) · Cited by 2,981
Software architecture: perspectives on an emerging discipline
Shaw, M., & Garlan, D. (1996) · CERN Document Server (European Organization for Nuclear Research) · Cited by 2,910
Foundations for the study of software architecture
Perry, D. E., & Wolf, A. L. (1992) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/141874.141884 · Cited by 2,023
Castro, B. F. (1997) · Computación y Sistemas · Cited by 1,504
Pattern-Oriented Software Architecture
Sommerlad, P., Rohnert, H., Buschmann, F., Stal, M., & Meunier, R. (1996) · Cited by 1,108
Towards a theory of the comprehension of computer programs
Brooks, R. (1983) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(83)80031-5 · Cited by 756 · cited 1×
“Most theories of program comprehension state that the comprehension process is driven by hypotheses [3], [13] formed and validated during the understanding process.”
Background
Cited by
A Systematic Review of Theory Use in Software Engineering Experiments
Hannay, J. E., Sjoberg, D. I. K., & Dyba, T. (2007) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2007.12 · Cited by 226
“First, in the experiment methodology usually adopted in empirical software engineering, it is useful to divide the domain of discourse into a conceptual level, where concepts, theorizing, and theories reside, and an operational level, where observations, measurements, and experiments are conducted;…”
BackgroundMethodSix strategies for generalizing software engineering theories
Wieringa, R., & Daneva, M. (2015) · Science of Computer Programming · doi:10.1016/j.scico.2014.11.013 · Cited by 201
“[54] to justify the design of a laboratory experiment with pattern comment lines (PCLs).”
BackgroundThe Role of Cognitive Fit in the Relationship Between Software Comprehension and Modification1
Shaft, T. M., & Vessey, I. (2006) · MIS Quarterly · doi:10.2307/25148716 · Cited by 177
“…program structure (Boehm-Davis et al. 1992; Daly et al. 1996; Prechelt et al. 2001; Sheppard et al. 1979; Shneiderman et al. 1977), the use of different documentation formats (Curtis et al. 1989; Prechelt et al. 2002), and the cognitive processes used by software maintainers (Littman et al. 1986).”
Method
Metadata
- Authors
- Prechelt, L., Unger-Lamprecht, B., Philippsen, M., & Tichy, W. F.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2002-06
- Volume
- 28
- Issue
- 6
- Pages
- 595-606
- ISSN
- 0098-5589 (ISSN-L)
- OpenAlex
- W2120682255
- Cited by
- 173
- References
- 22
- FWCI
- 18.95
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Two controlled experiments assessing the usefulness of design pattern documentation in program maintenance. https://app.cochat.ai/papers/10.1109/tse.2002.1010061
- The paper
- Prechelt, L., Unger-Lamprecht, B., Philippsen, M., & Tichy, W. F. (2002). Two controlled experiments assessing the usefulness of design pattern documentation in program maintenance. IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2002.1010061
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.