get_coupling_trend
Track how a module's coupling and instability change over git history. Identifies if a file is stabilizing or destabilizing based on Ca, Ce, and instability metrics.
Instructions
File coupling over git history: Ca/Ce/instability at past commits. Shows if a module is stabilizing or destabilizing. Requires git. Use to track module stability over time. For current coupling snapshot use get_coupling instead. Read-only. Returns JSON: { file, snapshots: [{ commit, date, ca, ce, instability }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path to analyze | |
| snapshots | No | Number of historical snapshots (default: 6) | |
| since_days | No | Analyze last N days (default: 90) |