Analysis tools logo

88 JavaScript Static Analysis Tools

Type:
Any

What is JavaScript?

Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web.JavaScript enables interactive web pages and is an essential part of web applications. The vast majority of websites use it for client-side page behavior, and all major web browsers have a dedicated JavaScript engine to execute it.

(More info)

What are the best JavaScript analysis tools?

97

Mega-Linter

  • Type: cli
250

Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes

54

Semgrep

  • Type: cli
  • Type: service
5023

A fast, open-source, static analysis tool for finding bugs and enforcing code standards at editor, commit, and CI time. Its rules look like the code you already write; no abstract syntax trees or regex wrestling. Supports 17+ languages.

47

ESLint

  • Type: cli
18895

An extensible linter for JS, following the ECMAScript standard.

42
23

Prettier

  • Type: cli
40220

An opinionated code formatter.

15

Coverity

  • Type: cli

Synopsys Coverity supports 20 languages and over 70 frameworks including Ruby on rails, Scala, PHP, Python, JavaScript, TypeScript, Java, Fortran, C, C++, C#, VB.NET.

14

CodeScene

  • Type: service

CodeScene is a quality visualization tool for software. Prioritize technical debt, detect delivery risks, and measure organizational aspects. Fully automated.

14

ShiftLeft

  • Type: service

Identify vulnerabilities that are unique to your code base before they reach production. Leverages the Code Property Graph (CPG) to run its analyses concurrently in a single graph of graphs. Automatically finds business logic flaws in dev like hardcoded secrets and logic bombs

13

Better Code Hub

  • Type: service

Better Code Hub checks your GitHub codebase against 10 engineering guidelines devised by the authority in software quality, Software Improvement Group.

12

DeepCode

  • Type: service

DeepCode finds bugs, security vulnerabilities, performance and API issues based on AI. DeepCode's speed of analysis allow us to analyse your code in real time and deliver results when you hit the save button in your IDE. Supported languages are Java, C/C++, JavaScript, Python, and TypeScript. Integrations with GitHub, BitBucket and Gitlab.

12

DeepSource

  • Type: service

In-depth static analysis to find issues in verticals of bug risks, security, anti-patterns, performance, documentation and style. Native integrations with GitHub, GitLab and Bitbucket. Less than 5% false positives.

8

InsiderSec

  • Type: cli
264

A open source Static Application Security Testing tool (SAST) written in GoLang for Java (Maven and Android), Kotlin (Android), Swift (iOS), .NET Full Framework, C# and Javascript (Node.js).

7

PMD

  • Type: cli
3492

A source code analyzer for Java, Salesforce Apex, Javascript, PLSQL, XML, XSL and others.

5

Codeac

  • Type: service

Automated code review tool integrates with GitHub, Bitbucket and GitLab (even self-hosted). Available for JavaScript, TypeScript, Python, Ruby, Go, PHP, Java, Docker, and more. (open-source free)

4

NodeJSScan

  • Type: cli
  • Type: service
1778

A static security code scanner for Node.js applications powered by libsast and semgrep that builds on the njsscan cli tool. It features a UI with various dashboards about an application's security status.

4

ReSharper

  • Type: cli

Extends Visual Studio with on-the-fly code inspections for C#, VB.NET, ASP.NET, JavaScript, TypeScript and other technologies.

3

Unibeautify

  • Type: cli
  • Type: service
485

Universal code beautifier with a GitHub app. Supports HTML, CSS, JavaScript, TypeScript, JSX, Vue, C++, Go, Objective-C, Java, Python, PHP, GraphQL, Markdown, and more.

2

Atom-Beautify

  • Type: ide-plugin
1486

Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom editor.

2

CodeFlow

  • Type: service

Automated code analysis tool to deal with technical depth. Integrates with Bitbucket and Gitlab. (free for Open Source Projects)

2

Esprima

  • Type: cli
6249

ECMAScript parsing infrastructure for multipurpose analysis.

2

Kiuwan

  • Type: service

Identify and remediate cyber threats in a blazingly fast, collaborative environment, with seamless integration in your SDLC. Python, C\C++, Java, C#, PHP and more.

2

ocular

  • Type: service

Enables code auditors and security teams to interactively investigate their unique code bases to find business logic flaws and technical vulnerabilities that traditional SASTs cannot. This is done by enabling the analyst to write their own custom queries. Can find hard-coded secrets, authentication issues, and malicious code like rootkits and backdoors.

2

RSLint

  • Type: cli
1542

A (WIP) JavaScript linter written in Rust designed to be as fast as possible, customizable, and easy to use.

2

