arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.07231cs.SEcs.LO
收藏

测试套质量与自动规格说明推理之间的联系

Exploring the Link Between Test Suite Quality and Automatic Specification Inference

Luke Chircop, Christian Colombo, Mark Micallef

摘要:

虽然没有人怀疑正确和完整的规范的重要性,但许多工业系统仍然没有正式的规范-即使他们这样做了,也很难检查其正确性和完整性。这项工作探讨了使用一个不变的提取工具,如Daikon自动推断规格,从可用的测试套件的想法,帮助软件工程师,以改善规范,有另一个版本进行比较的可能性。鉴于我们最初的实验并没有产生令人满意的结果,在本文中,我们将探讨哪些测试套件属性影响质量的推断规范。进一步研究发现,指令、分支和方法覆盖率与高召回率相关,最高可达97.93%。

英文摘要:

While no one doubts the importance of correct and complete specifications, many industrial systems still do not have formal specifications written out -- and even when they do, it is hard to check their correctness and completeness. This work explores the possibility of using an invariant extraction tool such as Daikon to automatically infer specifications from available test suites with the idea of aiding software engineers to improve the specifications by having another version to compare to. Given that our initial experiments did not produce satisfactory results, in this paper we explore which test suite attributes influence the quality of the inferred specification. Following further study, we found that instruction, branch and method coverage are correlated to high recall values, reaching up to 97.93%.

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

↑