Detecting design pattern and tracing its design rationale / Loay Aladib

On the ground that design pattern is intricate by nature, its rationale traceability is prone to be neglected leading to the misconception of the design rationale and forfeiture of its main purpose. Design Rationale (DR) as the main subject of this research is considered as the synthesis of the s...

Full description

Saved in:
Bibliographic Details
Main Author: Loay , Aladib
Format: Thesis
Published: 2017
Subjects:
Online Access:http://studentsrepo.um.edu.my/14250/2/Loay_Aladib.pdf
http://studentsrepo.um.edu.my/14250/1/Loay_Aladib.pdf
http://studentsrepo.um.edu.my/14250/
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.um.stud.14250
record_format eprints
spelling my.um.stud.142502023-04-11T19:35:35Z Detecting design pattern and tracing its design rationale / Loay Aladib Loay , Aladib QA76 Computer software TA Engineering (General). Civil engineering (General) On the ground that design pattern is intricate by nature, its rationale traceability is prone to be neglected leading to the misconception of the design rationale and forfeiture of its main purpose. Design Rationale (DR) as the main subject of this research is considered as the synthesis of the structure that is consistent with the model of an artifact, the decisions, alternative approaches and the reasoning behind it. Hence, bypassing it will result in poor quality systems engineering. Taking into consideration the facts that: (a) design pattern is structured to offer a solution to a recurring problem; (b) its components, design elements, methods along with other related elements are spread throughout the pattern text; and (c) its rationale goals are ambiguously represented. Thus, the pattern reader finds it problematic to capture the intricacy of its design. In order to decipher these shortcomings, this research introduces an approach named Design Pattern Detection and Design Rationale Decision Tree (DPD-DRDT) to support the structuring, evaluation, and analysis of a design pattern employing a well-structured technique and methodology in analyzing, validating and detecting design pattern existence in the source code. This study proposes a method and implemented an associated tool which is designed to support two of the major phases of the proposed approach, namely Phase 1 - Pattern Detection Process (PDP), and Phase 2 - Tracing of Design Rationale (TDR). In Phase 1, PDP is supported by the following processes: (1) defining the pattern structure; (2) uploading the target program or source code; (3) extracting the basic elements which employs the aid of NRefactory C# library in parsing the code and converting it to a text representation for ease of reference and evaluation; (4) pattern detection process using the properties set in (1) to validate against the data after the code has been parsed. In Phase 2, TDR needs two inputs: (1) pattern detection result; (2) Design Rationale Decision Tree (DRDT) model of the detected design pattern built via the implementation of the Rationale Traceability Framework (RTF). Each phase provides a mechanism that validates the class relationships and properties comprehensively resulting to a reliable pattern detection result. The rationale traceability framework has been implemented and represented in the form of Design Rationale Decision Tree (DRDT), hence the open issues of design rationale misconception and a chance to be neglected is resolved. Furthermore, a simple and straightforward representation of the evaluation and decision result to determine whether a design rationale goal is achieved or design pattern implementation needs to be re-evaluated has been made available. The proposed approach is proved by the usefulness of its output and a straightforward evaluation result resolves the intricacy of design rationale traceability while achieving software quality is permissible. 2017-09 Thesis NonPeerReviewed application/pdf http://studentsrepo.um.edu.my/14250/2/Loay_Aladib.pdf application/pdf http://studentsrepo.um.edu.my/14250/1/Loay_Aladib.pdf Loay , Aladib (2017) Detecting design pattern and tracing its design rationale / Loay Aladib. Masters thesis, Universiti Malaya. http://studentsrepo.um.edu.my/14250/
institution Universiti Malaya
building UM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Malaya
content_source UM Student Repository
url_provider http://studentsrepo.um.edu.my/
topic QA76 Computer software
TA Engineering (General). Civil engineering (General)
spellingShingle QA76 Computer software
TA Engineering (General). Civil engineering (General)
Loay , Aladib
Detecting design pattern and tracing its design rationale / Loay Aladib
description On the ground that design pattern is intricate by nature, its rationale traceability is prone to be neglected leading to the misconception of the design rationale and forfeiture of its main purpose. Design Rationale (DR) as the main subject of this research is considered as the synthesis of the structure that is consistent with the model of an artifact, the decisions, alternative approaches and the reasoning behind it. Hence, bypassing it will result in poor quality systems engineering. Taking into consideration the facts that: (a) design pattern is structured to offer a solution to a recurring problem; (b) its components, design elements, methods along with other related elements are spread throughout the pattern text; and (c) its rationale goals are ambiguously represented. Thus, the pattern reader finds it problematic to capture the intricacy of its design. In order to decipher these shortcomings, this research introduces an approach named Design Pattern Detection and Design Rationale Decision Tree (DPD-DRDT) to support the structuring, evaluation, and analysis of a design pattern employing a well-structured technique and methodology in analyzing, validating and detecting design pattern existence in the source code. This study proposes a method and implemented an associated tool which is designed to support two of the major phases of the proposed approach, namely Phase 1 - Pattern Detection Process (PDP), and Phase 2 - Tracing of Design Rationale (TDR). In Phase 1, PDP is supported by the following processes: (1) defining the pattern structure; (2) uploading the target program or source code; (3) extracting the basic elements which employs the aid of NRefactory C# library in parsing the code and converting it to a text representation for ease of reference and evaluation; (4) pattern detection process using the properties set in (1) to validate against the data after the code has been parsed. In Phase 2, TDR needs two inputs: (1) pattern detection result; (2) Design Rationale Decision Tree (DRDT) model of the detected design pattern built via the implementation of the Rationale Traceability Framework (RTF). Each phase provides a mechanism that validates the class relationships and properties comprehensively resulting to a reliable pattern detection result. The rationale traceability framework has been implemented and represented in the form of Design Rationale Decision Tree (DRDT), hence the open issues of design rationale misconception and a chance to be neglected is resolved. Furthermore, a simple and straightforward representation of the evaluation and decision result to determine whether a design rationale goal is achieved or design pattern implementation needs to be re-evaluated has been made available. The proposed approach is proved by the usefulness of its output and a straightforward evaluation result resolves the intricacy of design rationale traceability while achieving software quality is permissible.
format Thesis
author Loay , Aladib
author_facet Loay , Aladib
author_sort Loay , Aladib
title Detecting design pattern and tracing its design rationale / Loay Aladib
title_short Detecting design pattern and tracing its design rationale / Loay Aladib
title_full Detecting design pattern and tracing its design rationale / Loay Aladib
title_fullStr Detecting design pattern and tracing its design rationale / Loay Aladib
title_full_unstemmed Detecting design pattern and tracing its design rationale / Loay Aladib
title_sort detecting design pattern and tracing its design rationale / loay aladib
publishDate 2017
url http://studentsrepo.um.edu.my/14250/2/Loay_Aladib.pdf
http://studentsrepo.um.edu.my/14250/1/Loay_Aladib.pdf
http://studentsrepo.um.edu.my/14250/
_version_ 1764223127171104768
score 13.18916