论文标题

通过语法和目标的语义信息来识别边界条件

Identifying Boundary Conditions with the Syntax and Semantic Information of Goals

论文作者

Xia, Yechuan, Li, Jianwen, Xiao, Shengping, Miao, Weikai, Pu, Geguang

论文摘要

在面向目标的需求工程中,边界条件(BC)用于捕获目标的差异,即,在某些情况下,整个目标无法满足目标。由于目标是由时间逻辑正式描述的,因此解决BCS会自动帮助工程师判断目标要求是否存在疏忽。几项努力已致力于计算BCS,并减少冗余BC的数量。但是,最新的算法并不能利用规范背后的逻辑信息,并且不足以在现实中使用。此外,即使在以前的工作中探索了减少冗余BC,但计算出的BCS仍可能对调试工程不重要。在本文中,我们从头开始建立BC问题的基本框架。基于此,我们首先提出了一种新的方法,以识别具有目标语法信息的BC。实验结果表明,该方法能够达到> 1000倍的速度,而不是先前的最新方法。受结果的启发,我们发现了通过我们的方法解决的BCS缺陷,也是由先前的BC解决的,即计算出的大多数BCS都很难进行调试。结果,我们利用目标的语义信息,并提出了一种基于自动机的方法来解决BCS,即Semanticbc,它不仅可以找到差异的最小范围,而且还会产生易于理解的BC,而不会失去性能。

In goal-oriented requirement engineering, boundary conditions(BC) are used to capture the divergence of goals, i.e., goals cannot be satisfied as a whole in some circumstances. As the goals are formally described by temporal logic, solving BCs automatically helps engineers judge whether there is negligence in the goal requirements. Several efforts have been devoted to computing the BCs as well as to reducing the number of redundant BCs as well. However, the state-of-the-art algorithms do not leverage the logic information behind the specification and are not efficient enough for use in reality. In addition, even though reducing redundant BCs are explored in previous work, the computed BCs may be still not valuable to engineering for debugging. In this paper, we start from scratch to establish the fundamental framework for the BC problem. Based on that, we first present a new approach SyntacBC to identify BCs with the syntax information of goals. The experimental results show that this method is able to achieve a >1000X speed-up than the previous state-of-the-art methodology. Inspired by the results, we found the defects of BCs solved by our method and also by the previous ones, i.e., most of BCs computed are difficult for debugging. As a result, we leverage the semantics information of goals and propose an automata-based method for solving BCs, namely SemanticBC, which can not only find the minimal scope of divergence, but also produce easy-to-understand BCs without losing performance.

扫码加入交流群

加入微信交流群

微信交流群二维码

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