A quantitative approach for evaluating the quality of design patterns

被引:27
作者
Hsueh, Nien-Lin [1 ]
Chu, Peng-Hua [1 ]
Chu, William [2 ]
机构
[1] Feng Chia Univ, Dept Comp Sci & Informat Engn, Taichung 40724, Taiwan
[2] Tunghai Univ, Dept Comp Sci & Informat Engn, Taichung 40704, Taiwan
关键词
design patterns; object-oriented metrics; software quality;
D O I
10.1016/j.jss.2007.11.724
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In recent years, the influence of design patterns on software quality has attracted an increasing attention in the area of software engineering, as design patterns encapsulate valuable knowledge to resolve design problems, and more importantly to improve design quality. As the paradigm continues to increase in popularity, a systematic and objective approach to verify the design of a pattern is increasingly important. The intent session in a design pattern indicates the problem the design pattern wants to resolve, and the solution session describes the structural model for the problem. When the problem in the intent is a quality problem, the structure model should provide a Solution to improve the relevant quality. In this work we provide an approach, based on object-oriented quality model, to validate if a design pattern is well-designed, i.e., it answers the question of the proposed structural model really resolves the quality problems described in the intent. We propose it validation approach to help pattern developers check if a design pattern is well-designed. In addition, a quantitative method is proposed to measure the effectiveness of the quality improvement of a design pattern that pattern users can determine which design patterns are applicable to meet their functional and quality requirements. (C) 2007 Elsevier Inc. All rights reserved.
引用
收藏
页码:1430 / 1439
页数:10
相关论文
共 18 条
[1]   A hierarchical model for object-oriented design quality assessment [J].
Bansiya, J ;
Davis, CG .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (01) :4-17
[2]  
BRITO F, 1995, P ECOOP 95 WORKSH ME
[3]   Developing adaptable software architectures using design patterns: an NFR approach [J].
Chung, L ;
Cooper, K ;
Yi, A .
COMPUTER STANDARDS & INTERFACES, 2003, 25 (03) :253-260
[4]  
Dong J, 2003, 200S IEEE SYMPOSIUM ON HUMAN CENTRIC COMPUTING LANGUAGES AND ENVIRONMENTS, P123
[5]  
DORMEY GR, 1995, IEEE T SOFTWARE ENG, V21, P146
[6]   A UML-based pattern specification technique [J].
France, RB ;
Kim, DK ;
Ghosh, S ;
Song, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (03) :193-206
[7]  
Gamma Erich., 1994, DESIGN PATTERNS
[8]  
GRAVES AR, 2000, IEEE T SYSTEMS MAN C, V30
[9]   From non-functional requirements to design through patterns [J].
Gross D. ;
Yu E. .
Requirements Engineering, 2001, 6 (1) :18-36
[10]  
Heaven W., 2004, IEE Proceedings-Software, V151, P10, DOI 10.1049/ip-sen:20040297