Finding failures from passed test cases: improving the pattern classification approach to the testing of mesh simplification programs

被引:18
作者
Chan, W. K. [1 ]
Ho, Jeffrey C. F. [2 ]
Tse, T. H. [3 ]
机构
[1] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
[2] Wwwins Consulting Hong Kong Ltd, Hong Kong, Hong Kong, Peoples R China
[3] Univ Hong Kong, Hong Kong, Hong Kong, Peoples R China
基金
澳大利亚研究理事会;
关键词
test oracle problem; mesh simplification; non-testable software; metamorphic testing; classification; testing methodology; SOFTWARE; ALGORITHM; MUTATION; ORACLES; TOOL;
D O I
10.1002/stvr.408
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mesh simplification programs create three-dimensional polygonal models similar to an original polygonal model, and yet use fewer polygons. They produce different graphics even though they are based on the same original polygonal model. This results in a test oracle problem. To address the problem, our previous work has developed a technique that uses a reference model of the program under test to train a classifier. Using such an approach may mistakenly mark a failure-causing test case as passed. It lowers the testing effectiveness of revealing failures. This paper suggests piping the test cases marked as passed by a statistical pattern classification module to an analytical metamorphic testing (MT) module. We evaluate our approach empirically using three subject programs with over 2700 program mutants. The result shows that, using a resembling reference model to train a classifier, the integrated approach can significantly improve the failure detection effectiveness of the pattern classification approach. We also explain how MT in our design trades specificity for sensitivity. Copyright (C) 2009 John Wiley & Sons, Ltd.
引用
收藏
页码:89 / 120
页数:32
相关论文
共 62 条
[1]   A modified fuzzy C-means algorithm for bias field estimation and segmentation of MRI data [J].
Ahmed, MN ;
Yamany, SM ;
Mohamed, N ;
Farag, AA ;
Moriarty, T .
IEEE TRANSACTIONS ON MEDICAL IMAGING, 2002, 21 (03) :193-199
[2]   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
[3]  
[Anonymous], 2003, LEVEL DETAIL 3D GRAP
[4]  
[Anonymous], ACM SIGSOFT SOFTWARE
[5]  
[Anonymous], 2006, Digital Image Processing
[6]  
[Anonymous], 1973, Pattern Classification and Scene Analysis
[7]  
BARESI L, 2002, P 14 INT C SOFTW ENG, P585
[8]   A scalable formal method for design and automatic checking of user interfaces [J].
Berstel, J ;
Reghizzi, SC ;
Roussel, G ;
San Pietro, P .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2005, 14 (02) :124-167
[9]  
BIERBAUM A, 2003, P EUR WORKSH VIRT EN, P107
[10]  
Binder R., 2000, AW OBJ TECHNOL S