Design pattern rationale graphs: Linking design to source

被引:9
|
作者
Baniassad, ELA [1 ]
Murphy, GC [1 ]
Schwanninger, C [1 ]
机构
[1] Univ British Columbia, Vancouver, BC V6T 1Z4, Canada
关键词
D O I
10.1109/ICSE.2003.1201214
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A developer attempting to evolve a system in which design patterns have been applied can benefit from knowing which code implements which design pattern. For instance, the developer may be able to understand the purpose, or to assess the flexibility of the code, more quickly. The degree to which the developer benefits depends upon their understanding of the pattern. Achieving an in-depth understanding of even a simple pattern can be difficult as pattern descriptions span several pages of text, and discuss interrelated design concepts and choices. To enable a developer to effectively trace the design goals associated with a pattern to and from source, we have developed the Design Pattern Rationale Graph (DPRG) approach and associated tool. A DPRG makes explicit the relationships between design concepts in a design pattern, provides a graphical representation of the design pattern text, and supports the linking of those concepts to implementing code. In this paper, we introduce the DPRG approach and tool, and present case studies to show that a DPRG can, at low-cost, help a developer identify design goals in a pattern, and can improve a developer's confidence about how those goals are realized in a code base.
引用
收藏
页码:352 / 362
页数:11
相关论文
共 50 条
  • [1] Pattern detection and design rationale traceability: an integrated approach to software design quality
    Aladib, Loay
    Lee, Sai Peck
    IET SOFTWARE, 2019, 13 (04) : 249 - 259
  • [2] Design rationale in system design
    Verries, J.
    Sahraoui, A. E. K.
    Paludetto, M.
    ICSENG 2008: INTERNATIONAL CONFERENCE ON SYSTEMS ENGINEERING, 2008, : 380 - 385
  • [3] RATIONALE AND DESIGN
    BORHANI, NO
    APPLEGATE, WB
    CUTLER, JA
    DAVIS, BR
    FURBERG, CD
    LAKATOS, E
    PAGE, L
    PERRY, HM
    SMITH, WM
    PROBSTFIELD, JL
    HYPERTENSION, 1991, 17 (03) : 2 - 15
  • [4] Redesigning the rationale for design rationale
    Atwood, Michael E.
    Horner, John
    HUMAN-COMPUTER INTERACTION, PT 1, PROCEEDINGS: INTERACTION DESIGN AND USABILITY, 2007, 4550 : 11 - +
  • [5] Rationale and design
    Bell, James
    DRUG AND ALCOHOL REVIEW, 2023, 42 : S20 - S20
  • [6] Design and rationale for an in situ cryogenic deformation capability at a neutron source
    Livescu, V
    Woodruff, TR
    Clausen, B
    Sisneros, T
    Bourke, MAM
    Notardonato, WU
    Vaidyanathan, R
    ADVANCES IN CRYOGENIC ENGINEERING, VOLS 50A AND B, 2004, 711 : 83 - 89
  • [7] Source code and design conformance, design pattern detection from source code by classification approach
    Chihada, Abdullah
    Jalili, Saeed
    Hasheminejad, Seyed Mohammad Hossein
    Zangooei, Mohammad Hossein
    APPLIED SOFT COMPUTING, 2015, 26 : 357 - 367
  • [8] Augmenting design patterns with design rationale
    PenaMora, F
    Vadhavkar, S
    AI EDAM-ARTIFICIAL INTELLIGENCE FOR ENGINEERING DESIGN ANALYSIS AND MANUFACTURING, 1997, 11 (02): : 93 - 108
  • [9] Design rationale and design patterns in reusable software design
    PenaMora, F
    Vadhavkar, S
    ARTIFICIAL INTELLIGENCE IN DESIGN '96, 1996, : 251 - 268
  • [10] Knowledge discovery of design rationale based on frequent-pattern mining
    Jiang, H.
    Yang, W.
    Mei, J.
    Wu, R. L.
    Guo, L.
    AUTOMATIC CONTROL, MECHATRONICS AND INDUSTRIAL ENGINEERING, 2019, : 161 - 166