Only a few part of the code is analysed

Hi!
I feel like only a few part of the code is being analysed… (I should have >10000 lines of codes in the src folder, I have only 35)

sonar-project.properties:
sonar.projectKey=optimetriks_service-mobileapi
sonar.organization=optimetriks

# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=service-mobile-api
#sonar.projectVersion=1.0
 
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=src
 
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

Thank you in advance!

Julien.

Hi @Julien_Mazars,

Could you please tell us which scanner are you using, and which language you want to analyze ?

Thanks.
Mickaël

Hi Michael,

I’m trying to use SonarCloud, and the project is 100% TypeScript (NodeJs).
I configured the project with gitlab as it is shown on the documentation, setting up the 2 env variables, adding the provided code in the gitlab ci file, and adding the default sonar-project.properties

It seems to work now actually… Maybe because I was not pushing in the “default branch” of gitlab…

Ah, indeed, glad to hear that it works !