qmetrics.net

Open-Source Code Analysis & Transformation Software

145 open-source projects in Code Analysis & Transformation, compared by GitHub stars, license and self-hosting.

Sort:Most starsRecentA–Z

Numba

NumPy-aware JIT compiler for numerical Python functions

Numba is an open-source optimizer that compiles numerical Python and NumPy code to machine code via LLVM, often at runtime.

★ 11.2k⟳ 2 days agoBSD-2-Clause

SonarQube

Open-source code quality and security verification platform

SonarQube inspects code with static analysis for bugs, vulnerabilities, and maintainability issues. The Community Build is the free edition you can run yourself.

★ 11.2k⟳ yesterdayLGPL-3.0

fq

jq-style CLI for querying binary file formats

fq is a command-line tool and query language for inspecting and decoding binary data. It reuses jq’s expression syntax and adds decoders for many media, network, and filesystem formats.

★ 10.6k⟳ 3 days agoMIT

Reviewdog

CLI bridge from linters to code review comments

Reviewdog runs static analyzers and linters, filters findings to the current diff, and posts them as review comments on GitHub, GitLab, Bitbucket, and other hosts. It also works locally on the command line.

★ 9.8k⟳ yesterdayMIT

remark

Plugin-based Markdown processor for unified pipelines

remark parses CommonMark markdown into an mdast tree, lets plugins transform it, and serializes markdown or feeds HTML via companion tools. A CLI can check and format files in projects.

★ 9k⟳ 2 months agoMIT

Closure Compiler

JavaScript checker optimizer and transpiler

Closure Compiler parses JavaScript, removes dead code, minifies output, and checks syntax, references, and types. It compiles JS into smaller, faster JS for browsers and supports ADVANCED whole-program optimization.

★ 7.7k⟳ 2 days agoApache-2.0

MapStruct

Compile-time Java bean mapping annotation processor

MapStruct generates type-safe mapper implementations from annotated interfaces at build time. It maps beans and records using plain method calls without reflection.

★ 7.7k⟳ 4 months agoApache-2.0

rustfmt

Configurable formatter for Rust source code

rustfmt formats Rust source to project or Rust style-guide rules. Run it on files, stdin, or whole Cargo projects via cargo fmt.

★ 7.1k⟳ todayApache-2.0

Halide

Embedded language for fast image and array pipelines

Halide helps write high-performance image and array processing code, embedded in C++ or Python. Pipelines compile to CPUs and multiple GPU compute APIs.

★ 6.6k⟳ todayMIT · open core

Vale

Markup-aware command-line prose style linter

Vale is a command-line linter that checks prose against your team's style rules in editors, CI, and alongside code. It runs offline on macOS, Windows, and Linux.

★ 6.4k⟳ yesterdayMIT

SWIG

C and C++ wrapper generator for many programming languages

SWIG reads annotated C/C++ headers and emits glue code so libraries can be called from Perl, Python, Java, Go, and numerous other languages.

★ 6.3k⟳ yesterdayGPL-3.0

JavaParser

Java source parser and abstract syntax tree toolkit

JavaParser builds an AST for Java source from early language versions through current releases. Optional symbol resolution links code elements to declarations for analysis and refactoring.

★ 6.2k⟳ todayApache-2.0

OpenSSF Scorecard

Automated open-source project security health checks

OpenSSF Scorecard runs automated checks on open-source repositories and scores security-related practices from 0 to 10. It helps maintainers and consumers assess dependency risk.

★ 5.9k⟳ 4 days agoApache-2.0

nyc

Command-line Istanbul code coverage for JavaScript

nyc is Istanbul’s CLI for JavaScript coverage. It instruments code during tests and reports how thoroughly suites exercise your project.

★ 5.8k⟳ 6 months agoISC

Phan

PHP static analyzer focused on real issues

Static analyzer for PHP that favors proving incorrectness over exhaustive proof and aims to limit false positives. Runs from the CLI or editor integrations.

★ 5.6k⟳ todayMIT · open core

PMD

Extensible multi-language static code analyzer

Finds common flaws such as unused variables and empty catch blocks across many languages, with hundreds of built-in rules plus custom rules.

★ 5.5k⟳ todayBSD-3-Clause · open core

VSCode Blade Formatter

Opinionated Laravel Blade template formatter for VS Code

A Visual Studio Code extension that formats Laravel Blade files with fixed style rules. It can also share formatting behavior with the separate blade-formatter CLI.

★ 5.3k⟳ 1 month agoMIT

typeshed

Python standard library and third-party type stubs

Typeshed collects type annotations for Python builtins, the standard library, and many third-party packages for static analysis and type checking.

★ 5.2k⟳ todayApache-2.0 · open core

Alecthomas Chroma

Pure Go syntax highlighting library and CLI

Chroma converts source code and structured text into syntax-highlighted HTML, ANSI terminal output, and other formats. It is modeled on Pygments and includes many language lexers and converted styles.

★ 5.1k⟳ yesterdayMIT · open core

CoDiver

Streamlit dashboards for code quality and Agile metrics

CoDiver analyzes Python and Java codebases and Agile process data, surfacing complexity, smells, and sprint metrics in interactive Streamlit dashboards.

★ 4.6k⟳ 5 months agoMIT

Flex

C and C++ lexical scanner generator

Flex generates scanners that recognize lexical patterns in text from regular-expression rules. It emits C source defining yylex() for use in compilers, parsers, and text processors.

★ 4.1k⟳ yesterdayBSD-3-Clause

regex

Rust regular expression engine with linear-time search

The regex crate searches UTF-8 text and byte slices with finite automata, favoring predictable worst-case time over features like look-around and backreferences.

★ 4.1k⟳ 9 days agoApache-2.0

Ansible Lint

Command-line linter for Ansible playbooks and roles

Ansible Lint scans playbooks, roles, and collections for practices that may cause bugs or maintenance pain. It can flag issues and address some common problems automatically.

★ 3.9k⟳ 2 days agoGPL-3.0

Kiota

OpenAPI-driven HTTP API client code generator

Kiota is a command-line generator that builds strongly typed API clients from OpenAPI descriptions so one toolchain can call many HTTP APIs.

★ 3.9k⟳ yesterdayMIT

Related categories