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/05/18 00:01] GeorgLink new template |
oss-health-metrics:metrics:repository-size [2017/10/06 20:58] (current) GeorgLink fixed link |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Repository Size ====== | ====== Repository Size ====== | ||
| - | ===== 1. Description ===== | ||
| - | Overall size of the repository or number of commits | ||
| - | ===== 2. Use Cases ===== | + | Page permanently moved to |
| - | + | https://github.com/chaoss/metrics/blob/master/activity-metrics/repository-size.md | |
| - | ===== 3. Sample Visualization ===== | + | |
| - | + | ||
| - | ===== 4. Sample Implementation ===== | + | |
| - | === GHTorrent: 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 | + | |
| - | + | ||
| - | === Git: Lines of code and documentation in a repository: === | + | |
| - | [[https://github.com/OSSHealth/ghdata/blob/dev/busFactor/pythonBlameLinesInRepo.py|Lines of Code]] | + | |
| - | + | ||
| - | + | ||
| - | ===== 5. Known Implementations ===== | + | |
| - | + | ||
| - | [[https://github.com/OSSHealth/ghdata|GHData]] | + | |
| - | + | ||
| - | ===== 6. External References (Literature) ===== | + | |