Augmenting Code with In Situ Visualizations to Aid Program Understanding

被引:39
|
作者
Hoffswell, Jane [1 ]
Satyanarayan, Arvind [2 ]
Heer, Jeffrey [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
[2] Stanford Univ, Stanford, CA 94305 USA
基金
美国国家科学基金会;
关键词
Visualization; Code augmentation; Program behavior; Program understanding; Debugging; DESIGN;
D O I
10.1145/3173574.3174106
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Programmers must draw explicit connections between their code and runtime state to properly assess the correctness of their programs. However, debugging tools often decouple the program state from the source code and require explicitly invoked views to bridge the rift between program editing and program understanding. To unobtrusively reveal runtime behavior during both normal execution and debugging, we contribute techniques for visualizing program variables directly within the source code, We describe a design space and placement criteria for embedded visualizations. We evaluate our in situ visualizations in an editor for the Vega visualization grammar. Compared to a baseline development environment, novice Vega users improve their overall task grade by about 2. points when using the in situ visualizations and exhibit significant positive effects on their self-reported speed and accuracy.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] An in situ mock code program to increase outpatient emergency preparedness
    Fitzgerald, Julie
    Youngstrom, Linda
    Hales, Roberta
    Nadkarni, Vinay
    [J]. CRITICAL CARE MEDICINE, 2007, 35 (12) : A126 - A126
  • [22] Augmenting Vulnerability Analysis of Binary Code
    Heelan, Sean
    Gianni, Agustin
    [J]. 28TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC 2012), 2012, : 199 - 208
  • [23] Code understanding through program transformation for reusable component identification
    Yang, HJ
    Luker, P
    Chu, WC
    [J]. FIFTH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION - IWPC '97, PROCEEDINGS, 1997, : 148 - 157
  • [24] Supporting Program Understanding by Automatic Indexing of Functionalities in Source Code
    Nishimoto, Masashi
    Nishiyama, Keiji
    Kawabata, Hideyuki
    Hironaka, Tetsuo
    [J]. 2019 IEEE/ACIS 17TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), 2019, : 13 - 18
  • [25] iBall: Augmenting Basketball Videos with Gaze-moderated Embedded Visualizations
    Chen, Zhutian
    Yang, Qisen
    Shan, Jerry
    Lin, Tica
    Beyer, Johanna
    Xia, Haijun
    Pfster, Hanspeter
    [J]. PROCEEDINGS OF THE 2023 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS (CHI 2023), 2023,
  • [26] Understanding and Augmenting Ideation Processes
    Mackeprang, Maximilian
    [J]. PROCEEDINGS OF THE 2019 ON CREATIVITY AND COGNITION - C&C 19, 2019, : 640 - 645
  • [27] Struggles and Strategies in Understanding Information Visualizations
    Rezaie, Maryam
    Tory, Melanie
    Carpendale, Sheelagh
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2024, 30 (06) : 3035 - 3048
  • [28] Understanding New Graduates: Discovering Program Models That Aid in Transition and Retentione
    Thomas, Marla
    [J]. NURSE LEADER, 2009, 7 (05) : 51 - 53
  • [29] COMPUTER-PROGRAM TO AID IN UNDERSTANDING OF INTERATOMIC FORCES IN MOLECULES AND CRYSTALS
    BUSING, WR
    [J]. ACTA CRYSTALLOGRAPHICA SECTION A, 1972, 28 : S252 - S253
  • [30] Dynamic Program Visualizations - An Experience Report
    Cross, James H., II
    Hendrix, T. Dean
    Barowski, Larry A.
    Umphress, David A.
    [J]. PROCEEDINGS OF THE 45TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE'14), 2014, : 609 - 614