Abstract
Structural coverage metrics have traditionally categorized code as either covered or uncovered. Recent work presents a stronger notion of coverage, checked coverage, which counts only statements whose execution contributes to an outcome checked by an oracle. While this notion of coverage addresses the adequacy of the oracle, for Model-Based Development of safety critical systems, it is still not enough; we are also interested in how much of the oracle is covered, and whether the values of program variables are masked when the oracle is evaluated. Such information can help system engineers identify missing requirements as well as missing test cases. In this work, we combine results from checked coverage with results from requirements coverage to help provide insight to engineers as to whether the requirements or the test suite need to be improved. We implement a dynamic backward slicing technique and evaluate it on several systems developed in Simulink. The results of our preliminary study show that even for systems with comprehensive test suites and good sets of requirements, our approach can identify cases where more tests or more requirements are needed to improve coverage numbers.
Original language | English (US) |
---|---|
Title of host publication | NASA Formal Methods - 7th International Symposium, NFM 2015, Proceedings |
Editors | Klaus Havelund, Gerard Holzmann, Rajeev Joshi |
Publisher | Springer Verlag |
Pages | 279-294 |
Number of pages | 16 |
ISBN (Print) | 9783319175232 |
DOIs | |
State | Published - 2015 |
Event | 7th International Symposium on NASA Formal Methods, NFM 2015 - Pasadena, United States Duration: Apr 27 2015 → Apr 29 2015 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 9058 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Other
Other | 7th International Symposium on NASA Formal Methods, NFM 2015 |
---|---|
Country/Territory | United States |
City | Pasadena |
Period | 4/27/15 → 4/29/15 |
Bibliographical note
Publisher Copyright:© Springer International Publishing Switzerland 2015.