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

Visualization

Interpretation

5. Known Implementations

6. Data Source

GHTorrent

7. Pseudo Code/Query

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

8. Data Exchange Format

9. References to Academic Literature

10. Internet References

Links to websites that add value to the understanding of the metric.

11. Contributors

Authors of the metric page and authors who made significant changes.

oss-health-metrics/metrics/forks.1491843919.txt.gz · Last modified: 2017/04/10 17:05 by abuhman