User Tools

Site Tools


oss-health-metrics:metrics:pull-requests-open

This is an old revision of the document!


Pull Requests Open

1. Acronym

2. Alternate Names

3. Classification

Code Health

4. Description

Number of open pull requests Might be more telling than total pull requests

Visualization

Interpretation

5. Known Implementations

6. Data Source

GHTorrent

7. Pseudo Code/Query

SELECT count(distinct pull_request_id) as num_still_open, projects.name as project_name, projects.url as url
FROM msr14.pull_request_history
    join pull_requests on pull_request_history.pull_request_id = pull_requests.id
    join projects on pull_requests.base_repo_id = projects.id
where pull_request_id not in 
    (SELECT pull_request_id
    FROM msr14.pull_request_history
    where action = 'closed')
group by projects.id

8. Data Exchange Format

9. References to Academic Literature

10. Internet References

11. Contributors

Anna Buhman

oss-health-metrics/metrics/pull-requests-open.1491851335.txt.gz · Last modified: 2017/04/10 19:08 by abuhman