1.0.9 • Published 8 years ago

complan v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Complan

A Complexity Analyzer Tool which computes software complexity for a Javascript project hosted on Github.

How it works

Complan is a node.js based command-line wrapper around complexity-report which computes code complexity for a Javascript project hosted on Github.

Installation

Assuming you've nodejs installed,

For a project-based install:

npm install complan

For global installation:

sudo npm install -g complan

Usage

complan -g <git url>
e.g 
complan -g https://github.com/pranavparikh/complan
or 
complan -g git@github.com:pranavparikh/complan.git

The above command will generate complexity report (JSON and HTML files) under a directory named pranavparikh/complan in your current directory.

The tool will locally clone the repository from git (Git has to be installed as a pre-requisite) , compute complexity and output it in a form of JSON & HTML reports.

Command-line options

-h, --help                            output usage information
-g, --gitUrl <path>                   specify the http url or the git url of the repository
-c, --gitCheckout                     Branch / tag / checkout of the git project (Defaults to master)

License

MIT

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago