Pinpoint: A Record, Replay, and Extract System to Support Code Comprehension and Reuse

Wengran Wang, G. Fraser, Mahesh Bobbadi, Benyamin T. Tabarsi, T. Barnes, Chris Martens, Shuyin Jiao, T. Price
{"title":"Pinpoint: A Record, Replay, and Extract System to Support Code Comprehension and Reuse","authors":"Wengran Wang, G. Fraser, Mahesh Bobbadi, Benyamin T. Tabarsi, T. Barnes, Chris Martens, Shuyin Jiao, T. Price","doi":"10.1109/vl/hcc53370.2022.9833105","DOIUrl":null,"url":null,"abstract":"Block-based programming environments, such as Scratch and Snap!, engage users to create programming artifacts such as games and stories, and share them in an online community. Many Snap! users start programming by reusing and modifying an example project, but encounter many barriers when searching and identifying the relevant parts of the program to learn and reuse. We present Pinpoint, a system that helps Snap! programmers understand and reuse an existing program by isolating the code responsible for specific events during program execution. Specifically, a user can record an execution of the program (including user inputs and graphical output), replay the output, and select a specific time interval where the event of interest occurred, to view code that is relevant to this event. We conducted a small-scale user study to compare users’ program comprehension experience with and without Pinpoint, and found suggestive evidence that Pinpoint helps users understand and reuse a complex program more efficiently.","PeriodicalId":351709,"journal":{"name":"2022 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)","volume":"83 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/vl/hcc53370.2022.9833105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Block-based programming environments, such as Scratch and Snap!, engage users to create programming artifacts such as games and stories, and share them in an online community. Many Snap! users start programming by reusing and modifying an example project, but encounter many barriers when searching and identifying the relevant parts of the program to learn and reuse. We present Pinpoint, a system that helps Snap! programmers understand and reuse an existing program by isolating the code responsible for specific events during program execution. Specifically, a user can record an execution of the program (including user inputs and graphical output), replay the output, and select a specific time interval where the event of interest occurred, to view code that is relevant to this event. We conducted a small-scale user study to compare users’ program comprehension experience with and without Pinpoint, and found suggestive evidence that Pinpoint helps users understand and reuse a complex program more efficiently.
精确:支持代码理解和重用的记录、回放和提取系统
基于块的编程环境,如Scratch和Snap!,吸引用户创建编程工件,如游戏和故事,并在在线社区中分享它们。多拍!用户通过重用和修改示例项目开始编程,但是在搜索和确定要学习和重用的程序的相关部分时遇到许多障碍。我们介绍了一个帮助Snap!程序员通过隔离程序执行期间负责特定事件的代码来理解和重用现有程序。具体来说,用户可以记录程序的执行(包括用户输入和图形输出),重播输出,并选择感兴趣的事件发生的特定时间间隔,以查看与该事件相关的代码。我们进行了一项小规模的用户研究,比较用户在使用和不使用Pinpoint时的程序理解体验,并发现了启发性的证据,表明Pinpoint可以帮助用户更有效地理解和重用复杂的程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信