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 - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "complexity-report",
"version": "0.5.0",
"version": "0.5.1",
"author": "Phil Booth <pmbooth@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A tool for reporting code complexity metrics in JavaScript projects.",

@@ -59,4 +59,5 @@ # complexityReport.js

(beyond which, the process will fail when exiting).
* `-s`: Silences the console output.
* `-l`: Disregards operator `||` as a source of cyclomatic complexity.
* `-s`: Disregards `switch` statements as a source of cyclomatic complexity.
* `-w`: Disregards `switch` statements as a source of cyclomatic complexity.
* `-i`: Treats `for`...`in` loops as a source of cyclomatic complexity.

@@ -63,0 +64,0 @@ * `-c`: Treats `catch` clauses as a source of cyclomatic complexity.

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