Documentation
¶
Overview ¶
Package sizes reports function and file line counts for diff-scoped files using a language-supplied lang.FunctionExtractor. The per-language AST work lives in the language back-end (for Go: goanalyzer/sizes.go).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeltaTolerances ¶
DeltaTolerances captures the size deltas that diff mode is willing to forgive. A function whose line count grew by FuncLines or fewer is dropped. A file is dropped when its line growth is within max(FileFloorLines, base * FilePct%) — percentage scales with file size so adding 50 lines to a 5000-line file is forgiven while the same growth on a 500-line file is flagged. A zero-value DeltaTolerances acts as strict gating (all growth flagged) to preserve the pre-tolerance default.