Open Source JavaScript Code Analysis
The quality of the JavaScript code is often verified with the traditional activities of unit and functional testing. There are however tools that allow checking code before or during its execution to assess its quality and its adherence to coding standards using a process called code analysis. This article presents a list of open source tools to perform static and dynamic code analysis on JavaScript programs. If static code analysis can be performed individually on each piece of JavaScript code, modern software development organizations will integrate these tools in their continuous integration or delivery process. This automated approach prevents code that is bad or doesn’t respect the coding standards to reach the production stage. Dynamic code analysis the software when it is performed by executing programs on a real or virtual processor. The two main know open source tools used for JavaScript code analysis are JSLint and JSHint, the second being a fork of the first one. Developed by the famous Douglas Crockford, JSLint can be considered as the main inspiration of the JavaScript open source code analysis tools family. There are however many different tools that try to achieve the same goal and you might find something more suited to your own needs in the list below, especially if you work in specific JavaScript frameworks and contexts like Node.js, Angular, React, Vue, Express or TypeScript. Updates April 2024 * added CallGraph, Tencent CodeAnalyis, Joern, Jsinspect * updated Crawljax (website), Flow (website) * removed Codemodel-Rifle (archived), SourceCodeSniffer (404) March 2023 … Continue reading Open Source JavaScript Code Analysis
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed