Scenario-based and value-based specification mining: better together

作者:David Lo, Shahar Maoz

摘要

Specification mining takes execution traces as input and extracts likely program invariants, which can be used for comprehension, verification, and evolution related tasks. In this work we integrate scenario-based specification mining, which uses a data-mining algorithm to suggest ordering constraints in the form of live sequence charts, an inter-object, visual, modal, scenario-based specification language, with mining of value-based invariants, which detects likely invariants holding at specific program points. The key to the integration is a technique we call scenario-based slicing, running on top of the mining algorithms to distinguish the scenario-specific invariants from the general ones. The resulting suggested specifications are rich, consisting of modal scenarios annotated with scenario-specific value-based invariants, referring to event parameters and participating object properties.

论文关键词:Specification mining, Dynamic analysis, Live sequence charts, Value-based invariants

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10515-012-0103-x