Giter Club home page Giter Club logo

ghstat's Introduction

ghstat

Build Status Scrutinizer Code Quality Go Report Card Maintainability codecov GoDoc License: GPL v3

Statistical multi-criteria decision-making comparator for selected Github's projects.

Project's overview was given on Open Source Summit Europe 2018 "Methodology of Multi-Criteria Comparison and Typology of Open Source Projects" - https://events.linuxfoundation.org/wp-content/uploads/2017/12/Methodology-of-Multi-Criteria-Comparison-and-Typology-of-Open-Source-Project-Fedir-Rykhtik-Stratis-1.pdf

Getting started

Installation instruction:

  • Generate a token for Your GitHub account: https://github.com/settings/tokens

  • Select following scope: repo and all it's sub-scopes

  • Build the app

  • Configure the project with environment variables

  • Launch

    go get -u -v github.com/fedir/ghstat cd [package location] go build mkdir tmp export GH_USR="your_gh_username" && export GH_PASS="your_gh_api_token" ./ghstat

The project contains already some data received from Github API for local testing and debugging, but You could update it in the following way:

./ghstat --cc
bash bin/build_all.sh

If You have timeouts, You could check the rate limit with :

./ghstat -l

Usage example to compare most famous JS frameworks

./ghstat -r angular/angular,facebook/react,vuejs/vue

Usage example to compare most famous PHP frameworks

./ghstat -r laravel/framework,symfony/symfony,yiisoft/yii2,bcit-ci/CodeIgniter

After that, result.csv file will be created (or updated, if it's already exists) with the statistics of selected repositories.

Comparaison methodology

At the moment We choosed following metrics, here they are, in alphabetical order :

  • Active forkers percentage - more is better
  • Age in days - newest is better :)
  • Closed issues, % - more is better
  • Watchers - more is better
  • Total commits - more is better
    • More precisely, it's total commits by existing contributors, commits of deleted accounts, will not be taken in account

Ratings

Detailed statistics with ratings made with ghstat

ghstat's People

Contributors

fedir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.