← Back to blog Feature · November 2026

How to Read bugweg's Risk Heat Map as a Team

Published · Bugweg team · drafted with AI, reviewed by a human · 3 min read

To read bugweg's risk heat map as a team, work in three steps: find the folder where risk clusters, check which signal is pushing a file up, then ask when it was last touched. The map is a dashboard treemap grouped by folder, coloured in four risk bands so real hotspots stand out, with test files hidden by default.

Each score draws on change velocity, complexity delta and defect density, updated as pull requests land. The explainer on how the predictive bug risk score is calculated covers that arithmetic. This guide is for a tech lead deciding where review attention should go.

Where does risk cluster?

Because boxes are grouped by folder, read the shape before any single file. Several boxes in the higher bands inside one folder raise a question about that module. One hot box beside a field of calm ones raises a narrower question. Do not read size as risk on its own. A box is sized by the file's real line count where that has been captured, and by its risk score otherwise.

Which driver is lifting the file?

The ranked list shows what drives each file's score. One that ranks high on change velocity but low on the other two is being edited often, which may call for a design conversation about why it keeps moving. A high complexity signal suggests a closer read on its next pull request. A history of flagged defects is a good reason to ask for a second reviewer.

Check what the complexity number is before you act on it. It is a real cyclomatic complexity score only for files in a supported language that were parsed on a pull request at the MEDIUM tier or higher, within a cap of 15 files. LOW tier pull requests, unsupported languages and files outside that cap fall back to a proxy based on added and deleted lines.

How old is the score?

Time decay is applied only when a file is touched again. At that point its existing counters are scaled by a 30-day half-life before the new pull request is added, so activity from a month ago counts half as much as today's. Nothing is applied in between. A file that no pull request touches keeps its last score on the map until its next one.

That changes how a quiet hot box should be read. It may be a risky area that nobody has looked at lately, or a stable one that nobody has needed to change. The map does not tell those cases apart. Silence also does not lower the score, so an unchanged colour is no sign that anything was checked or resolved.

What should a team do with it in planning?

Use the map to start the conversation about review time, not to pass judgment on a single pull request. There is one score per file rather than per function, so a large file with one risky corner and plenty of calm code still appears as a single box. Open the hottest file in the folder you care most about and write down two things before assigning anyone: the driver that ranks highest for it, and when it was last touched. Those two notes give the reviewer a specific reason to be there.

Keep reading: bugweg features · how bugweg works · Natural Language Code Search: Hunt Bugs by Failure Mode · Recurrence Firewall: making a block rule actually block

See it on your own repo. 3 free PR reviews per developer. A card is required to start and you are not charged during the trial. See pricing for what happens after.

Install on GitHub
Back