A visual notation for succinct program traces

IF 1.8 3区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Journal of Computer Languages Pub Date : 2023-06-01 Epub Date: 2023-02-09 DOI:10.1016/j.cola.2023.101199
Divya Bajaj , Martin Erwig , Danila Fedorin
{"title":"A visual notation for succinct program traces","authors":"Divya Bajaj ,&nbsp;Martin Erwig ,&nbsp;Danila Fedorin","doi":"10.1016/j.cola.2023.101199","DOIUrl":null,"url":null,"abstract":"<div><p>Program traces are a widely used representation for explaining the dynamic behavior of programs. They help to make sense of computations and also support the location and elimination of bugs. Unfortunately, program traces can grow quite big very quickly, even for small programs, which compromises their usefulness.</p><p>In this paper we present a visual notation for program traces that supports their concise representation. We explain the design decisions of the notation and compare it in detail with several alternatives. An important part of the trace representation is its flexibility and adaptability, which allows users to transform traces by applying filters that capture common abstractions for trace representations.</p><p>We also present an evaluation of the trace notation and filters on a set of standard examples. The results show that our representation can reduce the overall size of traces by at least 79%, which suggests that our notation is an effective improvement over the use of plain traces in the explanation of dynamic program behavior.</p></div>","PeriodicalId":48552,"journal":{"name":"Journal of Computer Languages","volume":"75 ","pages":"Article 101199"},"PeriodicalIF":1.8000,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computer Languages","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2590118423000096","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2023/2/9 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Program traces are a widely used representation for explaining the dynamic behavior of programs. They help to make sense of computations and also support the location and elimination of bugs. Unfortunately, program traces can grow quite big very quickly, even for small programs, which compromises their usefulness.

In this paper we present a visual notation for program traces that supports their concise representation. We explain the design decisions of the notation and compare it in detail with several alternatives. An important part of the trace representation is its flexibility and adaptability, which allows users to transform traces by applying filters that capture common abstractions for trace representations.

We also present an evaluation of the trace notation and filters on a set of standard examples. The results show that our representation can reduce the overall size of traces by at least 79%, which suggests that our notation is an effective improvement over the use of plain traces in the explanation of dynamic program behavior.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
简洁程序跟踪的可视化表示法
程序跟踪是一种广泛使用的表示方法,用于解释程序的动态行为。它们有助于理解计算,也支持定位和消除错误。不幸的是,即使对于小程序来说,程序跟踪也会很快变得很大,这会损害它们的有用性。在本文中,我们为程序跟踪提供了一种可视化的表示法,它支持它们的简洁表示。我们解释了符号的设计决策,并将其与几种替代方案进行了详细比较。跟踪表示的一个重要部分是它的灵活性和适应性,它允许用户通过应用过滤器来转换跟踪,这些过滤器捕获跟踪表示的常见抽象。我们还对一组标准示例的跟踪表示法和过滤器进行了评估。结果表明,我们的表示可以将跟踪的总体大小减少至少79%,这表明在解释动态程序行为时,我们的记法是对使用普通跟踪的有效改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of Computer Languages
Journal of Computer Languages Computer Science-Computer Networks and Communications
CiteScore
5.00
自引率
13.60%
发文量
36
期刊最新文献
Imperative-program synthesis from assumptions and assertions by abstract analysis and SMT mutations TeMDA — A model-driven framework for automatic validation of GDPR compliance A type system for enforcing serializability of distributed transactions with mixed consistency Editorial Board Software design smells prediction using machine learning with evolutionary and structural metrics of source code
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1