How does SonarCloud backgrund task code analysis


I’m trying to understand how the “background tasks” “code analysis” works.
I’m using the sonarsource/sonar-scanner-cli together with DotCover to get a static rapport and code coverage.

From time to time I get “Failed” status in the background tasks, so how does it work, does it look at the whole code base every time or does it only look at the difference from last time?

The code base has about 170k lines of code, if code base/LOC where to increase how do i use SonarCloud when it’s gonna timeout all the time…? I’ve heard of way bigger code bases/LOC and i don’t know how they make it work.

Thanks in advance :slight_smile:

Hey there.

Background tasks are the processing of the analysis report the scanner sends to SonarCloud – it doesn’t indicate anything about the quality of the code.

You should be able to find the specific error details for a background task here. I would recommend sharing it here!