Towards Modified Condition/Decision Coverage of Rust

Wanja Zaeske, Pietro Albini, Florian Gilcher, Umut Durak
{"title":"Towards Modified Condition/Decision Coverage of Rust","authors":"Wanja Zaeske, Pietro Albini, Florian Gilcher, Umut Durak","doi":"arxiv-2409.08708","DOIUrl":null,"url":null,"abstract":"Testing is an essential tool to assure software, especially so in\nsafety-critical applications. To quantify how thoroughly a software item has\nbeen tested, a test coverage metric is required. Maybe the strictest such\nmetric known in the safety critical systems is Modified Condition/Decision\nCoverage (MC/DC), which DO-178C prescribes for the highest software assurance\nlevel in aviation. In the past, ambiguities in the interpretation of MC/DC have\nbeen resolved already, i. e. in CAST-10. However, some central features of the\nRust programming language necessitate further clarification. This work\ninvestigates aforementioned features, in particular pattern matching, providing\na consistent view on how to apply MC/DC to Rust. Hence, this paper informs the\nimplementation of Rust MC/DC tools, paving the road towards Rust in\nhigh-assurance applications.","PeriodicalId":501278,"journal":{"name":"arXiv - CS - Software Engineering","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.08708","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Testing is an essential tool to assure software, especially so in safety-critical applications. To quantify how thoroughly a software item has been tested, a test coverage metric is required. Maybe the strictest such metric known in the safety critical systems is Modified Condition/Decision Coverage (MC/DC), which DO-178C prescribes for the highest software assurance level in aviation. In the past, ambiguities in the interpretation of MC/DC have been resolved already, i. e. in CAST-10. However, some central features of the Rust programming language necessitate further clarification. This work investigates aforementioned features, in particular pattern matching, providing a consistent view on how to apply MC/DC to Rust. Hence, this paper informs the implementation of Rust MC/DC tools, paving the road towards Rust in high-assurance applications.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
实现修改后的锈蚀条件/决定覆盖范围
测试是保证软件质量的重要工具,在安全关键型应用中尤其如此。为了量化软件项目的测试彻底程度,需要一个测试覆盖率指标。在安全关键型系统中,最严格的此类指标可能是修正条件/决策覆盖率(MC/DC),DO-178C 规定了航空领域最高的软件保证级别。过去,MC/DC 解释中的模糊之处已经在 CAST-10 中得到解决。然而,Rust 编程语言的一些核心特征需要进一步澄清。本文对上述特征,尤其是模式匹配进行了研究,为如何将 MC/DC 应用于 Rust 提供了一致的观点。因此,本文为 Rust MC/DC 工具的实施提供了参考,为 Rust 融入高保证应用铺平了道路。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Promise and Peril of Collaborative Code Generation Models: Balancing Effectiveness and Memorization Shannon Entropy is better Feature than Category and Sentiment in User Feedback Processing Motivations, Challenges, Best Practices, and Benefits for Bots and Conversational Agents in Software Engineering: A Multivocal Literature Review A Taxonomy of Self-Admitted Technical Debt in Deep Learning Systems Investigating team maturity in an agile automotive reorganization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1