Git Product home page Git Product logo

plato's Introduction

plato

Build Status

Visualize JavaScript source complexity with plato.

Example report on popular projects

Installation

Install the module with: npm install -g plato

Usage

Usage : plato [options] file1.js file2.js ... fileN.js
  -h, --help
      Display this help text.
  -q, --quiet
      Reduce output to errors only
  -v, --version
      Print the version.
  -x, --exclude : String
      File exclusion regex
  -d, --dir : String *required*
      The output directory
  -r, --recurse
      Recursively search directories
  -l, --jshint : String
      Specify a jshintrc file for JSHint linting
  -t, --title : String
      Title of the report
  -D, --date : String
      Time to use as the report date (seconds, > 9999999999 assumed to be ms)

Example

plato -r -d report src

Data sources

Release History

  • 0.5.0 Added historical reports
  • 0.4.7 Updated jshint to 1.1.0 (via #22) to jshint to address #16
  • 0.4.6 Performance improvements on file view
  • 0.4.5 Updated complexity-report to 0.7.0 to prefer the 0-100 based maintainability index
  • 0.4.4 Added quiet mode, exclusion regex, description popovers
  • 0.4.3 Updated dependencies to fix reporting issues
  • 0.4.2 Fixed overview links to files
  • 0.4.1 Fixed jshint option passing
  • 0.4.0 Added summary stats, Casper tests, nodunit tests
    • Breaking : plato api
  • 0.3.1 Added graphs
  • 0.3.0 Formatting changes, refactoring.
    • Breaking : jshint reporting api
  • 0.2.0 added jshint reporting.
    • Breaking : options api, cli api
  • 0.1.0 initial release

License

Copyright (c) 2012 Jarrod Overson
Licensed under the MIT license.

plato's People

Contributors

alunny avatar charmander avatar craig-davis avatar jsoverson avatar

Watchers

 avatar  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.