This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
oss-health-metrics:metrics:pull-request-comments [2017/04/26 18:31] abuhman |
oss-health-metrics:metrics:pull-request-comments [2017/10/06 20:56] (current) GeorgLink fixed link |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Pull Request Comments ====== | ====== Pull Request Comments ====== | ||
| - | ===== 1. Acronym ===== | ||
| - | |||
| - | ===== 2. Alternate Names ===== | ||
| - | |||
| - | ===== 3. Classification ===== | ||
| - | Code Health | ||
| - | |||
| - | ===== 4. Description ===== | ||
| - | Number of comments per pull request | ||
| - | |||
| - | ==== Pseudo Code ==== | ||
| - | |||
| - | ==== Visualization ==== | ||
| - | |||
| - | ==== Interpretation ==== | ||
| - | |||
| - | ===== 5. Example Implementation ===== | ||
| - | === GHTorrent === | ||
| - | 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 | ||
| - | |||
| - | ===== 6. Data Exchange Format ===== | ||
| - | |||
| - | ===== 7. Known Implementations ===== | ||
| - | |||
| - | ===== 8. References to Academic Literature ===== | ||
| - | |||
| - | ===== 9. Internet References ===== | ||
| - | |||
| - | ===== 10. Contributors ===== | ||
| - | Anna Buhman | ||
| + | Page permanently moved to | ||
| + | https://github.com/chaoss/metrics/blob/master/activity-metrics/pull-request-comments.md | ||