论文标题

彩色培养皿网模型中净铭文的覆盖范围分析

Coverage Analysis of Net Inscriptions in Coloured Petri Net Models

论文作者

Ahishakiye, Faustin, Jarabo, José Ignacio Requeno, Kristensen, Lars Michael, Stolz, Volker

论文摘要

高水平的培养皿网,例如彩色培养皿网(CPN)的特征是培养皿网和高级编程语言的组合。在CPN和CPN工具的上下文中,使用标准ML(SML)指定了铭文(例如,弧表达和后卫)。模拟和状态空间探索(SSE)在验证CPN模型中的应用传统上着重于与净结构有关的行为属性,即位置和过渡。这意味着仅对净铭文进行隐式验证,并且没有明确涵盖这些铭文的程度。本文的贡献是一种方法,该方法在编程语言已知的覆盖范围分析与CPN模型的净铭文之间建立了联系。具体而言,我们考虑了修改的条件/决策覆盖范围(MC/DC),该范围将SML决策的分支机构覆盖。我们已经在图书馆中实施了我们的方法,用于CPN工具,该工具由注释和仪器机制组成,该机制透明地拦截并收集了布尔条件的评估,以及一种后处理工具,该工具确定了是否由一组模型执行(运行)确定每个决策是否由MC/DC覆盖。我们在四种较大的公共可用CPN模型上评估了我们的方法。

High-level Petri net such as Coloured Petri Nets (CPNs) are characterised by the combination of Petri nets and a high-level programming language. In the context of CPNs and CPN Tools, the inscriptions (e.g., arc expressions and guards) are specified using Standard ML (SML). The application of simulation and state space exploration (SSE) for validating CPN models traditionally focuses on behavioural properties related to net structure, i.e., places and transitions. This means that the net inscriptions are only implicitly validated, and the extent to which these have been covered is not made explicit. The contribution of this paper is an approach that establishes a link between coverage analysis known from programming languages and net inscriptions of CPN models. Specifically, we consider Modified Condition/Decision Coverage (MC/DC) which generalises branch coverage of SML decisions. We have implemented our approach in a library for CPN Tools comprised of an annotation and instrumentation mechanism that transparently intercept and collect evaluations of Boolean conditions, and a post-processing tool that determines whether each decision is MC/DC-covered by a set of models executions (runs). We evaluate our approach on four larger public-available CPN models.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源