User Tools

Site Tools


oss-health-metrics:metrics:repository-size

This is an old revision of the document!


Repository Size

1. Description

Overall size of the repository or number of commits

2. Use Cases

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:

5. Known Implementations

6. External References (Literature)

oss-health-metrics/metrics/repository-size.1495065698.txt.gz · Last modified: 2017/05/18 00:01 by GeorgLink