LASE: An Example-Based Program Transformation Tool for Locating and Applying Systematic Edits

被引:0
|
作者
Jacobellis, John [1 ]
Meng, Na [1 ]
Kim, Miryung [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Adding features and fixing bugs in software often require systematic edits which are similar, but not identical, changes to many code locations. Finding all edit locations and editing them correctly is tedious and error-prone. In this paper, we demonstrate an Eclipse plug-in called LASE that (1) creates context-aware edit scripts from two or more examples, and uses these scripts to (2) automatically identify edit locations and (3) transform the code. In LASE, users can view syntactic edit operations and corresponding context for each input example. They can also choose a different subset of the examples to adjust the abstraction level of inferred edits. When LASE locates target methods matching the inferred edit context and suggests customized edits, users can review and correct LASE's edit suggestion. These features can reduce developers' burden in repetitively applying similar edits to different methods. The tool's video demonstration is available at https://www.youtube.com/watch?v=npDqMVP2e9Q.
引用
收藏
页码:1319 / 1322
页数:4
相关论文
共 20 条
  • [1] LASE: Locating and Applying Systematic Edits by Learning from Examples
    Meng, Na
    Kim, Miryung
    McKinley, Kathryn S.
    [J]. PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 502 - 511
  • [2] Example-Based Program Transformation
    Robbes, Romain
    Lanza, Michele
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2008, 5301 : 174 - 188
  • [3] NOBRAINER: A Tool for Example-Based Transformation of C/C++ Code
    V. V. Savchenko
    K. S. Sorokin
    I. E. Bronshtein
    A. S. Volkov
    V. V. Kachanov
    G. A. Pankratenko
    M. K. Ermakov
    S. I. Markov
    A. V. Spiridonov
    I. V. Aleksandrov
    [J]. Programming and Computer Software, 2020, 46 : 362 - 372
  • [4] Applying example-based error correction selectively
    Yamaguchi, T
    Sako, S
    Yamamoto, H
    Kikui, G
    [J]. ASRU'03: 2003 IEEE WORKSHOP ON AUTOMATIC SPEECH RECOGNITION AND UNDERSTANDING ASRU '03, 2003, : 162 - 167
  • [5] NOBRAINER: A Tool for Example-Based Transformation of C/C plus plus Code
    Savchenko, V. V.
    Sorokin, K. S.
    Bronshtein, I. E.
    Volkov, A. S.
    Kachanov, V. V.
    Pankratenko, G. A.
    Ermakov, M. K.
    Markov, S. I.
    Spiridonov, A. V.
    Aleksandrov, I. V.
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 2020, 46 (05) : 362 - 372
  • [6] Example-based model-transformation testing
    Kessentini, Marouane
    Sahraoui, Houari
    Boukadoum, Mounir
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2011, 18 (02) : 199 - 224
  • [7] Example-based model-transformation testing
    Marouane Kessentini
    Houari Sahraoui
    Mounir Boukadoum
    [J]. Automated Software Engineering, 2011, 18 : 199 - 224
  • [8] Example-based color transformation of image and video using basic color categories
    Chang, Youngha
    Saito, Suguru
    Nakajima, Masayuki
    [J]. IEEE TRANSACTIONS ON IMAGE PROCESSING, 2007, 16 (02) : 329 - 336
  • [9] Flexible Example-Based Program Synthesis on Tree-Structured Function Compositions
    Mucsányi B.
    Gyarmathy B.
    Czapp Á.
    Pintér B.
    [J]. SN Computer Science, 2022, 3 (3)
  • [10] The Effect of an Example-Based Dynamic Program Visualization Environment on Students' Programming Skills
    Tekdal, Mehmet
    [J]. EDUCATIONAL TECHNOLOGY & SOCIETY, 2013, 16 (03): : 400 - 410