Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org_lang_stats

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org_lang_stats

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Org Lang Stats

Maintainability Test Coverage

Overview

Did you know Google's own public repos consist of 59% C code? Org Lang Stats is a cli tool that will let you find out the languages an organization uses in their repositories and their volume in bytes or percent values.

Dependancies

To run org_lang_stats you will need:

  • Ruby 2.1 +

Installation

    gem install org_lang_stats

Usage

Basic usage:

    org_lang_stats --org workable > workable.json

Options:

    --help               Show this message
    --org string         Organization name as appeared on github (required)
    --token string       Github Personal Access Token. (found at https://github.com/settings/developers)
    --threads [1..100]   Adjusts the concurrency (default: 10)
    --debug              If enabled, adds debug messages to the output (will not produce valid json)
    --percent            If enabled, converts absolute values (bytes) to percent values

Example with all options used:

    org_lang_stats --org workable --threads 10 --token yourtokenhere --debug --percent

Authentication

  • No authentication required! However Github limits requests for non authenticated requests to only 60 per hour. Refresh your IP to reset the rate limit or input a --token.

Tests

To run the tests:

    bundle install
    rake test

A test coverage report will be generated by simplecov when the tests are run on folder coverage

TODO

Add graphic representation using https://github.com/ankane/chartkick Use a framework like https://github.com/vcr/vcr to generate fixtures Use github's new GraphQL API

FAQs

Package last updated on 08 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc