The Complexity of Coverage
Krishnendu Chatterjee, Luca de Alfaro, Rupak Majumdar

TL;DR
This paper analyzes the computational complexity of generating test sequences for reactive systems to maximize coverage, revealing different complexity classes for deterministic, non-deterministic, and reset systems.
Contribution
It characterizes the complexity of the maximal coverage problem across various classes of reactive systems, introducing randomized strategies for reset systems.
Findings
Maximal coverage problem is PSPACE-complete for non-deterministic systems.
It is NP-complete for deterministic systems.
For reset systems, the complexity is co-NP-complete.
Abstract
We study the problem of generating a test sequence that achieves maximal coverage for a reactive system under test. We formulate the problem as a repeated game between the tester and the system, where the system state space is partitioned according to some coverage criterion and the objective of the tester is to maximize the set of partitions (or coverage goals) visited during the game. We show the complexity of the maximal coverage problem for non-deterministic systems is PSPACE-complete, but is NP-complete for deterministic systems. For the special case of non-deterministic systems with a re-initializing ``reset'' action, which represent running a new test input on a re-initialized system, we show that the complexity is again co-NP-complete. Our proof technique for reset games uses randomized testing strategies that circumvent the exponentially large memory requirement in the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Formal Methods in Verification · Software Reliability and Analysis Research
