Abstract
AbstractWe propose a new Statistical Model Checking (SMC) method to
identify bugs in variability-intensive systems (VIS). The
state-space of such systems is exponential in the number of
variants, which makes the verification problem harder than for
classical systems. To reduce verification time, we propose to
combine SMC with featured transition systems (FTS)—a
model that represents jointly the state spaces of all variants. Our
new methods allow the sampling of executions from one or more
(potentially all) variants. We investigate their utility in two
complementary use cases. The first case considers the problem of
finding all variants that violate a given property expressed in
Linear-Time Logic (LTL) within a given simulation budget. To achieve
this, we perform random walks in the featured transition system
seeking accepting lassos. We show that our method allows us to find
bugs much faster (up to 16 times according to our experiments) than
exhaustive methods. As any simulation-based approach, however, the
risk of Type-1 error exists. We provide a lower bound and an upper
bound for the number of simulations to perform to achieve the
desired level of confidence. Our empirical study involving 59
properties over three case studies reveals that our method manages
to discover all variants violating 41 of the properties.
This indicates that SMC can act as a coarse-grained
analysis method to quickly identify the set of buggy variants.
The second case complements the first one. In case the
coarse-grained analysis reveals that no variant can guarantee to
satisfy an intended property in all their executions, one should
identify the variant that minimizes the probability of violating
this property. Thus, we propose a fine-grained SMC method that
quickly identifies promising variants and accurately estimates their
violation probability. We evaluate different selection strategies
and reveal that a genetic algorithm combined with elitist selection
yields the best results.
Funder
Fonds National de la Recherche Luxembourg
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science,Software
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Daedalux: An Extensible Platform for Variability-Aware Model Checking;Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings;2024-04-14
2. Towards Strengthening Formal Specifications with Mutation Model Checking;Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2023-11-30
3. Test scenario generation for feature-based context-oriented software systems;Journal of Systems and Software;2023-03