User Tools

Site Tools


oss-health-metrics:metrics:forks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oss-health-metrics:metrics:forks [2017/05/18 00:15]
GeorgLink add link back to list
oss-health-metrics:metrics:forks [2017/10/06 20:54] (current)
GeorgLink fixed link
Line 1: Line 1:
-__**[[oss-health-metrics:​metrics|<<​ Back to List of Activity Metrics]]**__====== Forks ====== +====== Forks ======
- +
-===== 1. Description ===== +
-Number of forks +
- +
-===== 2. Use Cases ===== +
- +
-===== 3. Visualization ===== +
- +
-===== 4. Sample 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 +
- +
- +
-===== 5. Known Implementations ===== +
- +
-[[https://​github.com/​OSSHealth/​ghdata|GHData]] +
- +
-===== 6. External References (Literature) ===== +
  
 +Page permanently moved to
 +https://​github.com/​chaoss/​metrics/​blob/​master/​activity-metrics/​forks.md
oss-health-metrics/metrics/forks.1495066541.txt.gz · Last modified: 2017/05/18 00:15 by GeorgLink