Improving statechart testing criteria using data flow information

被引:10
作者
Briand, L. C. [1 ]
Labiche, Y. [1 ]
Lin, Q. [1 ]
机构
[1] Carleton Univ, Software Qual Engn Lab, Ottawa, ON K1S 5B6, Canada
来源
16TH IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS | 2005年
关键词
D O I
10.1109/ISSRE.2005.24
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Empirical studies have shown there is wide variation in cost (e.g., of devising and executing test cases) and effectiveness (at finding faults) across existing state-based coverage criteria. As these criteria can be considered as executing the control flow structure of the statechart, we are attempting to investigate how data flow information can be used to improve their cost-effectiveness. This article presents a comprehensive methodology to perform data flow analysis of UML stalecharts, applies it to the round-trip path (transition free) coverage criterion and reports on two case studies. The results of the case studies show that data flow information can be used to select the best cost-effective transition tree when more than one satisfies the transition tree criterion. We further propose a more optimal strategy for the transition tree criterion, in terms of cost and effectiveness. The improved tree strategy is evaluated through the two case studies and the results suggest that it is a cost-effective strategy that would fit into many practical situations.
引用
收藏
页码:95 / 104
页数:10
相关论文
共 22 条
[1]   Is mutation an appropriate tool for testing experiments? [J].
Andrews, JH ;
Briand, LC ;
Labiche, Y .
ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, :402-411
[2]  
[Anonymous], 1999, TESTING OBJECT ORIEN
[3]  
[Anonymous], DESIGNING CONCURRENT
[4]  
[Anonymous], 2000, UNIFIED MODELING LAN, DOI DOI 10.1007/3-540-40011-7_10
[5]  
[Anonymous], 2001, DESIGN CONTRACT EXAM
[6]  
Appel A.W., 2002, MODERN COMPILER IMPL, V2nd
[7]   Using simulation to empirically investigate test coverage criteria based on statechart [J].
Briand, LC ;
Labiche, Y ;
Wang, Y .
ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, :86-95
[8]   Assessing and improving state-based class testing: A series of experiments [J].
Briand, LC ;
Di Penta, M ;
Labiche, Y .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (11) :770-793
[9]  
BRIAND LC, 2004, SCE0417 CARL U
[10]   An empirical evaluation of statistical testing designed from UML state diagrams:: The Flight Guidance System case study [J].
Chevalley, P ;
Thévenod-Fosse, P .
12TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2001, :254-263