Direct Manipulation for Imperative Programs
Direct Manipulation for Imperative Programs
复制标题
命令式程序的直接操作
DOI:
10.1007/978-3-030-32304-2_17
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
D'Antoni, Loris
中科院分区:
文献类型:
--
作者:
Hu, Qinheping;Samanta, Roopsha;Singh, Rishabh;D'Antoni, Loris
Direct manipulation is a programming paradigm in which the programmer conveys the intended program behavior by modifying program values at runtime. The programming environment then finds a modification of the original program that yields the manipulated values. In this paper, we propose the first framework for direct manipulation of imperative programs. First, we introducedirect state manipulation, which allows programmers to visualize the trace of a buggy program on an input, and modify variable values at a location. Second, we propose a synthesis technique based on program sketching and quantitative objectives to efficiently find the “closest” program to the original one that is consistent with the manipulated values. We formalize the problem and build a toolJDialbased on theSketchsynthesizer. We investigate the effectiveness of direct manipulation by usingJDialto fix benchmarks from introductory programming assignments. In our evaluation, we observe that direct state manipulations are an effective specification mechanism: even when provided with a single state manipulation,JDialcan produce desired program modifications for 66% of our benchmarks while techniques based only on test casesalwaysfail.
登录
查看更多内容
DOI:
--
发表时间:
2014
期刊:
ACM Symposium on User Interface Software and Technology
影响因子:
--
作者:
Thibaud Hottelier;Rastislav Bodík;Kimiko Ryokai
通讯作者:
Kimiko Ryokai
DOI:
--
发表时间:
2017
期刊:
ESEC/SIGSOFT FSE
影响因子:
--
作者:
Sahil Verma;Subhajit Roy
通讯作者:
Subhajit Roy
DOI:
--
发表时间:
2016
期刊:
SYNT@CAV
影响因子:
--
作者:
Manos Koukoutos;Etienne Kneuss;Viktor Kunčak
通讯作者:
Viktor Kunčak
DOI:
--
发表时间:
2016
期刊:
ACM Symposium on User Interface Software and Technology
影响因子:
--
作者:
Brian Hempel;Ravi Chugh
通讯作者:
Ravi Chugh
DOI:
--
发表时间:
1981
期刊:
International Conference on Human Factors in Computing Systems
影响因子:
--
作者:
B. Shneiderman
通讯作者:
B. Shneiderman