I imported a new Github repo in Sonarcloud.
The import works but it detect only 44 lines of code, this lines are from the Dockerfile. Other line of code in other file are not detected.
However when browsing in the Code tab, I can see all the code from this Github repo.
The main language of the repo is Javascript, Typescript.
Can you share your analysis log, redacted as necessary?
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.
I didn’t realize we were dealing with automatic analysis. That means much (most? all?) of this is out of your control. I’m going to flag this for the team.
Do you have any custom configuration for your Automatic Analysis inside a .sonarcloud.properties file? If yes can you share it here please?
Also could you go in the “background tasks” of your project and share the SonarScanner Context of one of your analysis? Redacting any confidential information.