get_untested_symbols
Identify which symbols in your codebase lack test coverage, classifying them as unreached or imported but not called. Excludes non-code files by default for accurate results.
Instructions
Find ALL symbols (not just exports) lacking test coverage. Classifies as "unreached" (no test file imports the source) or "imported_not_called" (test imports file but never references this symbol). By default only source-code languages (TypeScript, Python, Go, Ruby, …) are considered — markdown/JSON/YAML symbols are excluded. Use include_non_code=true to restore the legacy noisy behaviour. For exports-only quick scan use get_untested_exports instead. Read-only. Returns JSON: { untested: [{ symbol_id, name, kind, file, classification }], total }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_pattern | No | Filter by file glob pattern (e.g. "src/tools/%") | |
| max_results | No | Cap on returned items (default: all) | |
| include_non_code | No | When true, include symbols from non-code files (markdown, json, yaml, …). Default: false — only TypeScript, JavaScript, Python, Go, Ruby, Rust, Java, PHP, C#, Swift, Kotlin, Scala, Elixir, Dart, C, C++, Objective-C symbols are considered. |