pkg/

directory
v0.0.0-...-d1eea97 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0, Apache-2.0

Directories

Path Synopsis
analyzers
analyze
Package analyze provides analyze functionality.
Package analyze provides analyze functionality.
anomaly
Package anomaly provides temporal anomaly detection over commit history.
Package anomaly provides temporal anomaly detection over commit history.
burndown
Package burndown provides burndown functionality.
Package burndown provides burndown functionality.
cohesion
Package cohesion provides cohesion functionality.
Package cohesion provides cohesion functionality.
comments
Package comments provides comments functionality.
Package comments provides comments functionality.
common
Package common provides common functionality.
Package common provides common functionality.
common/plotpage
Package plotpage provides HTML visualization components for analyzer output.
Package plotpage provides HTML visualization components for analyzer output.
common/renderer
Package renderer provides section rendering for analyzer reports.
Package renderer provides section rendering for analyzer reports.
common/reportutil
Package reportutil provides type-safe accessors for analyze.Report fields.
Package reportutil provides type-safe accessors for analyze.Report fields.
common/terminal
Package terminal provides terminal rendering utilities for beautiful CLI output.
Package terminal provides terminal rendering utilities for beautiful CLI output.
complexity
Package complexity provides complexity functionality.
Package complexity provides complexity functionality.
couples
Package couples provides couples functionality.
Package couples provides couples functionality.
devs
Package devs provides devs functionality.
Package devs provides devs functionality.
file_history
Package filehistory provides file history functionality.
Package filehistory provides file history functionality.
halstead
Package halstead provides halstead functionality.
Package halstead provides halstead functionality.
imports
Package imports provides imports functionality.
Package imports provides imports functionality.
plumbing
Package plumbing provides plumbing functionality.
Package plumbing provides plumbing functionality.
quality
Package quality tracks code quality metrics (complexity, Halstead, comments, cohesion) across commit history by running static analyzers on per-commit UAST-parsed changed files.
Package quality tracks code quality metrics (complexity, Halstead, comments, cohesion) across commit history by running static analyzers on per-commit UAST-parsed changed files.
sentiment
Package sentiment provides sentiment functionality.
Package sentiment provides sentiment functionality.
shotness
Package shotness provides shotness functionality.
Package shotness provides shotness functionality.
typos
Package typos provides typos functionality.
Package typos provides typos functionality.
Package budget provides memory budget calculation and auto-tuning for codefang history analysis.
Package budget provides memory budget calculation and auto-tuning for codefang history analysis.
Package burndown provides file-level line interval tracking for burndown analysis.
Package burndown provides file-level line interval tracking for burndown analysis.
Package cache provides caching utilities for analyzers.
Package cache provides caching utilities for analyzers.
Package checkpoint provides state persistence for streaming analysis.
Package checkpoint provides state persistence for streaming analysis.
Package config provides YAML-based project configuration for codefang.
Package config provides YAML-based project configuration for codefang.
Package framework provides orchestration for running analysis pipelines.
Package framework provides orchestration for running analysis pipelines.
Package gitlib provides a unified interface for git operations using libgit2.
Package gitlib provides a unified interface for git operations using libgit2.
Package identity provides identity constants and types for author tracking.
Package identity provides identity constants and types for author tracking.
Package importmodel defines the data model for source file import analysis.
Package importmodel defines the data model for source file import analysis.
Package levenshtein calculates the Levenshtein edit distance between strings.
Package levenshtein calculates the Levenshtein edit distance between strings.
Package metrics provides interfaces for defining self-contained, reusable metrics.
Package metrics provides interfaces for defining self-contained, reusable metrics.
Package observability provides OpenTelemetry-based tracing, metrics, and structured logging for all Codefang application modes (CLI, MCP, server).
Package observability provides OpenTelemetry-based tracing, metrics, and structured logging for all Codefang application modes (CLI, MCP, server).
Package pipeline defines configuration option types for analysis pipeline items.
Package pipeline defines configuration option types for analysis pipeline items.
Package plumbing defines shared types, constants, and test helpers for the analysis pipeline.
Package plumbing defines shared types, constants, and test helpers for the analysis pipeline.
Package rbtree provides a red-black tree implementation with memory allocation and serialization support, including LZ4 compression and sharded allocators.
Package rbtree provides a red-black tree implementation with memory allocation and serialization support, including LZ4 compression and sharded allocators.
Package safeconv provides safe integer type conversion functions that panic on overflow.
Package safeconv provides safe integer type conversion functions that panic on overflow.
Package streaming provides chunked execution with analyzer hibernation for memory-bounded analysis.
Package streaming provides chunked execution with analyzer hibernation for memory-bounded analysis.
Package uast provides a universal abstract syntax tree (UAST) representation and utilities for parsing, navigating, querying, and mutating code structure in a language-agnostic way.
Package uast provides a universal abstract syntax tree (UAST) representation and utilities for parsing, navigating, querying, and mutating code structure in a language-agnostic way.
lsp
Package lsp provides a Language Server Protocol (LSP) server for the mapping DSL used in the UAST framework.
Package lsp provides a Language Server Protocol (LSP) server for the mapping DSL used in the UAST framework.
pkg/mapping
Package mapping provides Tree-Sitter to UAST mapping rules and grammar analysis.
Package mapping provides Tree-Sitter to UAST mapping rules and grammar analysis.
pkg/node
Package node provides the canonical UAST node structure and operations for tree traversal, querying, and transformation.
Package node provides the canonical UAST node structure and operations for tree traversal, querying, and transformation.
pkg/spec
Package spec provides embedded UAST schema specifications.
Package spec provides embedded UAST schema specifications.
Package version provides the build version information for the Codefang binary.
Package version provides the build version information for the Codefang binary.

Jump to

Keyboard shortcuts

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