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 条
  • [41] Enabling student development of interactive program visualizations
    Juell, P
    [J]. PROCEEDINGS OF THE FIFTH JOINT CONFERENCE ON INFORMATION SCIENCES, VOLS 1 AND 2, 2000, : A465 - A468
  • [42] Understanding the code
    Nybo, Kristie
    Roberts, Sir Richard
    [J]. BIOTECHNIQUES, 2013, 54 (03) : 117 - 117
  • [43] UNDERSTANDING THE CODE
    Davis, Michael W.
    [J]. JOURNAL OF THE AMERICAN DENTAL ASSOCIATION, 2009, 140 (11): : 1344 - +
  • [44] Design guidelines for augmenting short-form videos using animated data visualizations
    Tang, Tan
    Tang, Junxiu
    Hong, Jiayi
    Yu, Lingyun
    Ren, Peiran
    Wu, Yingcai
    [J]. JOURNAL OF VISUALIZATION, 2020, 23 (04) : 707 - 720
  • [45] Design guidelines for augmenting short-form videos using animated data visualizations
    Tan Tang
    Junxiu Tang
    Jiayi Hong
    Lingyun Yu
    Peiran Ren
    Yingcai Wu
    [J]. Journal of Visualization, 2020, 23 : 707 - 720
  • [46] JTourBus: Simplifying program understanding by documentation that provides tours through the source code
    Oezbek, Christopher
    Prechelt, Lutz
    [J]. 2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2007, : 264 - 273
  • [47] Addressing Misconceptions About Code with Always-On Programming Visualizations
    Lieber, Tom
    Brandt, Joel R.
    Miller, Rob C.
    [J]. 32ND ANNUAL ACM CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS (CHI 2014), 2014, : 2481 - 2490
  • [48] Augmenting Source Code Lines with Sample Variable Values
    Sulir, Matus
    Poruban, Jaroslav
    [J]. 2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 344 - 347
  • [49] ANTIBIOTYPE-CODE DETERMINED BY A COMPUTER-PROGRAM - EPIDEMIOLOGICAL TOOLS AND LABORATORY CONTROL AID
    FOSSE, T
    MACONE, F
    LAFFONT, C
    [J]. PATHOLOGIE BIOLOGIE, 1988, 36 (5BIS): : 603 - 607
  • [50] Visualizations to promote student understanding: Influences of Loretta Jones
    Williamson, Vickie M.
    [J]. ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2012, 243