Abstract
Concurrent programs are difficult to test due to their inherent non-determinism. To address the nondeterminism problem, testing often requires the exploration of thread schedules of a program, this can be time-consuming for testing real-world programs. We believe that testing resources can be distributed more effectively if testability of concurrent programs can be estimated, so that developers can focus on exploring the low testable code. Voas introduces a notion of testability as the probability that a test case will fail if the program has a fault, in which testability can be measured based on fault-based testing and mutation analysis. Much research has been proposed to analyze testability and predict defects for sequential programs, but to date, no work has considered testability prediction for concurrent programs, with program characteristics distinguished from sequential programs. In this paper, we present an approach to predict testability of concurrent programs at the function level. We propose a set of novel static code metrics based on the unique properties of concurrent programs. To evaluate the performance of our approach, we build a family of testability prediction models combining both static metrics and a test suite metric and apply it to real projects. Our empirical study reveals that our approach is more accurate than existing sequential program metrics.
Original language | English |
---|---|
Title of host publication | Proceedings - 2016 IEEE International Conference on Software Testing, Verification and Validation, ICST 2016 |
Pages | 168-179 |
Number of pages | 12 |
ISBN (Electronic) | 9781509018260 |
DOIs | |
State | Published - Jul 18 2016 |
Event | 9th IEEE International Conference on Software Testing, Verification and Validation, ICST 2016 - Chicago, United States Duration: Apr 10 2016 → Apr 15 2016 |
Publication series
Name | Proceedings - 2016 IEEE International Conference on Software Testing, Verification and Validation, ICST 2016 |
---|
Conference
Conference | 9th IEEE International Conference on Software Testing, Verification and Validation, ICST 2016 |
---|---|
Country/Territory | United States |
City | Chicago |
Period | 4/10/16 → 4/15/16 |
Bibliographical note
Publisher Copyright:© 2016 IEEE.
ASJC Scopus subject areas
- Software
- Safety, Risk, Reliability and Quality