English

git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories

Software Engineering 2019-11-22 v1 Computers and Society Social and Information Networks Physics and Society

Abstract

Data from software repositories have become an important foundation for the empirical study of software engineering processes. A recurring theme in the repository mining literature is the inference of developer networks capturing e.g. collaboration, coordination, or communication from the commit history of projects. Most of the studied networks are based on the co-authorship of software artefacts defined at the level of files, modules, or packages. While this approach has led to insights into the social aspects of software development, it neglects detailed information on code changes and code ownership, e.g. which exact lines of code have been authored by which developers, that is contained in the commit log of software projects. Addressing this issue, we introduce git2net, a scalable python software that facilitates the extraction of fine-grained co-editing networks in large git repositories. It uses text mining techniques to analyse the detailed history of textual modifications within files. This information allows us to construct directed, weighted, and time-stamped networks, where a link signifies that one developer has edited a block of source code originally written by another developer. Our tool is applied in case studies of an Open Source and a commercial software project. We argue that it opens up a massive new source of high-resolution data on human collaboration patterns.

Keywords

Cite

@article{arxiv.1903.10180,
  title  = {git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories},
  author = {Christoph Gote and Ingo Scholtes and Frank Schweitzer},
  journal= {arXiv preprint arXiv:1903.10180},
  year   = {2019}
}

Comments

MSR 2019, 12 pages, 10 figures

R2 v1 2026-06-23T08:17:50.964Z