An empirical investigation on the reusability of design patterns and software packages

被引:18
作者
Ampatzoglou, Apostolos [1 ]
Kritikos, Apostolos [1 ]
Kakarontzas, George [1 ]
Stamelos, Ioannis [1 ]
机构
[1] Aristotle Univ Thessaloniki, Dept Informat, Thessaloniki 54124, Greece
关键词
Design patterns; Design; Quality; Reusability; Empirical approach; COHESION METRICS; QUALITY; PREDICTION; MODELS;
D O I
10.1016/j.jss.2011.06.047
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Nowadays open-source software communities are thriving. Successful open-source projects are competitive and the amount of source code that is freely available offers great reuse opportunities to software developers. Thus, it is expected that several requirements can be implemented based on open source software reuse. Additionally, design patterns, i.e. well-known solution to common design problems, are introduced as elements of reuse. This study attempts to empirically investigate the reusability of design patterns, classes and software packages. Thus, the results can help developers to identify the most beneficial starting points for white box reuse, which is quite popular among open source communities. In order to achieve this goal we conducted a case study on one hundred (100) open source projects. More specifically, we identified 27,461 classes that participate in design patterns and compared the reusability of each of these classes with the reusability of the pattern and the package that this class belongs to. In more than 40% of the cases investigated, design pattern based class selection, offers the most reusable starting point for white-box reuse. However there are several cases when package based selection might be preferable. The results suggest that each pattern has different level of reusability. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:2265 / 2283
页数:19
相关论文
共 56 条
[1]   Empirical study of the effects of open source adoption on software development economics [J].
Ajila, Samuel A. ;
Wu, Di .
JOURNAL OF SYSTEMS AND SOFTWARE, 2007, 80 (09) :1517-1529
[2]   Evaluation of object-oriented design patterns in game development [J].
Ampatzoglou, Apostolos ;
Chatzigeorgiou, Alexander .
INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (05) :445-454
[3]   A quality framework for developing and evaluating original software components [J].
Andreou, Andreas S. ;
Tziakouris, Marios .
INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (02) :122-141
[4]  
[Anonymous], 1997, COMPONENT SOFTWARE O
[5]   Pattern componentization: the factory example [J].
Arnout, Karine ;
Meyer, Bertrand .
INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2006, 2 (02) :65-79
[6]   A hierarchical model for object-oriented design quality assessment [J].
Bansiya, J ;
Davis, CG .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (01) :4-17
[7]   A new reusability metric for object-oriented software [J].
Barnard, J .
SOFTWARE QUALITY JOURNAL, 1998, 7 (01) :35-50
[8]   EXPERIMENTATION IN SOFTWARE ENGINEERING [J].
BASILI, VR ;
SELBY, RW ;
HUTCHENS, DH .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (07) :733-743
[9]   Superimposition: a component adaptation technique [J].
Bosch, J .
INFORMATION AND SOFTWARE TECHNOLOGY, 1999, 41 (05) :257-273
[10]   The current state of CBSE [J].
Brown, AW ;
Wallnau, KC .
IEEE SOFTWARE, 1998, 15 (05) :37-+