Which Static Code Metrics Can Help to Predict Test Case Effectiveness? New Metrics and Their Empirical Evaluation on Projects Assessed for Industrial Relevance

Author(s):  
Bartosz Boczar ◽  
Michał Pytka ◽  
Lech Madeyski
2018 ◽  
Vol 24 (10) ◽  
pp. 7257-7262 ◽  
Author(s):  
Nor Laily Hashim ◽  
Haitham Raed Ibrahim ◽  
Mawarny Md Rejab ◽  
Rohaida Romli ◽  
Haslina Mohd

2018 ◽  
Vol 29 (1-2) ◽  
pp. e1695 ◽  
Author(s):  
Donghwan Shin ◽  
Shin Yoo ◽  
Mike Papadakis ◽  
Doo-Hwan Bae

2019 ◽  
Vol 2019 ◽  
pp. 1-14 ◽  
Author(s):  
Xiaolin Wang ◽  
Hongwei Zeng ◽  
Honghao Gao ◽  
Huaikou Miao ◽  
Weiwei Lin

Considering that some intelligent software in mobile devices is related to location of sensors and devices, regression testing for it faces a major challenge. Test case prioritization (TCP), as a kind of regression test optimization technique, is beneficial to improve test efficiency. However, traditional TCP techniques may have limitations on testing intelligent software embedded in mobile devices because they do not take into account characteristics of mobile devices. This paper uses a smart mall as a scenario to design a novel location-based TCP technique for software embedded in mobile devices using the law of gravitation. First, test gravitation is proposed by applying the idea of universal gravitation. Second, a specific calculation model of test gravitation is designed for a smart mall scenario. Third, how to create a faulted test case set is designed by the pseudocode. Fourth, a location-based TCP using the law of gravitation algorithm is proposed, which utilizes test case information, fault information, and location information to prioritize test cases. Finally, an empirical evaluation is presented by using one industrial project. The observation, underlying the experimental results, is that our proposed TCP approach performs better than traditional TCP techniques. In addition, besides location information, the level of devices is also an important factor which affects the prioritization efficiency.


Sign in / Sign up

Export Citation Format

Share Document