SonarQube Scan for New Code Issues

Hi, community!

I am using development version 10.4!

I want to know how the new code is scanned. If I scan a single file for subsequent modifications after the first full scan? Or scan the modified code lines in the modified file?

How do I see scanned files or code lines in reports or command lines?

Thank you for your answer!


Welcome to the community!

You don’t analyze individual files. You analyze the project as a whole. And in a PR context, analysis will automatically limit itself to only those files that were changed in the PR.

I believe you’re looking for SonarQube’s web UI here. Or do I misunderstand the question?