0.1.5 • Published 9 years ago

ca4js v0.1.5

Weekly downloads
21
License
-
Repository
github
Last release
9 years ago

#ca4js

static code analyzer for javascript

##Installation

ca4js can be installed for Node using npm

Using npm:

npm install ca4js -g

Full cli option list:

Usage: ca4js [file] [options]

file     file containing code

Options:
   -v, --version   print version and exit

##Code Analysis

###Correctness

  • Infinite for loop
  • Possible division by zero
  • Expression is always true or false
  • Control flow conditions are identical
  • Contradicting conditions were encountered
  • Redundant cast to bool
  • Function returns values of different types
  • Function always returns the same values
  • Do not compare with NaN
  • Remove unreachable code
  • Useless comparison to typeof
  • Contradicting conditions were encountered
  • Bad constructor invocation
  • Conditional expression returns the same value
0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago