large_files_and_complexity
Scan a repository for oversized files, long functions, deep nesting, commented-out code, and suppression counts to identify cheap debt signals without git.
Instructions
Cheap debt signals without git: files over max_file_lines, functions over max_function_lines,
deepest nesting (indent levels or brace depth), commented-out code blocks (3+ consecutive code-shaped
comment lines), and suppression counts by kind and directory (# noqa, type: ignore, pylint: disable,
@ts-ignore, @ts-expect-error, eslint-disable, #[allow(...)], @SuppressWarnings, nolint, rubocop:disable,
shellcheck disable ...). Line counters are heuristics (they do not parse code). path is a glob filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| repo | No | ||
| limit | No | ||
| dir_depth | No | ||
| max_file_lines | No | ||
| max_nesting_depth | No | ||
| max_function_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||