GitImpact is a Visual Studio Code extension that measures the true impact of code contributions. Instead of merely counting raw lines of code, it applies Information Theory (Shannon Entropy) to filter out noise, boilerplate, and empty lines, delivering a highly accurate metric of meaningful code complexity.
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).