User Tools

Site Tools


oss-health-metrics:metrics:pull-request-comments

This is an old revision of the document!


Pull Request Comments

1. Acronym

2. Alternate Names

3. Classification

Code Health

4. Description

Number of comments per pull request

Visualization

Interpretation

5. Known Implementations

6. Data Source

GHTorrent

7. Pseudo Code/Query

select avg(num_comments), project_name, url
from
(
	(select count(pull_request_comments.comment_id) as num_comments, projects.id as project_id, projects.name as project_name, projects.url as url, pull_requests.id as pull_request_id
	from pull_request_comments
		join pull_requests on pull_requests.id = pull_request_comments.pull_request_id
		join projects on projects.id = pull_requests.base_repo_id
	group by projects.id, pull_requests.id) comment_nums
)
group by project_id

8. Data Exchange Format

9. References to Academic Literature

10. Internet References

11. Contributors

Anna Buhman

oss-health-metrics/metrics/pull-request-comments.1491851580.txt.gz · Last modified: 2017/04/10 19:13 by abuhman