Measuring and improving design patterns testability

被引:12
作者
Baudry, B [1 ]
Le Traon, Y [1 ]
Sunyé, G [1 ]
Jézéquel, JM [1 ]
机构
[1] Inst Rech Informat & Syst Aleatoires, F-35042 Rennes, France
来源
NINTH INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, PROCEEDINGS | 2003年
关键词
D O I
10.1109/METRIC.2003.1232455
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper addresses not only the question of testability measurement of 00 designs but also focuses on its practicability. While detecting testability weaknesses (called testability anti-patterns) of an 00 design is a crucial task, one cannot expect from a non-specialist to make the right improvements, without guidance or automation. To overcome this limitation, this paper investigates solutions integrated to the 00 process. We focus on the design patterns as coherent subsets in the architecture, and we explain how their use can provide a way for limiting the severity of testability weaknesses, and of confining their effects to the classes involved in the pattern. Indeed, design patterns appear both as a usual refinement instrument, and a cause of complex interactions into a class diagram - and more specifically of testability anti-patterns. To reach our objective of integrating the testability improvement to the design process, we propose first a testability grid to make the relation between each pattern and the severity of the testability anti-patterns, and we present our solution, based on a definition of patterns at metalevel, to automate the instantiation of patterns constrained by testability criteria.
引用
收藏
页码:50 / 59
页数:10
相关论文
共 22 条
[1]   How to preserve the benefits of Design Patterns [J].
Agerbo, E ;
Cornils, A .
ACM SIGPLAN NOTICES, 1998, 33 (10) :134-143
[2]   Criteria for testing polymorphic relationships [J].
Alexander, RT ;
Offutt, AJ .
11TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2000, :15-23
[3]   Testability analysis of a UML class diagram [J].
Baudry, B ;
Le Traon, Y ;
Sunyé, G .
EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2002, :54-63
[4]   OO design patterns, design structure, and program changes: An industrial case study [J].
Bieman, JM ;
Jain, D ;
Yang, HJ .
IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, :580-589
[5]   DESIGN FOR TESTABILITY IN OBJECT-ORIENTED SYSTEMS [J].
BINDER, RV .
COMMUNICATIONS OF THE ACM, 1994, 37 (09) :87-101
[6]   Property-based software engineering measurement [J].
Briand, LC ;
Morasca, S ;
Basili, VR .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (01) :68-86
[7]  
Correa AL, 2000, LECT NOTES COMPUT SC, V1844, P336
[8]  
DSOUZA DF, 1998, OBJECT TECHNOLOGY
[9]  
Eden A. H., 1999, PRECISE SPECIFICATIO
[10]   Multi-view software evolution: A UML-based framework for evolving object-oriented software [J].
France, R ;
Bieman, JM .
IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, :386-395