Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Uplift Code MetricsNew to Visual Studio Code? Get it now.
Uplift Code Metrics

Uplift Code Metrics

Carlos Bonetti

|
3,741 installs
| (2) | Free
Code metrics and insights for git projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Uplift Code

Code metrics and insights for git projects.

Getting started

  1. Install the extension
  2. Open your project as a vscode workspace
  3. Show metrics for project and files by triggering Uplift's commands: use Cmd+Shift+P and search for "Uplift" to see available commands.

Project summary

Open a Project Summary tab displaying metrics information about the entire project by using the "Uplift Code: Show Project Summary" command.

Show project summary command

File summary

Open a File Summary tab displaying metrics information about the active file by using the "Uplift Code: Show File Summary"command.

Show file summary command

Metrics

Here's an overview of all metrics calculated by UpliftCode and their meaning.

By default, all metrics are calculated taking in account the git commits done in the last 12 months. This can be changed with the upliftCode.since settings configuration.

Churn

Churn or file churn is the number of times a file has changed in a given time range, calculated by counting the number of commits this file appears on. It will tell you which files are the ones that are constantly changing, thus the ones more likely to be hotspots of bugs or related to features with constant requirement changes.

Potential reasons / what to do:

  • Bugfixing / poor code design

    Small frequent commits can indicate a poor designed code, lack of test coverage or other smells that are constantly causing bugs in your product. Consider refactoring or breaking into multiple files or modules with single or less reponsibilities

  • Unclear requirements / indecisive stakeholders

    Review the requirements with your steakholders and make sure there's a clear accepting criteria

  • Difficult problem

    Avoid bikeshedding and be mindful if a challenge is taking too long. Be proactive, ask for help when needed.

To learn more:

  • Introduction to code churn
  • 6 Causes of Code Churn and What You Should Do About Them

File coupling

File coupling is a potential code smell that occurs when you have an implicit temporal relationship between two or more files in a project. If files A and B are constantly changed together, in the same commit, they are probably coupled or tighly related to each other.

Complexity / Complexity trend

Coming soon.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft