[Paper Review] MSR Mining Challenge: The SmartSHARK Repository Mining Data
This paper presents the SmartSHARK repository mining dataset, a comprehensive, multi-source collection of software evolution data from Git, Jira, GitHub, Travis CI, and mailing lists, enriched with manually validated labels and automated links. The dataset enables longitudinal, cross-source analysis of software development, including bug prediction, technical debt, and developer behavior, with full reproducibility through a centralized database.
The SmartSHARK repository mining data is a collection of rich and detailed information about the evolution of software projects. The data is unique in its diversity and contains detailed information about each change, issue tracking data, continuous integration data, as well as pull request and code review data. Moreover, the data does not contain only raw data scraped from repositories, but also annotations in form of labels determined through a combination of manual analysis and heuristics, as well as links between the different parts of the data set. The SmartSHARK data set provides a rich source of data that enables us to explore research questions that require data from different sources and/or longitudinal data over time.
Motivation & Objective
- To create a scalable, unified, and reproducible software repository mining dataset integrating data from diverse sources such as version control, issue tracking, CI, and code reviews.
- To address the limitations of isolated, non-replicable data sources in software engineering research by consolidating multi-source data into a single, extensible database.
- To support longitudinal and cross-source research by providing manually validated labels (e.g., bug fixes, refactorings) and automated links between commits, issues, and pull requests.
- To enable reproducible research by storing raw data, derived metrics, and provenance information in a single, versioned database.
- To extend the utility of repository mining data by including static code metrics, refactorings, and change-level annotations for improved analysis of software evolution.
Proposed method
- The SmartSHARK platform collects raw data from public sources: Git repositories, Jira, GitHub, Travis CI, and mailing lists, using dedicated tools (e.g., vcsSHARK, prSHARK, travisSHARK).
- Static code analysis is performed per commit using tools like PMD and RefactoringMiner to extract metrics, clone detection, and refactoring types.
- Automated link discovery is performed via the linkSHARK tool to associate commits with issues and pull requests using textual and structural similarity.
- Manual validation is conducted using visualSHARK to verify commit-issue links, issue types, and line-level bug-fixing changes, improving label quality.
- The labelSHARK and inducingSHARK tools use validated data to infer labels (e.g., bug-fixing changes) and probable inducing changes, enhancing downstream analysis.
- All data is stored in a centralized, versioned database with consistent schema, enabling reproducible analysis and future extension with new projects and data sources.
Experimental results
Research questions
- RQ1How do changes in code metrics and static analysis warnings correlate with defect density and just-in-time defect prediction?
- RQ2To what extent do heuristics for identifying bug-fixing commits (e.g., SZZ) align with manually validated labels?
- RQ3What is the relationship between refactorings, code comments, and technical debt indicators such as TODOs or documentation changes?
- RQ4How do discussions on mailing lists compare with issue tracker discussions in terms of topic, timing, and resolution patterns?
- RQ5Can pull request reviews effectively detect post-release bugs, and what factors contribute to their failure to do so?
Key findings
- The SmartSHARK dataset includes 23 projects with manually validated line-level labels for bug-fixing changes, enabling high-fidelity evaluation of defect prediction models.
- Manual validation revealed that 38 projects contain issue type labels (e.g., bug, enhancement) that are used to train and evaluate issue type prediction models.
- The dataset contains 2.1 GB of compressed data (version 2.1), with full access available via public URLs, and smaller versions without code entity states for performance-sensitive use.
- The data includes automated detection of refactorings (via RefDiff, RefactoringMiner), change types (via ChangeDistiller), and static analysis warnings (PMD) for each commit.
- Travis CI build logs and statuses are linked to commits, enabling analysis of build reliability and failure patterns over time.
- The dataset supports Hidden Markov Models (HMMs) for modeling developer contribution behavior, with data made available for such longitudinal studies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.