A scanner that reads source code answers technical questions: which fields exist, where they are written, which services are called. Why that happens, on what legal basis and what actually happens in production, it does not know. That is why every finding needs human review.
What static analysis means
Static analysis reads source files as text and structure without running the program. It needs no access to databases or servers and can run locally. The price: it sees only what is in the code, not what happens at runtime.
What it can find
In supported code a scanner supplies solid hints about:
- Fields and models whose names point to personal data, such as email, phone or birthDate
- Storage writes, meaning places where data is stored through an ORM, a database client or a cloud SDK
- Calls to provider SDKs, for example for email delivery, payments or analytics, as a hint about possible recipients
- The exact source location with file and line, so someone can verify the finding
- Changes between two scans, such as a newly added field
What it cannot know
No code scanner answers these questions, and a serious tool does not claim to:
- The purpose of the processing and its legal basis
- Which data is actually stored in production
- Runtime configuration, environment variables and settings in admin consoles
- Data outside the analysed code, for example in spreadsheets, support tools or unsupported languages
- Contracts, retention obligations and the question of who is the controller
Analysis scope: always partial
Even within supported languages the analysis scope stays partial. Dynamically built field names, in-house abstractions and libraries without a profile cannot always be resolved. A trustworthy scanner reports such spots as open instead of hiding them.
Two measures describe quality: precision, meaning how many findings are correct, and coverage, meaning how many of the places that actually exist are found. Sourcemark publishes a one-time measurement of both, with method and limits, on its measured accuracy page.
Why people have to review
A field called name can be a person’s name or a product name. A finding is therefore a hint, not a fact. Only review by your team turns it into a statement for inventory and record: confirm, dismiss or deliberately leave open. Your team also adds purpose, recipients and periods.
General information, not legal advice. Assess your individual case separately.