arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.06730cs.DScs.DMcs.SEmath.CO
收藏

覆盖阵列构造的两阶段算法

Two-stage algorithms for covering array construction

Kaushik Sarkar, Charles J. Colbourn

摘要:

现代软件系统通常由许多不同的组件组成,每个组件都有许多选项。虽然单元测试可能会揭示个别组件的错误选项,但功能正确的组件可能会以不可预见的方式相互作用,从而导致故障。覆盖阵列被用来系统地测试组件之间的相互作用。一个两阶段的框架,提供了一些具体的算法,覆盖阵列的有效建设。我们的框架将构建分为两个阶段。在第一阶段中,时间和存储器有效的随机算法涵盖了大多数的相互作用。在第二阶段,更复杂的搜索在相对较少的测试中覆盖其余部分。以这种方式,避免了复杂的搜索算法的存储限制;因此,可以应用该算法的组件的数量的范围被扩展,而不增加测试的数量。许多框架实例化都可以进行调优,以优化内存质量的权衡,这样就可以使用更多的内存完成更少的测试。当组件的数量范围从20到60,每个选项的数量范围从3到6,和$t$方式的相互作用被覆盖为$t\in \{5,6\}$时,开发的算法优于目前最知名的方法。在某些情况下,可实现测试次数减少超过$50\%$。

英文摘要:

Modern software systems often consist of many different components, each with a number of options. Although unit tests may reveal faulty options for individual components, functionally correct components may interact in unforeseen ways to cause a fault. Covering arrays are used to test for interactions among components systematically. A two-stage framework, providing a number of concrete algorithms, is developed for the efficient construction of covering arrays. %Our framework divides the construction in two stages. In the first stage, a time and memory efficient randomized algorithm covers most of the interactions. In the second stage, a more sophisticated search covers the remainder in relatively few tests. In this way, the storage limitations of the sophisticated search algorithms are avoided; hence the range of the number of components for which the algorithm can be applied is extended, without increasing the number of tests. Many of the framework instantiations can be tuned to optimize a memory-quality trade-off, so that fewer tests can be achieved using more memory. The algorithms developed outperform the currently best known methods when the number of components ranges from 20 to 60, the number of options for each ranges from 3 to 6, and $t$-way interactions are covered for $t\in \{5,6\}$. In some cases a reduction in the number of tests by more than $50\%$ is achieved.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