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

[MS2/metrics/github_prs] Add project process functions & Metrics for github_prs data source #103

Merged
merged 2 commits into from Aug 7, 2018

Conversation

aswanipranjal
Copy link
Contributor

This PR:

  • Adds project_process function for the github_prs data source

  • Updates DaysToClosePRMedian timeseries method to return the values as float values with precision upto 2 digits after the decimal

  • Adds DaysToClosePRAverage class which calculates the average values for time to close days values of closed pull requests. It has a timeseries method same as that of DaysToClosePRMedian class.

Adds tests and data for the BMIPR, DaysToClosePRMedian and DaysToClosePRAverage classes.

- Add the `project_process` function to calculate the metrics under project
process section of the report for github_prs data source
- Update the DaysToClosePRMedian class's timeseries method to return
the float values upto a precision of 2 digits after the decimal.
- Add the DaysToClosePRAverage class with the timeseries method as of
DaysToClosePRMedian.
Add tests and data for the BMIPR, DaysToClosePRAverage and
DaysToClosePRMedian classes' timeseries methods.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 260

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.5%) to 62.438%

Files with Coverage Reduction New Missed Lines %
/home/travis/build/chaoss/grimoirelab-manuscripts/manuscripts2/metrics/github_prs.py 9 89.69%
Totals Coverage Status
Change from base Build 259: 0.5%
Covered Lines: 1132
Relevant Lines: 1813

💛 - Coveralls

Copy link
Member

@valeriocos valeriocos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@valeriocos valeriocos merged commit c515963 into chaoss:master Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants