Design pattern rational graphs : linking design to source

As source code evolves, the reasoning behind certain design decisions is lost, often leading to violations of design goals during program maintenance. This kind of code decay is often caused by changes made by developers who are not adequately aware of the rationale behind the source code. Becoming...

Full description

Bibliographic Details
Main Author: Baniassad, Elisa L.A.
Language:English
Published: 2009
Online Access:http://hdl.handle.net/2429/14804
id ndltd-LACETR-oai-collectionscanada.gc.ca-BVAU.2429-14804
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-BVAU.2429-148042014-03-14T15:48:01Z Design pattern rational graphs : linking design to source Baniassad, Elisa L.A. As source code evolves, the reasoning behind certain design decisions is lost, often leading to violations of design goals during program maintenance. This kind of code decay is often caused by changes made by developers who are not adequately aware of the rationale behind the source code. Becoming aware of rationale is difficult for many reasons, including the mismatch between design and source code. The thesis of this research is that a mechanism for tracing design goals through existing documentation to source would enable software developers to have more complete knowledge of design goals relevant to a system, and more confidence in terms of how design goals relate to the source. The technique should be applicable within the context of one software evolution task. To validate the claims of this thesis, we have developed the Design Pattern Rationale Graph (DPRG) approach and associated tool. This dissertation describes this mechanism, and its use in the validation of the thesis claims. A DPRG is a graph formed from the text of design pattern documentation that is linked to a code base. The DPRG allows developers to view design pattern information related to design goals separately, and trace those goals through to their corresponding locations in a code base. The DPRG approach is lightweight: The time and effort required to apply the approach fits within the context of a single task. We demonstrate the validity of the thesis claims by applying the DPRG in several case studies and one experiment. These studies address each claim separately, and do so on a wide range of systems and tasks. 2009-11-12 2009-11-12 2002 2009-11-12 2002-11 Electronic Thesis or Dissertation http://hdl.handle.net/2429/14804 eng UBC Retrospective Theses Digitization Project [http://www.library.ubc.ca/archives/retro_theses/]
collection NDLTD
language English
sources NDLTD
description As source code evolves, the reasoning behind certain design decisions is lost, often leading to violations of design goals during program maintenance. This kind of code decay is often caused by changes made by developers who are not adequately aware of the rationale behind the source code. Becoming aware of rationale is difficult for many reasons, including the mismatch between design and source code. The thesis of this research is that a mechanism for tracing design goals through existing documentation to source would enable software developers to have more complete knowledge of design goals relevant to a system, and more confidence in terms of how design goals relate to the source. The technique should be applicable within the context of one software evolution task. To validate the claims of this thesis, we have developed the Design Pattern Rationale Graph (DPRG) approach and associated tool. This dissertation describes this mechanism, and its use in the validation of the thesis claims. A DPRG is a graph formed from the text of design pattern documentation that is linked to a code base. The DPRG allows developers to view design pattern information related to design goals separately, and trace those goals through to their corresponding locations in a code base. The DPRG approach is lightweight: The time and effort required to apply the approach fits within the context of a single task. We demonstrate the validity of the thesis claims by applying the DPRG in several case studies and one experiment. These studies address each claim separately, and do so on a wide range of systems and tasks.
author Baniassad, Elisa L.A.
spellingShingle Baniassad, Elisa L.A.
Design pattern rational graphs : linking design to source
author_facet Baniassad, Elisa L.A.
author_sort Baniassad, Elisa L.A.
title Design pattern rational graphs : linking design to source
title_short Design pattern rational graphs : linking design to source
title_full Design pattern rational graphs : linking design to source
title_fullStr Design pattern rational graphs : linking design to source
title_full_unstemmed Design pattern rational graphs : linking design to source
title_sort design pattern rational graphs : linking design to source
publishDate 2009
url http://hdl.handle.net/2429/14804
work_keys_str_mv AT baniassadelisala designpatternrationalgraphslinkingdesigntosource
_version_ 1716653129797206016