Reverse Engineering of Design Patterns from Java Source Code
The DOI matches its Crossref record; 12 of the 12 references it cites were found in a registry or an index.
Abstract
Recovering design patterns can enhance existing source code analysis tools by bringing program understanding to the design level. This paper presents a new, fully automated pattern detection approach. The new approach is based on our reclassification of the GoF patterns by their pattern intent. We argue that the GoF pattern catalog classifies design patterns in the forward-engineering sense; our reclassification is better suited for reverse engineering. Our approach uses lightweight static program analysis techniques to capture program intent. This paper also describes our tool, PINOT, that implements this new approach. PINOT detects all the GoF patterns that have concrete definitions driven by code structure or system behavior. Our tool is faster, more accurate, and targets more patterns than existing pattern detection tools. PINOT has been used successfully in detecting patterns in Java AWT, JHotDraw, Swing, Apache Ant, and many other programs and packages
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
(1994) · Cited by 21,711
(2004) · Cited by 742
Design pattern implementation in Java and aspectJ
Hannemann, J., & Kiczales, G. (2002) · Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications - OOPSLA '02 · doi:10.1145/582419.582436 · Cited by 567
Kerievsky, J. (2004) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-27777-4_54 · Cited by 406
Automatic code generation from design patterns
Budinsky, F. J., Finnie, M. A., Vlissides, J. M., & Yu, P. S. (1996) · IBM Systems Journal · doi:10.1147/sj.352.0151 · Cited by 280
Towards pattern-based design recovery
Niere, J., Schäfer, W., Wadsack, J. P., Wendehals, L., & Welsh, J. (2002) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/581339.581382 · Cited by 201
Automatic design pattern detection
Heuzeroth, D., Holl, T., Hogstrom, G., & Löwe, W. (2004) · International Symposium on Micro-NanoMechatronics and Human Science · doi:10.1109/wpc.2003.1199193 · Cited by 176 · cited 10×
“For example, DP++ [7], SPOOL [20], Osprey [5], and Reference [28] extract interclass relationships from C++ source to a database; patterns are then recovered through queries to the database.”
BackgroundInfluentialFingerprinting design patterns
Y-G, G., Sahraoui, H. A., & Zaïdi, F. (2005) · Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2004.21 · Cited by 175 · cited 3×
“However , some tools, such as FUJABA and PTIDEJ, are able to partially (with a fuzzy number) detect patterns from incomplete source.”
MethodDesign pattern modelling and instantiation using DPML
Mapelsden, D., Hosking, J., & Grundy, J. (2024) · Swinburne figshare (Swinburne University of Technology) · doi:10.25916/sut.26294170 · Cited by 115
Design Patterns as Language Constructs.
Bosch, J. (1998) · Cited by 112
Precise specification and automatic application of design patterns
Eden, A. H., Yehudai, A., & Gil, J. (2002) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.1997.632834 · Cited by 102
Recovering binary class relationships: putting icing on the UML cake
Guéhéneuc, Y., & Albin-Amiot, H. (2004) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/1028976.1029002 · Cited by 100
Metadata
- Authors
- Shi, N., & Olsson, R.
- Venue
- 21st IEEE/ACM International Conference on Automated Software Engineering (ASE'06)
- Publisher
- IEEE
- Published
- 2006
- Pages
- 123-134
- OpenAlex
- W2101619757
- Cited by
- 186
- References
- 12
- FWCI
- 10.52
- Type
- conference paper
- 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
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.