GitImpact is a Visual Studio Code extension that measures the true line impact of code contributions. Instead of merely counting raw lines of code, it smartly filters out noise (empty lines, brackets, boilerplate) and applies Information Theory (Shannon Entropy) to evaluate the true complexity of the remaining code.
Requirements
Git: Must be installed on your local machine.
Remote Sync: The repository must be linked to a remote (e.g., GitHub) and synced. The extension analyzes code based on the remote branch to ensure authenticity.
Features
Surviving Code Analysis: Uses git blame to analyze only the code that currently survives in your remote repository (GitHub). Deleted or refactored code is accurately excluded.
Noise Filtering: Automatically ignores whitespace, brackets, and auto-generated boilerplates.
Shannon Entropy Scoring: Calculates the information density (entropy) of added tokens. Complex algorithms score higher than simple repetitive lines.
Time-Series Activity Bar Dashboard: View team rankings and historical impact trends directly inside your VS Code Sidebar.
Auto-Refresh: Automatically detects when you sync with your remote (e.g., git pull, git push, git fetch) and updates the dashboard.
Installation
Via Extension Marketplace (Recommended)
You can install GitImpact directly from the official VS Code Marketplace or Open VSX Registry (for VSCodium, Cursor, etc.).
Open your editor and navigate to the Extensions view (Ctrl+Shift+X).