arrow
返回

How different are different diff algorithms in Git? Use --histogram for code changes

delete2019-09-11
delete30
delete
OA
AI
Y
Yusuf Sulistyo Nugroho
H
Hideaki Hata *
Kenichi Matsumoto 封面图
Kenichi Matsumoto (Kenichi Matsumoto)
DOI:10.1007/s10664-019-09772-zdelete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Automatic identification of the differences between two versions of a file is a common and basic task in several applications of mining code repositories. Git, a version control system, has a diff utility and users can select algorithms of diff from the default algorithm Myers to the advanced Histogram algorithm. From our systematic mapping, we identified three popular applications of diff in recent studies. On the impact on code churn metrics in 14 Java projects, we obtained different values in 1.7% to 8.2% commits based on the different diff algorithms. Regarding bug-introducing change identification, we found 6.0% and 13.3% in the identified bug-fix commits had different results of bug-introducing changes from 10 Java projects. For patch application, we found that the Histogram is more suitable than Myers for providing the changes of code, from our manual analysis. Thus, we strongly recommend using the Histogram algorithm when mining Git repositories to consider differences in source code.
Keyword:
Code changes
Diff
Histogram algorithm
Mining repositories
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Measuring the quality of diff algorithms: a formalization测量diff算法的质量: 形式化
err2016-05-01
err6
errOAAI
errBarabucci, Gioele; Ciancarini, Paolo; Di Iorio, Angelo; Vitali, Fabio
err分享
err收藏
How does code readability change during software evolution?在软件发展过程中,代码可读性如何变化?
err2020-09-24
err16
PREAI
errPiantadosi, Valentina; Fierro, Fabiana; Scalabrino, Simone; Serebrenik, Alexander; Oliveto, Rocco
err分享
err收藏
err分享
err收藏
err分享
err收藏
A Systematic Mapping Study on Analysis of Code Repositories代码库分析的系统映射研究
err2021-06-02
err4
errOAAI
errSayago-Heredia, Jaime; Perez-Castillo, Ricardo; Piattini, Mario
err分享
err收藏

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
6.4K

机构

暂无机构信息
引用论文

引用论文

Balanocarpol, a new polyphenol from Balanocarpus zeylanicus(trimen) and Hopea jucunda(Thw.)(Dipterocarpaceae)
err1985-01-01
err0
PREAI
errM. N. Champika Diyasena; Subramaniam Sotheeswaran; Sivagnanasunderam Surendrakumar; Sinnathamby Balasubramanian; Michael Bokel; Wolfgang Kraus
err分享
err收藏
The Role of Minimally Invasive Surgery in Multifocal Renal Cell Carcinoma
err2012-04-27
err0
PREAI
errSerge Ginzburg; Robert G. Uzzo; Alexander Kutikov
err分享
err收藏
A Framework for Evaluating the Results of the SZZ Approach for Identifying Bug-Introducing Changes
err2017-07-01
err139
PREAI
errda Costa, Daniel Alencar; McIntosh, Shane; Shang, Weiyi; Kulesza, Uira; Coelho, Roberta; Hassan, Ahmed E.
err分享
err收藏
On the reliability of mapping studies in software engineering关于软件工程中映射研究的可靠性
err2013-10-01
err132
errOAAI
errWohlin, Claes; Runeson, Per; da Mota Silveira Neto, Paulo Anselmo; Engstrom, Emelie; Machado, Ivan do Carmo; de Almeida, Eduardo Santana
err分享
err收藏
Selective monoamine oxidase inhibitors. 1. Compounds related to 4-aminophenethylamine
err2002-05-01
err0
PREAI
errLennart Florvall; Anna Lena Ask; Sven Ove Ogren; Svante B. Ross
err分享
err收藏
Addressing limitations of the Gait Variability Index to enhance its applicability: The enhanced GVI (EGVI)
err2018-06-01
err0
errOAAI
errArnaud Gouelle; Linda Rennie; David J. Clark; Fabrice Mégrot; Chitralakshmi K. Balasubramanian
err分享
err收藏
Development of novel and non‐invasive diagnostic markers for lower urinary tract symptoms using urothelial cells in voided urine
err2017-10-17
err0
PREAI
errHiroshi Shimura; Takahiko Mitsui; Sachiko Tsuchiya; Tatsuya Miyamoto; Tatsuya Ihara; Satoru Kira; Hiroshi Nakagomi; Norifumi Sawada; Yuki Imai; Takanori Mochizuki; Masayuki Takeda
err分享
err收藏
学者 查看更多内容