Code Insights

Anything you can search, you can track and analyze

Code Insights reveals high-level information about your codebase, based on both how your code changes over time and its current state.

Code Insights is based on our universal code search, making it precise and configurable. Track anything that can be expressed with a Sourcegraph search query: migrations, package use, version adoption, code smells, codebase size and much more, across 1,000s of repositories. Code Insights will backfill years of historical data from your version control, so you can immediately reveal current trends and baselines.

Explanations

How-tos

References