New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

complan

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

complan

COMPLexity ANalyzer Tool For Javascript

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by30%
Maintainers
2
Weekly downloads
 
Created
Source

Complan

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

  • How it works
  • Installation
  • Usage
  • License

How it works

Complan is a node.js based command-line wrapper around [complexity-report] (https://www.npmjs.com/package/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]

Keywords

FAQs

Package last updated on 26 Oct 2016

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