internal/

directory
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT

Directories

Path Synopsis
Package cli implements the messgo command-line interface, mirroring PHPMD's argument layout: `messgo <paths> <format> <ruleset[,...]> [options]`.
Package cli implements the messgo command-line interface, mirroring PHPMD's argument layout: `messgo <paths> <format> <ruleset[,...]> [options]`.
Package metrics computes the code metrics PHPMD relies on (cyclomatic complexity, NPath complexity, lines of code), adapted to the Go AST.
Package metrics computes the code metrics PHPMD relies on (cyclomatic complexity, NPath complexity, lines of code), adapted to the Go AST.
Package model wraps the Go standard-library AST into phpmd-style code artifacts (Class, Interface, Method, Function, Field, Parameter).
Package model wraps the Go standard-library AST into phpmd-style code artifacts (Class, Interface, Method, Function, Field, Parameter).
Package report renders rule violations in the output formats PHPMD supports: text, xml, json, ansi, github, gitlab, checkstyle, sarif, html.
Package report renders rule violations in the output formats PHPMD supports: text, xml, json, ansi, github, gitlab, checkstyle, sarif, html.
Package rule defines the rule engine: the Rule interface, violations, rule sets, and the report.
Package rule defines the rule engine: the Rule interface, violations, rule sets, and the report.
rules
cleancode
Package cleancode implements PHPMD's Clean Code ruleset, adapted to Go.
Package cleancode implements PHPMD's Clean Code ruleset, adapted to Go.
codesize
Package codesize implements PHPMD's Code Size ruleset, adapted to Go.
Package codesize implements PHPMD's Code Size ruleset, adapted to Go.
controversial
Package controversial implements PHPMD's Controversial ruleset, adapted to Go.
Package controversial implements PHPMD's Controversial ruleset, adapted to Go.
design
Package design implements PHPMD's Design ruleset, adapted to Go.
Package design implements PHPMD's Design ruleset, adapted to Go.
naming
Package naming implements PHPMD's Naming ruleset, adapted to Go.
Package naming implements PHPMD's Naming ruleset, adapted to Go.
unusedcode
Package unusedcode implements PHPMD's Unused Code ruleset, adapted to Go.
Package unusedcode implements PHPMD's Unused Code ruleset, adapted to Go.
Package ruleset loads PHPMD-format ruleset XML files into runnable RuleSets.
Package ruleset loads PHPMD-format ruleset XML files into runnable RuleSets.
Package runner orchestrates discovery, parsing and analysis of Go sources.
Package runner orchestrates discovery, parsing and analysis of Go sources.
Package util provides small helpers shared across rules: string handling that mirrors PHPMD\Utility\Strings, and Go AST walking utilities.
Package util provides small helpers shared across rules: string handling that mirrors PHPMD\Utility\Strings, and Go AST walking utilities.
Package version provides the single version identity used by every messgo output.
Package version provides the single version identity used by every messgo output.

Jump to

Keyboard shortcuts

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