todocheck

  • Type: cli
345

Linter for integrating annotated TODOs with your issue trackers

2

trivy

  • Type: cli
8124

A Simple and Comprehensive Vulnerability Scanner for Containers and other Artifacts, Suitable for CI. Trivy detects vulnerabilities of OS packages (Alpine, RHEL, CentOS, etc.) and application dependencies (Bundler, Composer, npm, yarn, etc.). Checks containers and filesystems.

2

Xanitizer

  • Type: cli

Xanitizer finds security vulnerabilities in web applications. It supports Java, Scala, JavaScript and TypeScript.

1

Closure Compiler

  • Type: cli
6072

A compiler tool to increase efficiency, reduce size, and provide code warnings in JavaScript files.

1

cqc

  • Type: cli
332

Check your code quality for js, jsx, vue, css, less, scss, sass and styl files.

1

flow

  • Type: cli
21306

A static type checker for JavaScript.

1

Fortify

  • Type: ide-plugin

A commercial static analysis platform that supports the scanning of C/C++, C#, VB.NET, VB6, ABAP/BSP, ActionScript, Apex, ASP.NET, Classic ASP, VB Script, Cobol, ColdFusion, HTML, Java, JS, JSP, MXML/Flex, Objective-C, PHP, PL/SQL, T-SQL, Python (2.6, 2.7), Ruby (1.9.3), Swift, Scala, VB, and XML.

1

LGTM.com

  • Type: service

Deep code analysis for GitHub and Bitbucket to find security vulnerabilities and critical code quality issues (using Semmle QL). Automatic code review for pull requests; free for public repositories.

1

Hound CI

  • Type: cli
1888

Comments on style violations in GitHub pull requests. Supports Coffeescript, Go, HAML, JavaScript, Ruby, SCSS and Swift.

1

Snyk

  • Type: service

Vulnerability scanner for dependencies of node.js apps (free for Open Source Projects).

1

standard

  • Type: cli
25814

An npm module that checks for Javascript Styleguide issues.

1

Veracode

  • Type: cli

Find flaws in binaries and bytecode without requiring source. Support all major programming languages: Java, .NET, JavaScript, Swift, Objective-C, C, C++ and more.

0

aether

  • Type: cli
185

Lint, analyze, normalize, transform, sandbox, run, step through, and visualize user JavaScript, in node or the browser.

0

ale

  • Type: ide-plugin
11052

Asynchronous Lint Engine for Vim and NeoVim with support for many languages.

0

Application Inspector

  • Type: service

Commercial Static Code Analysis which generates exploits to verify vulnerabilities.

0

ApplicationInspector

  • Type: cli
3824

Creates reports of over 400 rule patterns for feature detection (e.g. the use of cryptography or version control in apps).

0

APPscreener

  • Type: cli

Static code analysis for binary and source code - Java/Scala, PHP, Javascript, C#, PL/SQL, Python, T-SQL, C/C++, ObjectiveC/Swift, Visual Basic 6.0, Ruby, Delphi, ABAP, HTML5 and Solidity.

0

coala

  • Type: cli
3215

