DocsScreens
Overview
Overview shows where one repository's code stands: hotspots, growing functions, complexity by folder and similar function groups.
Open Overview
In a repository tab, choose Overview in the mode switch in the middle of the toolbar, next to Graph and Files.
Analysis status
The box at the top right shows the analysis status:
- Analysis is off: click Turn On Analysis. Analysis is on unless someone turned it off.
- Waiting to analyze…: queued.
- Analyzing · 120 / 800 commits: with the time left. If you quit, it resumes where it stopped.
- Analysis failed: with the reason.
- Analyzed through a1b2c3d · develop: ready.
Until the first pass finishes, the screen says Analysis pending. Later passes keep the last results on screen while they run.
What it describes
Everything describes the functions on the analyzed branch as of its latest commit, whichever branch you have checked out, and without uncommitted changes. New commits there are analyzed as they come. Code analysis covers which branch that is.
Four facts at the top
Four cards each state one fact in a sentence, and the panels below are the evidence. A card with nothing to report says so.
- Concentration: how many functions are at 30+ and what share of all complexity they carry.
- Hotspot: the function with the most changes × complexity.
- Crossed 30: functions that rose into 30+ in the last 30 days, or Biggest rise when none did.
- Similar functions changed apart: similar functions that seldom changed in the same commit.
Hotspots
Hotspots plots functions changed in the last 90 days: changes across, Cognitive now up, dot size for lines. The shaded corner marks functions changed often and at 30+. The table below lists the top five by changes × Cognitive. See Cognitive complexity.
Growing
Growing lists functions whose Cognitive rose in the last 30 days, biggest rise first. Click one to see its diff over that time, then go on to Function History or Open in Files.
Complexity by folder
Complexity by folder shows each folder's total Cognitive as a bar split by tier, with its count of 30+ functions. A sentence below names the largest folder and the one where 30+ functions weigh the most.
Similar function groups
Similar function groups shows functions with a similar structure and whether they changed together: always together, ⚠ never together or a count. Similarity is approximate. Click a group to compare two members. See Similar functions.
From here to Files
Overview is a starting point. Click a function in a table or a card's link to open it in Files, selected in OUTLINE or with its versions in HISTORY. The plot's dots aren't clickable, so use the table.
Facts, not verdicts
As the subtitle says, these are facts from the history, and you decide what they mean. Overview doesn't grade your code or tell you to split a function.