Safety as a metric

M. Felleisen, Robert Cartwright
{"title":"Safety as a metric","authors":"M. Felleisen, Robert Cartwright","doi":"10.1109/CSEE.1999.755192","DOIUrl":null,"url":null,"abstract":"Most software metrics measure the syntactic qualities of a program. While measuring such properties may reveal problems in programs, these metrics fail to measure the essence of programs: (partial) correctness and robustness. We therefore propose to base metrics on semantic, instead of syntactic, criteria. To illustrate the idea of semantics-based metrics, we have built static debuggers, which are tools that detect potential run-time failures. More specifically, a static debugger analyses programs written in safe programming languages and pinpoints those program operations that might trigger a run-time error. This paper briefly recalls what safety means for a programming language. It then sketches how a static debugger works and the role it plays in measuring the robustness of a program. The last section discusses the use of static debuggers in the classroom, an NSF Educational Innovation Project.","PeriodicalId":104736,"journal":{"name":"Proceedings 12th Conference on Software Engineering Education and Training (Cat. No.PR00131)","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1999-03-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 12th Conference on Software Engineering Education and Training (Cat. No.PR00131)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSEE.1999.755192","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Most software metrics measure the syntactic qualities of a program. While measuring such properties may reveal problems in programs, these metrics fail to measure the essence of programs: (partial) correctness and robustness. We therefore propose to base metrics on semantic, instead of syntactic, criteria. To illustrate the idea of semantics-based metrics, we have built static debuggers, which are tools that detect potential run-time failures. More specifically, a static debugger analyses programs written in safe programming languages and pinpoints those program operations that might trigger a run-time error. This paper briefly recalls what safety means for a programming language. It then sketches how a static debugger works and the role it plays in measuring the robustness of a program. The last section discusses the use of static debuggers in the classroom, an NSF Educational Innovation Project.
安全作为一种度量
大多数软件度量度量程序的语法质量。虽然度量这些属性可能会揭示程序中的问题,但这些度量不能度量程序的本质:(部分)正确性和健壮性。因此,我们建议将度量标准建立在语义标准上,而不是语法标准上。为了说明基于语义的度量的思想,我们构建了静态调试器,它是检测潜在运行时故障的工具。更具体地说,静态调试器分析用安全编程语言编写的程序,并查明那些可能触发运行时错误的程序操作。本文简要回顾了安全对于编程语言的意义。然后概述了静态调试器是如何工作的,以及它在测量程序的健壮性方面所起的作用。最后一节讨论静态调试器在教室中的使用,这是NSF教育创新项目。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信