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

complexity-report

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

complexity-report

A tool for reporting code complexity metrics in JavaScript projects.

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.7K
decreased by-5.74%
Maintainers
1
Weekly downloads
 
Created
Source

complexityReport.js

A tool for reporting code complexity metrics in JavaScript projects (still in development).

The metrics are calculated by walking syntax trees generated by the Esprima parser.

Build status

Installation

npm install complexity-report

Usage

Loading the library

var complexityReport = require('complexity-report');

Calling the library

TODO

Examples

TODO

Development

Dependencies

The build environment relies on Node.js, NPM, Jake, JSHint, Mocha, Chai and UglifyJS. Assuming that you already have Node.js and NPM set up, you just need to run npm install to install all of the dependencies as listed in package.json.

Unit tests

The unit tests are in test/complexityReport.js. You can run them with the command npm test or jake test.

Keywords

FAQs

Package last updated on 21 Oct 2012

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