All Projects → slyg → jscomplexity

slyg / jscomplexity

Licence: other
💤 [Not maintained] JS cyclomatic complexity report generator

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
coffeescript
4710 projects

Projects that are alternatives of or similar to jscomplexity

receiptverifier
INACTIVE - http://mzl.la/ghe-archive - A helper Javascript library for doing useful things with Open Web Apps.
Stars: ✭ 13 (-56.67%)
Mutual labels:  unmaintained
markup
DEPRECATED - This projects has been retired.
Stars: ✭ 25 (-16.67%)
Mutual labels:  unmaintained
ledgible
Web-based double-entry accounting (ledger-cli frontend)
Stars: ✭ 58 (+93.33%)
Mutual labels:  unmaintained
shellmetrics
Cyclomatic Complexity Analyzer for bash, mksh, zsh and POSIX shells
Stars: ✭ 36 (+20%)
Mutual labels:  cyclomatic-complexity
B2GOS-community
DEPRECATED - Tasks management for the B2G OS working groups
Stars: ✭ 11 (-63.33%)
Mutual labels:  unmaintained
mozilla-download
DEPRECATED - Download firefox / b2g-desktop / mulet
Stars: ✭ 15 (-50%)
Mutual labels:  unmaintained
murmur
DEPRECATED - A webapp for collecting speech samples for voice recognition testing and training
Stars: ✭ 20 (-33.33%)
Mutual labels:  unmaintained
lumbergh
DEPRECATED - Whaaaat's happening? Careers website... Mmmkay?
Stars: ✭ 19 (-36.67%)
Mutual labels:  unmaintained
valgrind
DEPRECATED - git-svn copy of the valgrind subversion repo. Firefox OS specific patches applied in "fxos" branch.
Stars: ✭ 22 (-26.67%)
Mutual labels:  unmaintained
getpass
Portable getpass implementation for golang
Stars: ✭ 15 (-50%)
Mutual labels:  unmaintained
django-solr
Solr Search Engine ORM for Django
Stars: ✭ 24 (-20%)
Mutual labels:  unmaintained
SymPyBotics
[UNMAINTAINED] Symbolic Framework for Modeling and Identification of Robot Dynamics
Stars: ✭ 137 (+356.67%)
Mutual labels:  unmaintained
obase
a port of the OpenBSD userland to Linux | unmaintained: use outils
Stars: ✭ 51 (+70%)
Mutual labels:  unmaintained
f1
INACTIVE - http://mzl.la/ghe-archive - F1 is a browser extension that allows you to share links in a fast and fun way. Share links from within the browser, from any webpage, using the same services you already know and love. F1 is made by Mozilla.
Stars: ✭ 51 (+70%)
Mutual labels:  unmaintained
mortar-list-detail
INACTIVE - http://mzl.la/ghe-archive - A list detail view template for an Open Web App.
Stars: ✭ 21 (-30%)
Mutual labels:  unmaintained
mips
Exercism exercises in MIPS Assembly.
Stars: ✭ 19 (-36.67%)
Mutual labels:  unmaintained
feedthefox
INACTIVE - http://mzl.la/ghe-archive - [deprecated] Firefox OS Participation Hub
Stars: ✭ 12 (-60%)
Mutual labels:  unmaintained
alfresco-client-sdk
Alfresco Java Client SDK
Stars: ✭ 14 (-53.33%)
Mutual labels:  unmaintained
lean-data-practices
INACTIVE - http://mzl.la/ghe-archive - A toolkit to implement Lean Data Practices at your company.
Stars: ✭ 141 (+370%)
Mutual labels:  unmaintained
django-snow
ServiceNow Ticket Management App for Django based projects
Stars: ✭ 16 (-46.67%)
Mutual labels:  unmaintained

JScomplexity

JS cyclomatic complexity report generator.

Command-line tool and module that generates a report of Javascript files complexity. It is based on escomplex module's results.

In 'html' mode, command-line tool will create an .html file report containing graphical representation of files complexity and lines of code count.

Build Status

Installation

npm install -g jscomplexity

Module usage

var jscomplexity = require('jscomplexity');

// jscomplexity() returns a promise (using bluebird)
jscomplexity('/glob/pattern/to/js/*' [, globOptions]).then(console.log);

// you can also use CPS style
jscomplexity('/glob/pattern/to/js/*', {}, function(err, result){
  if(err) {
    return console.log(err);
  }
  console.log(result);
});

Command-line usage

Usage: jscomplexity [options]

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -p, --pattern <pattern>    glob pattern - default is current directory
    -o, --output <filename>    (optional) customize html report filename - default is 'jscomplexity-report.html'
    -r, --reporter <reporter>  (optional) specify a reporter: 'terminal', 'html' or 'all' - default is 'terminal'

⚠️ Linux/OSX compliant only (I haven't tested it on Windows).

CLI Example : jscomplexity -p '{src/*.js,src/**/*.js,!src/config/**}'

Sample outputs (gremlins.js)

Terminal

alt tag

HTML report

alt tag

Grunt task

See grunt-jscomplexity-threshold module.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].