reminjp / complexity.js

:construction: A static code analyzer written in JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[WIP] complexity.js

A static code analyzer written in JavaScript.

Usage

yarn add complexityjs
import { analyze } from 'complexityjs';

analyze('test.cpp', 'int main() {}');

Development

  • Node.js
  • Yarn
  • Java Runtime Environment (for ANTLR4)
# install the dependencies and prepare the development environment
$ yarn run bootstrap

# test
$ yarn run test

# bundle for production
$ yarn run build

About

:construction: A static code analyzer written in JavaScript.

License:MIT License


Languages

Language:ANTLR 78.2%Language:TypeScript 16.2%Language:JavaScript 4.2%Language:C++ 0.9%Language:C 0.5%