首页> 外文会议>IEEE Conference on Software Testing, Verification and Validation >Demystifying the Challenges of Formally Specifying API Properties for Runtime Verification
【24h】

Demystifying the Challenges of Formally Specifying API Properties for Runtime Verification

机译:揭开正式指定运行时验证的API属性的挑战

获取原文

摘要

Runtime Verification (RV) is a technique to monitor formally-specified properties of the software during its execution. RV has shown to be very effective for bug finding. Unfortunately, RV typically relies on formal specification languages and learning those languages be costly for developers. This paper reports on a study to assess the challenges to specify API properties for the purpose of RV. To that end, we wrote SIESTA, a minimalist specification language, extending Java with two features (the ability to catch calls to specified methods and the ability to access the event history of a given object), and asked inexperienced developers (students) to write specifications in that language for certain parts of the Java API. Among our findings, we observed that 40% of the specifications written by the students matched the ground truth perfectly. The main messages of this work are that 1) it is feasible to use a simple imperative language for specifying properties without significant loss of generality; and that 2) developers are capable of writing specifications in the (programming) language they feel comfortable.
机译:运行时验证(RV)是一种在执行期间监视软件的正式指定属性的技术。 RV已显示对错误发现非常有效。不幸的是,RV通常依赖于正式的规范语言,并学习那些语言对开发人员来说昂贵。本文报告了评估为RV目的指定API属性的挑战的研究。为此,我们编写了一个简约的规范语言,扩展了午索,具有两个功能(呼叫指定方法的呼叫和访问给定对象的事件历史记录的能力),并询问缺乏经验的开发人员(学生)来写入针对Java API的某些部分的语言以该语言的规范。在我们的研究结果中,我们观察到学生撰写的40%的规格完美地与地面真理相匹配。这项工作的主要消息是1)使用简单的命令语言是可行的,以指定属性而无需大量普遍损失;那2)开发人员能够用他们觉得舒适的(编程)语言编写规格。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号