2002 · 227 citations · 5 references
ComputingComputer ScienceDesignDesign AutomationKnowledge RepresentationProgramming LanguagesObject-oriented AnalysisObject-oriented DesignPattern GenerationSoftware ArchitectureSoftware ConstructionSoftware DesignAdapter PatternsDesign Pattern RepresentationDesign PatternsFilteringObject-oriented ArchitectureStructural Patterns
Design patterns such as Adapter, Bridge, Composite, Decorator, and Proxy are widely used in object‑oriented software, and locating their instances in existing code can enhance maintainability. The Pat system extracts design information from C++ header files, encodes it as PROLOG facts, and uses a single query to search for all structural patterns, evaluated on libraries like zApp and LEDA. Pat successfully identifies all pattern instances under certain restrictions, achieving about 40 % precision, and its output can be easily filtered manually, making it a useful tool for design recovery.
The object-oriented design community has recently begun to collect so-called design patterns: cliches plus hints to their recommended use in software construction. The structural design patterns Adapter, Bridge, Composite, Decorator, and Proxy represent packaged problem/context/solution/properties descriptions to common problems in object-oriented design. Localizing instances of these patterns in existing software produced without explicit use of patterns can improve the maintainability of software. In the authors' approach, called the Pat system, design information is extracted directly from C++ header files and stored in a repository. The patterns are expressed as PROLOG rules and the design information is translated into facts. A single PROLOG query is then used to search for all patterns. They examined four applications, including the popular class libraries zApp and LEDA, with Pat. With some restrictions all pattern instances are found; the precision is about 40 percent. Since manual filtering of the output is relatively easy, they consider Pat a useful tool for discovering or recovering design information.
5
Design recovery for maintenance and reuse
Ted J. Biggerstaff · Computer · 1989 · 363 citations
Computing, Design, Design Automation +13
Industrial experience with design patterns
K. Beck, Ron Crocker, Gerard Meszaros et al. · 1996 · 151 citations
Arts, Design, Design Automation +9
Industrial experience with design patterns
K. Beck, Ron Crocker, Gerard Meszaros et al. · 2002 · 67 citations
Arts, Design, Design Automation +9