Template for a good new topic, formatted with Markdown:
ALM used (GitHub)
CI system used (Github Actions)
Scanner command used when applicable (private details masked)
Languages of the repository (Javascript)
Hi Team,
I recently change analysis method for one my project from automatic to CI analysis using GitHub Actions. The problem is my total code is having around 56k line of code but my analysis is failing with this error: “This analysis will make your organization ‘oware-technologies’ to reach the maximum allowed lines limit (having 360891 lines).
Please contact the administrator of the organization to resolve this issue.” I don’t know why it’s happening.
Can you please look into it to help me to resolve this issue?
It sounds like when you switched to CI-based analysis, more code was picked up. Can you share your analysis parameters and your analysis log starting from the analysis command?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
Sorry, but I need to make double-sure here. You got that message for the analysis of a PR that corresponds to the analysis log you posted here? The one with only 3 files changed?
INFO: SCM Publisher 3 source files to be analyzed
INFO: SCM Publisher 3/3 source files have been analyzed (done) | time=260ms
Thanks for the confirmation. The log shows that only 3 files were found as changed in the PR. Is that correct? And how long (how many lines) are those files?
I think there is a bug on the sonar side. I’m sharing a few insights with you. It shows around 63K lines of code in our billing section but on analysis its showing 400k+ lines of code. We are paying for nothing from last few months.