get_symbol_complexity_trend
Track a single function's complexity over time using git history, with per-commit snapshots of cyclomatic complexity, nesting, params, and lines.
Instructions
Single symbol complexity over git history: cyclomatic, nesting, params, lines at past commits. Requires git. Use to track a specific function's complexity evolution. For file-level trends use get_complexity_trend instead. Read-only. Returns JSON: { symbol_id, snapshots: [{ commit, date, cyclomatic, nesting, params, lines }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshots | No | Number of historical snapshots (default: 6) | |
| symbol_id | Yes | Symbol ID to analyze (from search or outline) | |
| since_days | No | Analyze last N days (default: all history) |