Language independent framework for creating code analysis - supports [over 60 languages](https://coala.io/languages) by default.

0

Code Inspector

  • Type: service

Code quality and technical debt management platform that supports 10+ languages.

0

codeburner

  • Type: cli
83

Provides a unified interface to sort and act on the issues it finds.

0

CodePatrol

  • Type: service

Automated SAST code reviews driven by security, supports 15+ languages and includes security training.

0

codeql

  • Type: service
  • Type: ide-plugin

Deep code analysis - semantic queries and dataflow for several languages with VSCode plugin support.

0

DeepScan

  • Type: cli

An analyzer for JavaScript which targets runtime errors and quality issues rather than coding conventions.

0

es6-plato

  • Type: cli
190

Visualize JavaScript (ES6) source complexity.

0

escomplex

  • Type: cli
236

Software complexity analysis of JavaScript-family abstract syntax trees.

0

hegel

  • Type: cli
1747

A static type checker for JavaScript with a bias on type inference and strong type systems.

0

imhotep

  • Type: cli
215

Comment on commits coming into your repository and check for syntactic errors and general lint warnings.

0

jshint

  • Type: cli
8610

Detect errors and potential problems in JavaScript code and enforce your team's coding conventions.

0

JSLint

  • Type: cli
3450

The JavaScript Code Quality Tool.

0

lizard

  • Type: cli
1183

Lizard is an extensible Cyclomatic Complexity Analyzer for many programming languages including C/C++ (doesn't require all the header files or Java imports). It also does copy-paste detection (code clone detection/code duplicate detection) and many other forms of static code analysis. Counts lines of code without comments, CCN (cyclomatic complexity number), token count of functions, parameter count of functions.

0

Offensive 360

  • Type: web

Commercial Static Code Analysis system doesn't require building the source code or pre-compilation.

0

parasoft

  • Type: service

Automated Software Testing Solutions for unit-, API-, and web UI testing. Complies with MISRA, OWASP, and others.

0

Polymer-analyzer

  • Type: cli

A static analysis framework for Web Components.

0

Pronto

  • Type: cli
2416

Quick automated code review of your changes. Supports more than 40 runners for various languages, including Clang, Elixir, JavaScript, PHP, Ruby and more.

0

pylama

  • Type: cli
792

Code audit tool for Python and JavaScript. Wraps pycodestyle, pydocstyle, PyFlakes, Mccabe, Pylint, and more

0

relint

  • Type: cli
28

A static file linter that allows you to write custom rules using regular expressions (RegEx).

0

retire.js

  • Type: cli
2797

Scanner detecting the use of JavaScript libraries with known vulnerabilities.

0

Rome

  • Type: cli
16072

Rome is a linter, compiler, bundler, and [more](https://rome.tools/#development-status) for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.

0

Scrutinizer

  • Type: service

A proprietary code quality checker that can be integrated with GitHub.

0

SonarCloud

  • Type: service

Multi-language cloud-based static code analysis. History, trends, security hot-spots, pull request analysis and more. Free for open source.

0

SonarLint for Visual Studio

  • Type: cli
266

SonarLint is an extension for Visual Studio 2015 and 2017 that provides on-the-fly feedback to developers on new bugs and quality issues injected into .NET code.

0

tern

  • Type: cli
4177

A JavaScript code analyzer for deep, cross-editor language support.

0

TypL

  • Type: cli
303

With TypL, you just write completely standard JS, and the tool figures out your types via powerful inferencing.

0

Understand

  • Type: cli

Code visualization tool that provides code analysis, standards testing, metrics, graphing, dependency analysis and more for Ada, VHDL, and others.

0

Upsource

  • Type: service

Code review tool with static code analysis and code-aware navigation for Java, PHP, JavaScript and Kotlin.

0

WALA

  • Type: cli
442

Static analysis capabilities for Java bytecode and related languages and for JavaScript.

0

WhiteHat Application Security Platform

  • Type: cli

WhiteHat Scout (for Developers) combined with WhiteHat Sentinel Source (for Operations) supporting WhiteHat Top 40 and OWASP Top 10.

0

Wotan

  • Type: cli
278

Pluggable TypeScript and JavaScript linter.

0

xo

  • Type: cli
6008

Opinionated but configurable ESLint wrapper with lots of goodies included. Enforces strict and readable code.

-1

CAST Highlight

  • Type: cli

Commercial Static Code Analysis which runs locally, but uploads the results to its cloud for presentation.

-1

Synopsys

  • Type: cli

A commercial static analysis platform that allows for scanning of multiple languages (C/C++, Android, C#, Java, JS, PHP, Python, Node.JS, Ruby, Fortran, and Swift).

-2

Embold

  • Type: service

Intelligent software analytics platform that identifies design issues, code issues, duplication and metrics. Supports Java, C, C++, C#, JavaScript, TypeScript, Python, Go, Kotlin and more.

-2

Sonatype

  • Type: service

Reports known vulnerabilities in common dependencies and recommends updated packages to minimize breaking changes

Deprecated/unmaintained tools

0

ClosureLinter

  • Type: cli
107

Ensures that all of your project's JavaScript code follows the guidelines in the Google JavaScript Style Guide. It can also automatically fix many common errors.

0

complexity-report

  • Type: cli
180

Software complexity analysis for JavaScript projects.

0

JSPrime

  • Type: cli
561

Static security analysis tool.

0

pfff

  • Type: cli
122

Facebook's tools for code analysis, visualizations, or style-preserving source transformation for many languages.

0

plato

  • Type: cli
4491

Visualize JavaScript source complexity.

0

PT.PM

  • Type: cli
58

An engine for searching patterns in the source code, based on Unified AST or UST. At present time C#, Java, PHP, PL/SQL, T-SQL, and JavaScript are supported. Patterns can be described within the code or using a DSL.

0

yardstick

  • Type: cli
24

Javascript code metrics.

❤️ Sponsor this project

We are currently looking for partners who want to sponsor hosting and development of the project.

Check out our Github Sponsors page here

Missing an entry? Please let us know.