internal/

directory
v0.0.0-...-527d7fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: MIT

Directories

Path Synopsis
Package baseline provides helpers for "delta gating": running an analyzer against the pre-change version of a file (via `git show <merge-base>:<path>`) so that callers can drop findings whose underlying metric did not get worse in the diff.
Package baseline provides helpers for "delta gating": running an analyzer against the pre-change version of a file (via `git show <merge-base>:<path>`) so that callers can drop findings whose underlying metric did not get worse in the diff.
Package churn cross-references git log with per-function complexity scores using a language-supplied lang.ComplexityScorer.
Package churn cross-references git log with per-function complexity scores using a language-supplied lang.ComplexityScorer.
Package complexity runs a language's ComplexityCalculator across a diff's changed files and formats the results into a report.Section.
Package complexity runs a language's ComplexityCalculator across a diff's changed files and formats the results into a report.Section.
Package deadcode runs a language's DeadCodeDetector across a diff's changed files and produces the "Dead Code" report section.
Package deadcode runs a language's DeadCodeDetector across a diff's changed files and produces the "Dead Code" report section.
Package deps runs dependency-structure analysis on the files changed in a diff.
Package deps runs dependency-structure analysis on the files changed in a diff.
Package lang defines the per-language analyzer interfaces that diffguard plugs into.
Package lang defines the per-language analyzer interfaces that diffguard plugs into.
evalharness
Package evalharness provides helpers shared by per-language evaluation test suites.
Package evalharness provides helpers shared by per-language evaluation test suites.
goanalyzer
Package goanalyzer implements the lang.Language interface for Go.
Package goanalyzer implements the lang.Language interface for Go.
rustanalyzer
Package rustanalyzer implements the lang.Language interface for Rust.
Package rustanalyzer implements the lang.Language interface for Rust.
tsanalyzer
Package tsanalyzer implements the lang.Language interface for TypeScript (and .tsx).
Package tsanalyzer implements the lang.Language interface for TypeScript (and .tsx).
Package mutation orchestrates mutation testing across a diff's changed files.
Package mutation orchestrates mutation testing across a diff's changed files.
Package sizes reports function and file line counts for diff-scoped files using a language-supplied lang.FunctionExtractor.
Package sizes reports function and file line counts for diff-scoped files using a language-supplied lang.FunctionExtractor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL