Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Help centre / Running scans

Running scans

Where do I see how many lines of code a scan analysed?

Quick answer

Open the scan and choose the Overview tab. The footer of the Results card shows Lines of code, such as 57,467 LOC, for white-box scans. Black-box scans show a dash, because no source code was read.

Steps

Lines of code is a measure of how much of your repository the scan read.

  1. Go to Recent Scans. Choose it in the sidebar.
  2. Click the scan. The detail page opens on Overview.
  3. Find the Results card. It holds the donut chart.
  4. Read the footer. Lines of code sits beside Tokens consumed and Cost.
  5. Check the scan type. A dash means black-box.

Good to know

The figure appears only when the scan has source to count. A white-box run reads your Git repository, so it has a number. A black-box run tests the live URL only, so the field shows a dash.

While a white-box scan is running, the live counter shows the lines of code so far. Press Refresh to update it.

A dash on a white-box scan deserves a look. Check that the target has a repository and that the scan ran past the first phase. Our page on why lines of code shows a dash goes through it.

What the number tells you

A large figure means the scan had a lot of code to read, which often means a longer run and a higher cost. A figure far below what you expect can mean the repository or branch on the target is not the one you meant. Targets cannot be edited, so delete and recreate one to fix that.

Use the figure to sanity check scope. If you scan a large repository and the count looks tiny, the branch field on the target may point at the wrong branch, or the repo may hold only part of the code. Check early.

Full tutorial

The scan detail page: how to read a Cyberlop scan from Overview to Diff

Step-by-step, with annotated screenshots.

Updated · Back to the help centre

Still stuck?

Tell us what you see on screen and an engineer will help you sort it out.