Overview

Static analysis tools (often called 'linters' or 'SAST tools') inspect the source code for potential errors, security vulnerabilities, and violations of coding standards. It is a fast and automated way to improve code quality.

What it Finds

  • Syntax errors.
  • Potential memory leaks.
  • Security flaws (e.g., SQL injection).
  • Unused variables or dead code.
  • Violations of style guides.

Popular Tools

  • ESLint (JavaScript/TypeScript)
  • SonarQube (Multi-language)
  • Pylint (Python)

Related Terms