User Tools

Site Tools


oss-health-metrics:metrics:forks

This is an old revision of the document!


Forks

1. Acronym

2. Alternate Names

3. Classification

Community Health

4. Description

Number of forks

Pseudo Code

Visualization

Interpretation

5. Example Implementation

GHTorrent: Number of direct forks for each project that is not itself a fork (does not take into account forks of forks)

select base_projects.base_project_id, base_projects.name as base_project_name, 
base_projects.url as base_project_url, count(forks.id) as num_forks from 
(select * from projects) as forks
right join
(select id as base_project_id, name, url from projects
where forked_from is null) as base_projects
on forks.forked_from = base_projects.base_project_id
group by base_projects.base_project_id

6. Data Exchange Format

7. Known Implementations

8. References to Academic Literature

9. Internet References

10. Contributors

Anna Buhman

oss-health-metrics/metrics/forks.1493240103.txt.gz · Last modified: 2017/04/26 20:55 by abuhman