GithubHelp home page GithubHelp logo

language-metrics's Introduction

language-metrics

Generates language stats per version. All the hard work is done by GitHub's linguist gem and libgit2.

Usage

Just call the analyze.rb passing the path to the repository you want to analyze. The output will be a CSV of each tag with date and line count per language.

Note that it ignores tags that look like an alpha/beta release.

./analyze.rb ~/code/wordpress-ios 
Version,Date,Objective-C,C++,HTML,C,Python,Shell,Ruby,JavaScript,PHP,Swift
1.0,2008-07-24,347600,791,2885,0,0,0,0,0,0,0
1.1,2008-07-31,349615,735,2860,0,0,0,0,0,0,0
1.2,2009-03-11,565697,0,2860,0,0,0,0,0,0,0
...
5.6,2015-09-15,3154877,0,5101,0,13000,7012,24622,12235,935,342610
5.6.1,2015-09-17,3155121,0,5101,0,13000,7012,24622,12235,935,342610
5.7,2015-11-16,3174886,0,5101,0,13000,7056,25063,12235,935,453769

language-metrics's People

Contributors

koke avatar

Watchers

James Cloos 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.