Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculating the Truck-Factor of git Applications #27

Closed
GeorgLink opened this issue Mar 3, 2017 · 13 comments
Closed

Calculating the Truck-Factor of git Applications #27

GeorgLink opened this issue Mar 3, 2017 · 13 comments
Assignees
Labels
feature-request Request for a new feature in Augur

Comments

@GeorgLink
Copy link
Member

The CII Census refers to the truck factor tool for git. - Maybe this can help us.

@howderek
Copy link
Contributor

howderek commented Mar 3, 2017

It looks like this lab also made http://gittrends.io/ which looks really great. I'll definitely check out their approach

@howderek
Copy link
Contributor

howderek commented Mar 3, 2017

@howderek
Copy link
Contributor

howderek commented Mar 3, 2017

After reading the paper, I found a couple of issues and a couple of good insights!

Issues:

  • This approach doesn't take time into account, so core developers who have already left are still counted in the bus factor
  • This approach requires manual review of the repositories to filter out files that should not be looked at when measuring how much a developer contributed

Insights:

  • They mentioned the difficulty in measuring the bus factor of projects like Linux and Homebrew, who have massive numbers of developers but not as many core developers because they are extensible projects
  • Libraries added to a project should not be considered contributions (I maybe disagree, I think that large changes such as that are indicative of being a core developer)
  • Their survey suggested that documentation and tests should influence the bus factor

@GeorgLink
Copy link
Member Author

GeorgLink commented Mar 3, 2017 via email

@GeorgLink
Copy link
Member Author

I had requested gittrends.io analysis of the HealthIndicators rep: http://gittrends.io/#/repos/OSSHealth/HealthIndicators

@ChristianCme
Copy link
Contributor

@sgoggins @howderek and I discussed truck factor and we determined that we would use the total lines of code as part of the calculation. We originally were going to get this value from the GitHub API, however, we cannot get lines of code from the API, but I can get number of additions and deletions in each file by each user. Would that still be useful for this metric?

@GeorgLink
Copy link
Member Author

GeorgLink commented Mar 28, 2017 via email

@sgoggins
Copy link
Member

sgoggins commented Mar 28, 2017

Leveraging some of my prior work and what we know about truck factor, we imagined the following inputs having some logic for reasonable inclusion in a comprehensive metric; or category of metrics.

I think additions and deletions can be helpful, as can total lines of code. They can also be somewhat misleading when repositories are refactored.

Our notes from the discussion are below.

img_8874

@abuhman
Copy link
Contributor

abuhman commented Apr 3, 2017

I have added a folder with files for example of getting number of lines in a repo and percentage of a repo written by each user using git blame.

@germonprez
Copy link
Contributor

germonprez commented Apr 3, 2017 via email

@sgoggins
Copy link
Member

sgoggins commented Oct 6, 2017

we have a "bus factor" calculation that can be incorporated into the end of year release, along with documentation.

@sgoggins sgoggins added the feature-request Request for a new feature in Augur label Oct 6, 2017
@sgoggins sgoggins added this to the 0.5.0: Festivus Down milestone Oct 6, 2017
@GeorgLink
Copy link
Member Author

we have a "bus factor" calculation that can be incorporated into the end of year release, along with documentation.

Great! I look forward to it.

@sgoggins sgoggins modified the milestones: 0.5.0: Festivus Down, 0.4.0: Red Pumpkin , 0.5.0: Cold Fusion Dec 17, 2017
@sgoggins
Copy link
Member

We are pushing this because we're prioritizing new visualization types to finish the cold fusion release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature in Augur
Projects
None yet
Development

No branches or pull requests

6 participants