InfectoMeter: A Tool that Helps to Place Bug Fixes

被引:0
|
作者
Azadmanesh, Mohammad R. [1 ]
Hauswirth, Matthias [1 ]
机构
[1] Univ Svizzera Italiana, Fac Informat, Lugano, Switzerland
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Given different ways to fix a failure in a program run, you may want to fix it such that future runs of the same program with other inputs do not show any effect of that fixed bug. We present InfectoMeter, a tool which provides a map of the source code for a programmer such that each statement in the source code is colored based on the impact it has on the rest of the execution. A darker line represents the point where the fix can have a higher impact, but it does not say anything about where the bug might happen. The strategy is inspired from the notion of infection in medical science. Given an infection, it can propagate throughout the whole system and affect different parts. So to fix the system, one needs to focus on the source of infection, rather than a specific element of the system. InfectoMeter implements this idea. It takes as input a unit test and provides colored source code, such that each source line's color represents the impact it has on the rest of the execution.
引用
下载
收藏
页数:3
相关论文
共 50 条
  • [2] The Design of Bug Fixes
    Murphy-Hill, Emerson
    Zimmermann, Thomas
    Bird, Christian
    Nagappan, Nachiappan
    PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 332 - 341
  • [3] Formal Guarantees for Localized Bug Fixes
    Mitra, Srobona
    Banerjee, Ansuman
    Dasgupta, Pallab
    Ghosh, Priyankar
    Kumar, Harish
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2013, 32 (08) : 1274 - 1287
  • [4] An Empirical Study on Real Bug Fixes
    Zhong, Hao
    Su, Zhendong
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 913 - 923
  • [5] A Characterization Study of Repeated Bug Fixes
    Yue, Ruru
    Meng, Na
    Wang, Qianxiang
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 422 - 432
  • [6] Modifications, Tweaks, and Bug Fixes in Architectural Tactics
    Mirakhorli, Mehdi
    Cleland-Huang, Jane
    12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 377 - 380
  • [7] Using a Probabilistic Model to Predict Bug Fixes
    Soto, Mauricio
    Le Goues, Claire
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 221 - 231
  • [8] Understanding Bug Fixes in Ant: An Observational Study
    Saha, Shilpi
    Majumder, Subhashis
    Jain, Samip
    Datta, Subhajit
    2014 INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING AND INFORMATICS (IC3I), 2014, : 243 - 248
  • [9] A Comprehensive Study of Bug Fixes in Quantum Programs
    Luo, Junjie
    Zhao, Pengzhan
    Miao, Zhongtao
    Lan, Shuhan
    Zhao, Jianjun
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1239 - 1246
  • [10] Generating bug-fixes using pretrained transformers
    Drain, Dawn
    Wu, Chen
    Svyatkovskiy, Alexey
    Sundaresan, Neel
    MAPS 2021 - Proceedings of the 5th ACM SIGPLAN International Symposium on Machine Programming, co-located with PLDI 2021, 2021, : 1 - 8