Skip to main content
ConductScienceScienceDex
zenodoopen

Measuring Unique Changes: How do Distinct Changes Affect the Size and Lifetime of Pull Requests?

<p>Size metrics are commonly cited features in studies that analyze influencing factors on pull request lifetime. These metrics are also important for integrators, as based on them, they may prefer to prioritize pull requests easy to assess. However, code changes that form pull requests may not be unique, and repetitive changes may represent less complexity than expected by considering size metrics like lines of code or source files.&nbsp;The goal of this study is to analyze the influence of unique changes over pull requests relative to its size and lifetime.&nbsp;We collected data from 83,000+ pull requests of 26 projects hosted on GitHub. Also, we proposed a metric called unique changes rate to measure the proportion of unique changes over the total changes made by a pull request. We conducted experiments with Random Forest regression models and association rules to examine the influence of unique changes rate.&nbsp;Results show that unique changes have more influence over the lifetime of large pull requests, is determined mainly by the number of source files, and low levels of unique changes rate affect more the relationship between pull request size and lifetime than high levels.&nbsp;We conclude that unique changes can figure as an interesting feature in the context of the pull request lifetime. Results indicate that unique changes may increase or decrease the influence of pull request size on its lifetime. Our work has implications for researchers and core team members in software projects since unique changes represent helpful information.</p>

ShareScore

32/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
4
Access
16
Reuse readiness
8
Engagement
0

Dataset details

Repository
zenodo
Published
October 13, 2020
License
cc-by-4.0
DOI
10.5281/zenodo.4088962

Scored with release 0.9.0

ScienceDex for faculty

Your academic CV and NIH biosketch

Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.