get_symbol_complexity_trend
Track a function's complexity evolution over git history by analyzing cyclomatic, nesting, parameters, and lines at past commits.
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 |
|---|---|---|---|
| symbol_id | Yes | Symbol ID to analyze (from search or outline) | |
| since_days | No | Analyze last N days (default: all history) | |
| snapshots | No | Number of historical snapshots (default: 6) |