The optimisation of stochastic grammars to enable cost-effective probabilistic structural testing
The optimisation of stochastic grammars to enable cost-effective probabilistic structural testing
复制标题
DOI:
10.1145/2463372.2463550
复制
发表时间:
2013-07
期刊:
影响因子:
--
通讯作者:
Simon M. Poulding;Robert Alexander;John A. Clark;M. Hadley
中科院分区:
文献类型:
--
作者:
Simon M. Poulding;Robert Alexander;John A. Clark;M. Hadley
The effectiveness of probabilistic structural testing depends on the characteristics of the probability distribution from which test inputs are sampled at random. Metaheuristic search has been shown to be a practical method of optimising the characteristics of such distributions. However, the applicability of the existing search-based algorithm is limited by the requirement that the software's inputs must be a fixed number of numeric values. In this paper we relax this limitation by means of a new representation for the probability distribution. The representation is based on stochastic context-free grammars but incorporates two novel extensions: conditional production weights and the aggregation of terminal symbols representing numeric values. We demonstrate that an algorithm which combines the new representation with hill-climbing search is able to efficiently derive probability distributions suitable for testing software with structurally-complex input domains.