27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(a) printtok (b) printtok2 (c) schedule<br />

(d) replace (e) schedule2 (f) totinfo<br />

(g) space<br />

(h) tcas<br />

Fig. 2.<br />

We can find that our Partial-CATESR can at least gain the<br />

same reduction extent as HGS performs. At most of the cases,<br />

we can get more reductions. Within subject space, for instance,<br />

original test suite are reduced by around 99 percentage using<br />

our Partial-CATESR. In this case, the size of reduced test suite<br />

is much smaller than reduced by around 93 percentage using<br />

pure HGS approach. For those versions on which our Partial-<br />

CATESR performs as well as pure HGS, we seriously check<br />

both the source codes and their test cases. We find that all<br />

test cases are classified in the same category, because either<br />

they all have a strong confidence to cover the changes, or they<br />

are insensitive to the changes through our CFG-based change<br />

analysis.<br />

Note that the performance of Full-CATESR, including reduction<br />

extent and FDA, will be discussed at the end of this<br />

subsection.<br />

3) Fault Detection Ability Analysis: To answer RQ2, we<br />

also check the FDA using the metric FDA as we have<br />

discussed above. Similar to the visualization of reduction<br />

extent, we summarize FDA for each subject over all faulty<br />

The size of test suite reduction for each subject<br />

versions in Figure 3.<br />

Clearly, FDA among all our experiments are not weakened<br />

at all, and even strengthened many times. For some faults in<br />

many subjects, such as replace and space, the probabilities of<br />

being detected, used to be below 0.1 using pure HGS approach,<br />

are increased to 1 when adopting our Partial-CATESR.<br />

4) Partial Coverage Affect Analysis: To answer RQ3, we<br />

design the Full-CATESR, to assure a 100 percentage coverage<br />

of original test requirements. As we can see in Figure 2, the reduction<br />

extent are decreased due to additional test cases added<br />

to RT S, which is generated by Partial-CATESR. However,<br />

the FDA among all experiments are not enhanced at all (See<br />

Figure 3). Our experiment results show that, it is meaningless<br />

to re-execute test cases who have few relevance with the<br />

changes during regression testing, though they may cover some<br />

irrelevant test requirements. Therefore, we conclude that the<br />

FDA will not be weakened by the insufficient coverage of<br />

original test requirements.<br />

222

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!