arrow
Return

On tracking Java methods with Git mechanisms

delete2020-07-01
delete20
delete
OA
AI
Y
Yoshiki Higo *
S
Shinpei Hayashi
K
Kusumoto, Shinji
DOI:10.1016/j.jss.2020.110571delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Method-level historical information is useful in various research on mining software repositories such as fault-prone module detection or evolutionary coupling identification. An existing technique named Historage converts a Git repository of a Java project to a finer-grained one. In a finer-grained repository, each Java method exists as a single file. Treating Java methods as files has an advantage, which is that Java methods can be tracked with Git mechanisms. The biggest benefit of tracking methods with Git mechanisms is that it can easily connect with any other tools and techniques build on Git infrastructure. However, Historage's tracking has an issue of accuracy, especially on small methods. More concretely, in the case that a small method is renamed or moved to another class, Historage has a limited capability to track the method. In this paper, we propose a new technique, FinerGit, to improve the trackability of Java methods with Git mechanisms. We implement FinerGit as a system and apply it to 182 open source software projects, which include 1,768K methods in total. The experimental results show that our tool has a higher capability of tracking methods in the case that methods are renamed or moved to other classes. (C) 2020 The Author(s). Published by Elsevier Inc.
Keywords:
Mining software repositories
Source code analysis
Tracking Java methods
Software provenance tracking at the scale of public source code
err2020-05-29
err17
errOAAI
errRousseau, Guillaume; Di Cosmo, Roberto; Zacchiroli, Stefano
errShare
errSave
TrackEtching - A Java based code for etched track profile calculations in SSNTDs
err2017-09-01
err1
PREAI
errVarier, K. Muraleedhara; Sankar, V.; Gangadathan, M. P.
errShare
errSave
Pitfalls and guidelines for using time-based Git data
err2022-10-06
err1
PREAI
errFlint, Samuel W.; Chauhan, Jigyasa; Dyer, Robert
errShare
errSave
Refactoring-Aware Block Tracking in Commit History
err2024-12-01
err0
PREAI
errHasan, Mohammed Tayeeb; Tsantalis, Nikolaos; Alikhanifard, Pouria
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

I
Institute of Science Tokyo
Scholars:
1.3K
Papers: 437
Citations: 1.4W
T
The University of Osaka
Scholars:
1.4K
Papers: 460
Citations: 5.2K
Cited Papers

Cited Papers

errShare
errSave
Making Program Refactoring Safer
err2010-07-01
err72
PREAI
errSoares, Gustavo; Gheyi, Rohit; Serey, Dalton; Massoni, Tiago
errShare
errSave
Classifying software changes: Clean or buggy?
err2008-03-01
err496
PREAI
errKim, Sunghun; Whitehead, E. James, Jr.; Zhang, Yi
errShare
errSave
no more