Need help for scan issue


  • Scanner command used when applicable (private details masked)
  • java
  • After the scan is successful, the error prompts are as follows:

This analysis will make your organization ‘xxx-limited’ to reach the maximum allowed lines limit (having 636749 lines).
Please contact the administrator of the organization to resolve this issue.

So , for this issue, Can i delete the old project, then i can scan the new project?

And, if yes, how to delete the old project from Sonarqube?

Hi,

Welcome to the community!

You can certainly delete the project and start over. A project administrator will find an option under project-level Administration.

However, I don’t think that will solve your problem if you’re just going to re-create the project. You’ll need to fix analysis which, at a guess, has accidentally included some 3rd-party libraries or generated code.

You’ll want to start by taking a close look at your sonar.sources analysis specification and any inclusions or exclusions you’ve specified.

 
HTH,
Ann