Data Analytics Project Evaluation using Github Metrics as Key Performance Indicators (KPIs)
- Clone the repository
- Add the csv file with all github project repo URLs in
data/folder - Run
code/update_repos.pyto clone/pull latest changes in each repository - Run
code/get_stats.pyto print all metrics on terminal and store results inoutput/folder
total number of:
- commits
- issues
-
% of commits project contribution distribution how well did they use version control
-
Use of Version Control lesser % commits -> check LOC. if more, poor usage (bulk edits), if less, good usage (granular) more % of commits -> check LOC. if more, poor usage (bulk edits), if less, good usage (granular)
-
commit frequency shows consistency of contribution
-
% of issues assigned how well were the tasks distributed amongst members
-
average time spent per issue - lead time time between when issue was opened and closed lesser lead time, better is the member's efficiency
-
total time spent on all issues - coding hours total contribution in terms of time
-
average importance of an issue - code churn It is the percentage of a developer’s own code representing an edit to their own recent work. LOC - modified, added and deleted number of files edited
- ignore changes in dataset files (.csv etc)
- Files matching MIME type image, binary should be ignored