4 open-source alternatives ranked by real activity

Open-source Codacy alternatives

A curated, ranked list of the 4 best open-source alternatives to Codacy.

The best open-source alternative to Codacy is Semgrep. If that doesn't suit you, other good options are ESLint, SonarQube and Psalm.

Commercial alternatives to Codacy include SonarQube Cloud, DeepSource, Qodo and Code Climate. See all 20.

Codacy alternatives are mainly security tools, but some are also developer tools. 4 of them shipped code in the last 30 days, 4 can be self-hosted, and 2 use a permissive licence.

Last updated November 12, 2026 · ranked by GitHub stars, growth and recent commits

Semgrep

Semgrep is a fast, open-source static analysis tool that finds bugs and enforces security and coding standards across 30+ languages.

GitHub stars
18k
Last commit
2 days ago
Latest release
v1.185.0
Licence
LGPL-2.1
Self-hosted
Yes
Hosted version
Available
semgrep.devSemgrep homepage screenshot

Semgrep is a lightweight static analysis tool that searches code, finds bugs and enforces secure guardrails and coding standards. It supports more than 30 languages and can run in an IDE, as a pre-commit check or inside CI/CD workflows. The core engine is released under the LGPL-2.1 license.

It works like a semantic grep for code. Rules are written to look like the source code developers already write, so matching a pattern does not require abstract syntax trees, regular expressions or a separate query language, and a search for a value can match code that computes it. The aim is to find variants of a known bug quickly.

The Community Edition analyzes code within a single function or file, which the maintainers note means it will miss many true positives for security work. For SAST, software composition analysis and secrets scanning they recommend the commercial Semgrep AppSec Platform, which adds cross-file and data-flow analysis, AI-assisted triage and managed rule sets.

Key features

  • Pattern-based code search that looks like code
  • Support for 30+ programming languages
  • Runs in IDEs, pre-commit hooks and CI/CD
  • Custom rules without ASTs or regex
  • SAST, SCA and secrets scanning via AppSec Platform

Pricing: Free for up to 10 contributors. Teams starts at $30 per contributor per month (Secrets $15); Enterprise is custom.

ESLint

ESLint is an open source linter for JavaScript and JSX that finds problems in code and can fix many of them automatically.

GitHub stars
28k
Last commit
yesterday
Latest release
v10.14.0
Licence
MIT
eslint.orgESLint homepage screenshot

ESLint is an open source linting utility for JavaScript and JSX. It reads your code without running it, reports problems, and works for code written for the browser or the server, with or without a framework.

Many of the problems it reports can be fixed automatically, and the fixes take the syntax into account rather than doing plain find-and-replace. It is built into most text editors, and you can also run it as a step in a continuous integration pipeline.

Behaviour is configurable. You can preprocess code, plug in custom parsers and write your own rules next to the built-in ones. The project is MIT-licensed and funded through sponsors and donations; the site also lists a playground, a code explorer and a blog with release notes.

Key features

  • Static analysis that finds problems in JavaScript
  • Runs inside a continuous integration pipeline
  • Syntax-aware automatic fixes
  • Custom parsers, preprocessing and your own rules
  • Works for browser and server code, with or without a framework

SonarQube

Static code analysis platform that finds bugs, vulnerabilities and maintainability problems in code, in IDEs, pull requests and CI.

GitHub stars
11k
Last commit
yesterday
Latest release
26.11.0.134175
Licence
LGPL-3.0
Self-hosted
Yes
sonarqube.orgSonarQube homepage screenshot

SonarQube is a code quality and security platform. Its static analysis uses techniques such as symbolic execution and data and control flow analysis to inspect source code, find bugs and vulnerabilities, and explain what to fix and why. Results appear in the IDE, in pull requests and in CI pipelines.

This repository holds the source of the SonarQube Community Build, the free, open-source edition that shares the analysis used across the product line. It reports reliability bugs, security vulnerabilities and security hotspots, maintainability and structural issues, and coverage on new code. More than 40 programming languages and frameworks are covered, and the same code always produces the same findings.

The project positions itself as a verification step for code written by people or by AI agents before it merges. SonarQube is written in Java and licensed under LGPL-3.0. Commercial editions from SonarSource add further features, while the Community Build can be run on your own servers.

Key features

  • Static analysis for bugs and vulnerabilities
  • Security hotspot review guidance
  • Maintainability and structural issue detection
  • Coverage tracking on new code
  • Support for 40+ languages and frameworks
  • Feedback in IDE, pull requests and CI

Pricing: A free tier covers private projects up to 50k lines of code and an open-source Community Build is available. The Team plan starts at $34 a month for up to 100k lines of code; Enterprise is quoted.

Psalm

Free, open-source static analysis tool that finds type errors and security vulnerabilities in PHP code and can fix some issues automatically.

GitHub stars
5.9k
Last commit
yesterday
Latest release
7.3.1
Licence
MIT
psalm.devPsalm homepage screenshot

Psalm is a static analysis tool for PHP applications. It looks for errors and security vulnerabilities in code without running it, and the project lists taint analysis and type inference among its topics. The homepage says it helps maintain codebases large and small, old and new, and that on its strictest setting it can prevent almost all type-related runtime errors.

Finding problems is only half of it. A companion tool called Psalter fixes code, run either as vendor/bin/psalter or through vendor/bin/psalm with the --alter flag. It handles issues such as missing or invalid return types, and offers safety options: a --dry-run preview, a --php-version target so typehints suit older PHP, a --safe-types mode and a switch that blocks backwards-incompatible changes. Custom manipulation plugins are supported.

Psalm is MIT licensed and was built by Matt Brown at Vimeo. Daniil Gentili is the only active maintainer and offers paid support contracts covering integration into existing codebases, help with Psalm issues and development of extra features. The website has an installation guide, documentation and a live demo.

Key features

  • Identifies problems in PHP code
  • Strict mode targets type-related runtime errors
  • Psalter helps fix reported issues
  • Dry run previews changes
  • Targets a chosen PHP version
  • Safe-types mode
  • Custom manipulation plugins
  • Live demo on the website

Pricing: Psalm itself is described as free and open source. Support contracts from its maintainer are paid, with pricing on a separate page.

Commercial Codacy alternatives

Hosted, closed-source products that compete with Codacy. Showing 12 of 20.

See every Codacy alternative on its tool page

Codacy alternatives: questions

What is the best open-source alternative to Codacy?
Semgrep is the top-ranked open-source alternative to Codacy on Enlisted: Semgrep is a fast, open-source static analysis tool that finds bugs and enforces security and coding standards across 30+ languages. Other strong options are ESLint, SonarQube and Psalm.
What are the best commercial alternatives to Codacy?
SonarQube Cloud, DeepSource, Qodo, Code Climate and CodeScene are among the hosted, closed-source alternatives to Codacy listed on Enlisted, which lists 20 in total. Compare their pricing and features on each tool page.
Are these Codacy alternatives free?
All 4 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 1 also offers a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Codacy alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 4 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all