How to reduce analyzed code

For example, the code upper limit is like this:

and my command line like this:

but there is still no reduction,so I wanna to know What is the mechanism for judging the total amount of code? Is the third-party library referenced in the project included? How do I get rid of these files I don’t intend to scan?


First, I want to double-check that you’ve already revoked the token you just published. :slight_smile:

Regarding your LOC, what does your analysis log say about your exclusion settings?

Does it show up in the SonarQube interface in the Code tab?

I don’t see a specification of sonar.source on your command line. It defaults to ., so that’s one way extra files might have been included in your analysis.

Really, a good, close look at your analysis log is the place to start.