Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 772 Bytes

repository-size.md

File metadata and controls

26 lines (17 loc) · 772 Bytes

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:

Lines of Code

5. Known Implementations

GHdata

6. External References (Literature)