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:repository-size [2017/04/10 19:24] abuhman [7. Pseudo Code/Query] |
oss-health-metrics:metrics:repository-size [2017/10/06 20:58] (current) GeorgLink fixed link |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Repository Size ====== | ====== Repository Size ====== | ||
| - | ===== 1. Acronym ===== | ||
| - | ===== 2. Alternate Names ===== | + | Page permanently moved to |
| - | + | https://github.com/chaoss/metrics/blob/master/activity-metrics/repository-size.md | |
| - | ===== 3. Classification ===== | + | |
| - | Code health | + | |
| - | + | ||
| - | ===== 4. Description ===== | + | |
| - | Overall size of the repository or number of commits | + | |
| - | + | ||
| - | ==== Visualization ==== | + | |
| - | + | ||
| - | ==== Interpretation ==== | + | |
| - | + | ||
| - | ===== 5. Known Implementations ===== | + | |
| - | + | ||
| - | ===== 6. Data Source ===== | + | |
| - | GHTorrent, Git | + | |
| - | + | ||
| - | ===== 7. Pseudo Code/Query ===== | + | |
| - | === Total number of commits per project:=== | + | |
| - | + | ||
| - | select count(commits.id) as num_commits, projects.name as project_name, projects.url as url | + | |
| - | from commits | + | |
| - | join project_commits on commits.id = project_commits.project_id | + | |
| - | join projects on projects.id = project_commits.project_id | + | |
| - | group by projects.id | + | |
| - | + | ||
| - | === Lines of code and documentation in a repository: === | + | |
| - | [[https://github.com/OSSHealth/ghdata/blob/dev/busFactor/pythonBlameLinesInRepo.py|Lines of Code]] | + | |
| - | + | ||
| - | ===== 8. Data Exchange Format ===== | + | |
| - | + | ||
| - | ===== 9. References to Academic Literature ===== | + | |
| - | + | ||
| - | ===== 10. Internet References ===== | + | |
| - | + | ||
| - | ===== 11. Contributors ===== | + | |
| - | Anna Buhman | + | |