Local scan of files with SonarQube Developer Edition

Hello, dear SonarQube community.
I was looking for a static code analysis tool and came across SonarQube. I need to test PHP files locally for testing purposes. A salesperson I spoke with mentioned that this would not be a problem. I started the web server (SonarQube) and provided the scanner with the path to my PHP files. As soon as I start the scan, I get the following message:


“The main branch has no lines of code.”

However, I don’t want to work on a repository right now. I just want to test local files to evaluate the tool, as I don’t have any branches in my test environment.

Is it possible to scan local files?
Or do I need a repository? and can I use Subversion as well?

Hey there.

You should be able to scan local files not in a repository. Can you share the output of sonar-scanner, preferably in DEBUG mode (sonar-scanner -X). That should shed some light on what’s going wrong.

Hello Colin!
Here is the debug output:

12:22:02.163 WARN  File 'C:\...\MVC\src\DataBaseConnection.php' is ignored. It is not located in project basedir 'C:\...\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.  
I have the same warn message for every .php File i have in the referenzed folder.
After all the warnings, i get this output aswell:
12:22:02.174 DEBUG Detected languages: [ ]
12:22:02.178 DEBUG Optional language-specific plugins not loaded: [abap, csharp, cpp, cfamilydependencies, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, plsql, ruby, sonarscala, swift, tsql, vbnet, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]                                                                                                  12:22:02.178 DEBUG No plugins loaded


12:36:40.183 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
12:36:49.749 DEBUG Process [C:\Windows\System32\where.exe, $PATH:git.exe] exited with code 1   
12:36:49.749 DEBUG git.exe
12:36:49.784 WARN  Unable to retrieve git status                                                                       
 org.sonar.plugins.common.git.JgitSupplier$JgitInitializationException: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.                                                                                              
	at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:40)                                               
	at org.sonar.plugins.common.git.GitService.getUntrackedFilesFromJgit(GitService.java:121)                               
	at org.sonar.plugins.common.git.GitService.retrieveUntrackedFileNames(GitService.java:60)                               
	at org.sonar.plugins.common.git.GitTrackedFilePredicate.<init>(GitTrackedFilePredicate.java:37)                         
	at org.sonar.plugins.common.TextAndSecretsSensor.lambda$constructFilePredicate$2(TextAndSecretsSensor.java:177)        
 	at org.sonar.plugins.common.DurationStatistics.timed(DurationStatistics.java:78)                                        
	at org.sonar.plugins.common.TextAndSecretsSensor.constructFilePredicate(TextAndSecretsSensor.java:176)                  
	at org.sonar.plugins.common.TextAndSecretsSensor.execute(TextAndSecretsSensor.java:116)                                
 	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)                               
 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)                              
  	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)                              
  	at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)                    
 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                 
 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                         
	at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)                          
	at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)              
 	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)                 
 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                  
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                        
  	at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)                    
 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                 
 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                         
 	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)                     
 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                 
 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                         
 	at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:149)                                     
  	at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:66)                                                   
  	at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:52)                                           
 Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.                                
  	at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:638)                   
	at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:602)                                    
 	at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)                                    
 	at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:37)                                               
	... 27 common frames omitted                                                                                                                                                                                                           
12:36:49.785 DEBUG Unable to retrieve git status  
12:36:49.788 WARN  Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"

Hey there.

This isn’t the full output of running sonar-scanner! It should start like this.

colinmueller@device-203 ~ % sonar-scanner -X
10:14:23.594 INFO  Scanner configuration file: /Users/colinmueller/Tools/sonar-scanner-6.1.0.4477-macosx-aarch64/conf/sonar-scanner.properties
10:14:23.597 INFO  Project root configuration file: NONE
10:14:23.608 INFO  SonarScanner CLI 6.1.0.4477
10:14:23.608 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)

C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin>sonar-scanner.bat -D"sonar.projectKey=MVC2" -D"sonar.sources=C:\xampp\htdocs\MVC\src" -D"sonar.host.url=http://localhost:9000" -D"sonar.token=sqp_64992d558408ef5a2189cac9f0aea94098f0253d" -X                                        15:27:47.368 INFO  Scanner configuration file: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\..\conf\sonar-scanner.properties                               15:27:47.378 INFO  Project root configuration file: NONE                                                                15:27:47.410 INFO  SonarScanner CLI 6.1.0.4477                                                                          15:27:47.419 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)                                                               15:27:47.421 INFO  Windows 10 10.0 amd64                                                                                15:27:47.441 DEBUG Scanner max available memory: 3 GB                                                                   15:27:47.468 DEBUG Create: C:\Users\fabian.kubata\.sonar\cache                                                          15:27:47.470 INFO  User cache: C:\Users\fabian.kubata\.sonar\cache                                                      15:27:47.471 DEBUG Create: C:\Users\fabian.kubata\.sonar\cache\_tmp                                                     15:27:47.927 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [56] entries                          15:27:47.929 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]                                      15:27:48.083 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [56] entries              15:27:48.301 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [10] entries                            15:27:48.375 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [10] entries                15:27:48.377 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]                                        15:27:48.380 DEBUG Loaded [132] system trusted certificates                                                             15:27:48.923 DEBUG --> GET http://localhost:9000/api/v2/analysis/version                                                15:27:49.098 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/version (173ms, 12-byte body)                          15:27:49.102 INFO  JRE provisioning: os[windows], arch[amd64]                                                           15:27:49.106 DEBUG --> GET http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64                             15:27:49.158 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64 (52ms, unknown-length body) 15:27:49.252 DEBUG Executing: C:\Users\fabian.kubata\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe --version              15:27:49.640 DEBUG openjdk 17.0.11 2024-04-16                                                                           15:27:49.641 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)                                      15:27:49.643 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)                    15:27:49.672 DEBUG --> GET http://localhost:9000/api/v2/analysis/engine                                                 15:27:49.995 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/engine (321ms, unknown-length body)                    15:27:49.999 INFO  Communicating with SonarQube Server 10.6.0.92116                                                     15:27:50.001 DEBUG Work directory: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                               15:27:50.039 DEBUG Executing: C:\Users\fabian.kubata\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe -jar C:\Users\fabian.kubata\.sonar\cache\191cc587f529b8a92dd04236eaf02b270bf11ff717cb4ab178952e914e071bff\scanner-developer-10.6.0.92116-all.jar                                                                                                                       15:27:51.029 INFO  Starting SonarScanner Engine...                                                                      15:27:51.030 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)                                                               15:27:51.066 DEBUG JVM max available memory: 3 GB                                                                       15:27:51.455 DEBUG Developer 10.6.0.92116                                                                               15:27:51.706 DEBUG Sonar User Home: C:\Users\fabian.kubata\.sonar                                                       15:27:52.104 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [56] entries                          15:27:52.107 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]                                      15:27:52.259 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [56] entries              15:27:52.369 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [10] entries                            15:27:52.444 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [10] entries                15:27:52.445 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]                                        15:27:52.471 DEBUG Loaded [132] system trusted certificates                                                             15:27:53.027 INFO  Load global settings                                                                                 15:27:53.059 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf                                           15:27:53.228 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf (169ms, 7833-byte body)                   15:27:53.303 INFO  Load global settings (done) | time=275ms                                                             15:27:53.308 INFO  Server id: 147B411E-AZE2cQ3gTdpjrQE07I5o                                                             15:27:53.312 DEBUG User cache: C:\Users\fabian.kubata\.sonar\cache                                                      15:27:53.324 INFO  Loading required plugins                                                                             15:27:53.325 INFO  Load plugins index                                                                                   15:27:53.326 DEBUG --> GET http://localhost:9000/api/plugins/installed                                                  15:27:53.387 DEBUG <-- 200 http://localhost:9000/api/plugins/installed (60ms, unknown-length body)                      15:27:53.397 INFO  Load plugins index (done) | time=73ms                                                                15:27:53.399 INFO  Load/download plugins                                                                                15:27:53.504 INFO  Load/download plugins (done) | time=106ms                                                            15:27:53.505 DEBUG Plugins not loaded because they are optional: [abap, csharp, cpp, cfamilydependencies, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, plsql, ruby, sonarscala, swift, tsql, vbnet, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]                                                                                                   15:27:53.539 DEBUG Plugins loaded:                                                                                      15:27:53.540 DEBUG   * Python Code Quality and Security 4.19.0.15616 (python)                                           15:27:53.543 DEBUG   * Clean as You Code 2.3.0.1782 (cayc)                                                              15:27:53.543 DEBUG   * XML Code Quality and Security 2.10.0.4108 (xml)                                                  15:27:53.544 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)                                                                       15:27:53.545 DEBUG   * IaC Code Quality and Security 1.31.0.10579 (iac)                                                 15:27:53.546 DEBUG   * Text Code Quality and Security 2.12.1.2905 (text)                                                15:27:53.614 INFO  Loaded core extensions: developer-scanner                                                            15:27:53.648 DEBUG Installed core extension: developer-scanner                                                          15:27:53.916 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$335/0x000001d65e265bc8@27e32fe4 with shutdown hook                                                                                                             15:27:54.251 INFO  Process project properties                                                                           15:27:54.272 INFO  Process project properties (done) | time=21ms                                                        15:27:54.310 INFO  Project key: MVC2                                                                                    15:27:54.311 INFO  Base dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin                                                                                  15:27:54.313 INFO  Working dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                                  15:27:54.314 DEBUG Project global encoding: windows-1252, default locale: de_DE                                         15:27:54.325 INFO  Load project settings for component key: 'MVC2'                                                      15:27:54.337 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf?component=MVC2                            15:27:54.403 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf?component=MVC2 (65ms, 7841-byte body)     15:27:54.406 INFO  Load project settings for component key: 'MVC2' (done) | time=80ms                                   15:27:54.480 INFO  Load project branches                                                                                15:27:54.481 DEBUG --> GET http://localhost:9000/api/project_branches/list?project=MVC2                                 15:27:54.525 DEBUG <-- 200 http://localhost:9000/api/project_branches/list?project=MVC2 (43ms, unknown-length body)     15:27:54.543 INFO  Load project branches (done) | time=63ms                                                             15:27:54.543 INFO  Load branch configuration                                                                            15:27:54.546 INFO  Load branch configuration (done) | time=2ms                                                          15:27:54.566 DEBUG Creating module hierarchy                                                                            15:27:54.567 DEBUG   Init module 'MVC2'                                                                                 15:27:54.570 DEBUG     Base dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin                                                                              15:27:54.571 DEBUG     Working dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                              15:27:54.572 DEBUG     Module global encoding: windows-1252, default locale: de_DE                                      15:27:54.585 INFO  Load quality profiles                                                                                15:27:54.587 DEBUG --> GET http://localhost:9000/api/qualityprofiles/search.protobuf?project=MVC2                       15:27:55.095 DEBUG <-- 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=MVC2 (507ms, 3722-byte body)                                                                                                                       15:27:55.139 INFO  Load quality profiles (done) | time=554ms                                                            15:27:55.212 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.                                                                         15:27:55.221 INFO  Load active rules                                                                                    15:27:55.226 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=0603a4cf-c7ea-4fcc-8998-078a532d0232&ps=500&p=1                                                                                                               15:27:55.933 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=0603a4cf-c7ea-4fcc-8998-078a532d0232&ps=500&p=1 (706ms, 4465-byte body)                                                                                       15:27:56.174 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=c7ba44b4-6e5b-4edb-8289-7bdaa3d07557&ps=500&p=1                                                                                                               15:27:56.542 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=c7ba44b4-6e5b-4edb-8289-7bdaa3d07557&ps=500&p=1 (375ms, unknown-length body)                                                                                  15:27:56.558 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=8ce0ef62-86fb-40fb-b8df-7bf3db7983c7&ps=500&p=1                                                                                                               15:27:56.779 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=8ce0ef62-86fb-40fb-b8df-7bf3db7983c7&ps=500&p=1 (221ms, unknown-length body)                                                                                  15:27:56.789 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=7be3e561-acea-4978-9a7f-31f213ca9e40&ps=500&p=1                                                                                                               15:27:56.804 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=7be3e561-acea-4978-9a7f-31f213ca9e40&ps=500&p=1 (15ms, 12-byte body)                                                                                          15:27:56.806 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=db484fc5-7d0b-44bd-97c8-827a782466b0&ps=500&p=1                                                                                                               15:27:59.420 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=db484fc5-7d0b-44bd-97c8-827a782466b0&ps=500&p=1 (2613ms, unknown-length body)                                                                                 15:27:59.503 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=cf935bc2-ca24-4a72-afac-d804396aa85a&ps=500&p=1                                                                                                               15:28:01.770 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=cf935bc2-ca24-4a72-afac-d804396aa85a&ps=500&p=1 (2267ms, unknown-length body)                                                                                 15:28:01.810 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d8595cda-58f0-4d15-8f1e-34b3d6543dd3&ps=500&p=1                                                                                                               15:28:02.056 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d8595cda-58f0-4d15-8f1e-34b3d6543dd3&ps=500&p=1 (245ms, unknown-length body)                                                                                  15:28:02.062 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e810ef78-404b-4de2-86f8-31eb2dee955c&ps=500&p=1                                                                                                               15:28:02.703 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e810ef78-404b-4de2-86f8-31eb2dee955c&ps=500&p=1 (639ms, unknown-length body)                                                                                  15:28:02.717 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=1                                                                                                               15:28:05.930 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=1 (3212ms, unknown-length body)                                                                                 15:28:05.996 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=2                                                                                                               15:28:06.288 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=2 (292ms, unknown-length body)                                                                                  15:28:06.294 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d28dddf2-cf85-48f0-bb8b-dc3eaee7779f&ps=500&p=1                                                                                                               15:28:06.762 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d28dddf2-cf85-48f0-bb8b-dc3eaee7779f&ps=500&p=1 (467ms, unknown-length body)                                                                                  15:28:06.767 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=9dbd442b-28df-41be-b4f8-f84d418f1b9a&ps=500&p=1                                                                                                               15:28:06.969 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=9dbd442b-28df-41be-b4f8-f84d418f1b9a&ps=500&p=1 (201ms, unknown-length body)                                                                                  15:28:06.973 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=db9390c8-11a6-4090-ad15-1202161fa68b&ps=500&p=1                                                                                                               15:28:07.122 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=db9390c8-11a6-4090-ad15-1202161fa68b&ps=500&p=1 (148ms, 7249-byte body)                                                                                       15:28:07.126 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=ba05c59b-244b-4155-8421-6a626fa713ef&ps=500&p=1                                                                                                               15:28:07.139 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=ba05c59b-244b-4155-8421-6a626fa713ef&ps=500&p=1 (12ms, 12-byte body)                                                                                          15:28:07.140 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=ce0de9c9-0e11-4abe-a234-7e6a7387a1af&ps=500&p=1                                                                                                               15:28:07.169 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=ce0de9c9-0e11-4abe-a234-7e6a7387a1af&ps=500&p=1 (29ms, 358-byte body)                                                                                         15:28:07.170 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=89443236-5c4a-4df7-8fdb-bb1eee363ad3&ps=500&p=1                                                                                                               15:28:08.012 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=89443236-5c4a-4df7-8fdb-bb1eee363ad3&ps=500&p=1 (841ms, unknown-length body)                                                                                  15:28:08.038 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1ab512ab-2683-4467-9166-d7e2a1a2c43f&ps=500&p=1                                                                                                               15:28:08.246 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1ab512ab-2683-4467-9166-d7e2a1a2c43f&ps=500&p=1 (208ms, unknown-length body)                                                                                  15:28:08.251 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d199b529-2e54-47b8-ad30-a180ee67c437&ps=500&p=1                                                                                                               15:28:08.532 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d199b529-2e54-47b8-ad30-a180ee67c437&ps=500&p=1 (281ms, unknown-length body)                                                                                  15:28:08.607 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d1e2ce03-a3ac-4798-b651-6910cd84488d&ps=500&p=1                                                                                                               15:28:08.622 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d1e2ce03-a3ac-4798-b651-6910cd84488d&ps=500&p=1 (16ms, 12-byte body)                                                                                          15:28:08.623 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=31f02c4b-c7fa-4396-9353-1c9fe0df9c70&ps=500&p=1                                                                                                               15:28:10.930 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=31f02c4b-c7fa-4396-9353-1c9fe0df9c70&ps=500&p=1 (2306ms, unknown-length body)                                                                                 15:28:10.954 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=7c8c5726-7621-4643-9d95-e74571148609&ps=500&p=1                                                                                                               15:28:12.057 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=7c8c5726-7621-4643-9d95-e74571148609&ps=500&p=1 (1101ms, unknown-length body)                                                                                 15:28:12.072 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b6aa1d78-1b08-4760-8180-f4454443c0bf&ps=500&p=1                                                                                                               15:28:12.182 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b6aa1d78-1b08-4760-8180-f4454443c0bf&ps=500&p=1 (110ms, 7691-byte body)                                                                                       15:28:12.185 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=26190891-2141-4eb4-a7e1-0621a0bbee62&ps=500&p=1                                                                                                               15:28:12.802 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=26190891-2141-4eb4-a7e1-0621a0bbee62&ps=500&p=1 (616ms, unknown-length body)                                                                                  15:28:12.817 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e59fea71-882f-4e4b-b355-fc00e32ac71c&ps=500&p=1                                                                                                               15:28:13.047 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e59fea71-882f-4e4b-b355-fc00e32ac71c&ps=500&p=1 (230ms, unknown-length body)                                                                                  15:28:13.053 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=a19b38fe-5245-4a38-94b8-71086f6dfed0&ps=500&p=1                                                                                                               15:28:13.514 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=a19b38fe-5245-4a38-94b8-71086f6dfed0&ps=500&p=1 (461ms, unknown-length body)                                                                                  15:28:13.518 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=2120aa00-18d9-451f-a4e7-fe864e9b89c2&ps=500&p=1                                                                                                               15:28:13.670 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=2120aa00-18d9-451f-a4e7-fe864e9b89c2&ps=500&p=1 (151ms, unknown-length body)                                                                                  15:28:13.673 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1c583a90-ff7b-43ce-9c18-b730ddd08a58&ps=500&p=1                                                                                                               15:28:15.647 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1c583a90-ff7b-43ce-9c18-b730ddd08a58&ps=500&p=1 (1974ms, unknown-length body)                                                                                 15:28:15.663 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=a49eeb15-4a88-4b77-8f46-0e7275f88e73&ps=500&p=1                                                                                                               15:28:16.611 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=a49eeb15-4a88-4b77-8f46-0e7275f88e73&ps=500&p=1 (946ms, unknown-length body)                                                                                  15:28:16.622 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e0c8fa3a-0e1a-4ba9-8c23-c9232a1795d5&ps=500&p=1                                                                                                               15:28:17.013 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e0c8fa3a-0e1a-4ba9-8c23-c9232a1795d5&ps=500&p=1 (391ms, unknown-length body)                                                                                  15:28:17.017 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6a6d0b85-5962-4657-b2c2-32de5f14ce49&ps=500&p=1                                                                                                               15:28:17.326 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6a6d0b85-5962-4657-b2c2-32de5f14ce49&ps=500&p=1 (308ms, unknown-length body)                                                                                  15:28:17.328 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=7de077f9-e087-4acb-af93-8b600b644fa8&ps=500&p=1                                                                                                               15:28:17.628 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=7de077f9-e087-4acb-af93-8b600b644fa8&ps=500&p=1 (300ms, unknown-length body)                                                                                  15:28:17.633 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=c2ef0abe-94b9-4290-af55-84bd59208ee9&ps=500&p=1                                                                                                               15:28:18.752 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=c2ef0abe-94b9-4290-af55-84bd59208ee9&ps=500&p=1 (1118ms, unknown-length body)                                                                                 15:28:18.763 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=9a10e6c0-c2fe-4960-a0e5-3b58af9942fe&ps=500&p=1                                                                                                               15:28:20.524 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=9a10e6c0-c2fe-4960-a0e5-3b58af9942fe&ps=500&p=1 (1761ms, unknown-length body)                                                                                 15:28:20.572 INFO  Load active rules (done) | time=25351ms                                                              15:28:20.579 INFO  Load analysis cache                                                                                  15:28:20.580 DEBUG --> GET http://localhost:9000/api/analysis_cache/get?project=MVC2                                    15:28:20.598 DEBUG <-- 404 http://localhost:9000/api/analysis_cache/get?project=MVC2 (17ms, unknown-length body)        15:28:20.600 INFO  Load analysis cache (404) | time=21ms                                                                15:28:20.627 DEBUG --> GET http://localhost:9000/api/languages/list                                                     15:28:20.634 DEBUG <-- 200 http://localhost:9000/api/languages/list (7ms, unknown-length body)                          15:28:20.677 DEBUG Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes :          15:28:20.682 DEBUG Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass                                                                                                         15:28:20.683 DEBUG Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala         15:28:20.683 DEBUG Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx                                                                                                                   15:28:20.684 DEBUG Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue                                                                                              15:28:20.685 DEBUG Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py              15:28:20.686 DEBUG Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile                                                                                                            15:28:20.687 DEBUG Declared patterns of language PL/SQL were converted to sonar.lang.patterns.plsql : **/*.sql,**/*.pks,**/*.pkb                                                                                                                15:28:20.688 DEBUG Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav   15:28:20.689 DEBUG Declared patterns of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig                  15:28:20.690 DEBUG Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as              15:28:20.691 DEBUG Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config                                                                                                         15:28:20.692 DEBUG Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json            15:28:20.693 DEBUG Declared patterns of language Text were converted to sonar.lang.patterns.text :                      15:28:20.698 DEBUG Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb           15:28:20.699 DEBUG Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation :  15:28:20.700 DEBUG Declared patterns of language Swift were converted to sonar.lang.patterns.swift : **/*.swift         15:28:20.701 DEBUG Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml   15:28:20.702 DEBUG Declared patterns of language C++ were converted to sonar.lang.patterns.cpp : **/*.cc,**/*.cpp,**/*.cxx,**/*.c++,**/*.hh,**/*.hpp,**/*.hxx,**/*.h++,**/*.ipp                                                                 15:28:20.703 DEBUG Declared patterns of language C were converted to sonar.lang.patterns.c : **/*.c,**/*.h              15:28:20.704 DEBUG Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go                  15:28:20.705 DEBUG Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts 15:28:20.706 DEBUG Declared patterns of language T-SQL were converted to sonar.lang.patterns.tsql : **/*.tsql           15:28:20.706 DEBUG Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets :                15:28:20.707 DEBUG Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb              15:28:20.708 DEBUG Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor       15:28:20.712 DEBUG Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc                                                                                     15:28:20.713 DEBUG Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf    15:28:20.714 DEBUG Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep                                                                                                   15:28:20.715 DEBUG Declared patterns of language ABAP were converted to sonar.lang.patterns.abap : **/*.abap,**/*.ab4,**/*.flow,**/*.asprog                                                                                                     15:28:20.716 DEBUG Declared patterns of language Objective-C were converted to sonar.lang.patterns.objc : **/*.m        15:28:20.717 DEBUG Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts                                                                                                       15:28:20.721 INFO  Preprocessing files...                                                                               15:28:20.733 WARN  File 'C:\xampp\htdocs\MVC\src\DataBaseConnection.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                          15:28:20.735 WARN  File 'C:\xampp\htdocs\MVC\src\ProductModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                15:28:20.736 WARN  File 'C:\xampp\htdocs\MVC\src\TestDispatcher.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                              15:28:20.737 WARN  File 'C:\xampp\htdocs\MVC\src\TestUserController.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                          15:28:20.738 WARN  File 'C:\xampp\htdocs\MVC\src\TestUserModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                               15:28:20.740 WARN  File 'C:\xampp\htdocs\MVC\src\TestView.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                    15:28:20.741 WARN  File 'C:\xampp\htdocs\MVC\src\UserController.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                              15:28:20.744 WARN  File 'C:\xampp\htdocs\MVC\src\UserDispatcher.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                              15:28:20.746 WARN  File 'C:\xampp\htdocs\MVC\src\UserModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                   15:28:20.747 WARN  File 'C:\xampp\htdocs\MVC\src\UserView.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                    15:28:20.748 WARN  File 'C:\xampp\htdocs\MVC\src\View.css' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                        15:28:20.749 WARN  File 'C:\xampp\htdocs\MVC\src\View.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                        15:28:20.754 INFO  0 languages detected in 0 preprocessed files                                                         15:28:20.757 INFO  Loading plugins for detected languages                                                               15:28:20.760 DEBUG Detected languages: []                                                                               15:28:20.761 INFO  Load/download plugins                                                                                15:28:20.762 INFO  Load/download plugins (done) | time=0ms                                                              15:28:20.763 DEBUG Optional language-specific plugins not loaded: [abap, csharp, cpp, cfamilydependencies, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, plsql, ruby, sonarscala, swift, tsql, vbnet, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]                                                                                                  15:28:20.764 DEBUG No plugins loaded                                                                                    15:28:20.838 INFO  Load project repositories                                                                            15:28:20.838 DEBUG --> GET http://localhost:9000/batch/project.protobuf?key=MVC2                                        15:28:20.869 DEBUG <-- 200 http://localhost:9000/batch/project.protobuf?key=MVC2 (31ms, 0-byte body)                    15:28:20.879 INFO  Load project repositories (done) | time=42ms                                                         15:28:20.894 DEBUG Available languages:                                                                                 15:28:20.896 DEBUG   * Python => "py"                                                                                   15:28:20.897 DEBUG   * XML => "xml"                                                                                     15:28:20.899 DEBUG   * Terraform => "terraform"                                                                         15:28:20.900 DEBUG   * CloudFormation => "cloudformation"                                                               15:28:20.901 DEBUG   * Kubernetes => "kubernetes"                                                                       15:28:20.902 DEBUG   * Docker => "docker"                                                                               15:28:20.903 DEBUG   * AzureResourceManager => "azureresourcemanager"                                                   15:28:20.904 DEBUG   * YAML => "yaml"                                                                                   15:28:20.905 DEBUG   * JSON => "json"                                                                                   15:28:20.905 DEBUG   * Text => "text"                                                                                   15:28:20.906 DEBUG   * Secrets => "secrets"                                                                             15:28:20.907 INFO  Indexing files...                                                                                    15:28:20.908 INFO  Project configuration:                                                                               15:28:20.909 INFO  0 files indexed                                                                                      15:28:20.910 INFO  ------------- Run sensors on module MVC2                                                             15:28:20.981 INFO  Load metrics repository                                                                              15:28:20.983 DEBUG --> GET http://localhost:9000/api/metrics/search?ps=500&p=1                                          15:28:21.002 DEBUG <-- 200 http://localhost:9000/api/metrics/search?ps=500&p=1 (18ms, unknown-length body)              15:28:21.015 INFO  Load metrics repository (done) | time=35ms                                                           15:28:21.963 DEBUG 'Import external issues report' skipped because one of the required properties is missing            15:28:21.965 DEBUG 'Python Sensor' skipped because there is no related file in current project                          15:28:21.966 DEBUG 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project   15:28:21.967 DEBUG 'PythonXUnitSensor' skipped because there is no related file in current project                      15:28:21.968 DEBUG 'Import of Pylint issues' skipped because there is no related file in current project                15:28:21.969 DEBUG 'Import of Bandit issues' skipped because there is no related file in current project                15:28:21.970 DEBUG 'Import of Flake8 issues' skipped because there is no related file in current project                15:28:21.971 DEBUG 'Import of Mypy issues' skipped because there is no related file in current project                  15:28:21.972 DEBUG 'Import of Ruff issues' skipped because there is no related file in current project                  15:28:21.973 DEBUG 'XML Sensor' skipped because there is no related file in current project                             15:28:21.973 DEBUG 'IaC Terraform Sensor' skipped because there is no related file in current project                   15:28:21.974 DEBUG 'IaC CloudFormation Sensor' skipped because there is no related file in current project              15:28:21.975 DEBUG 'IaC Kubernetes Sensor' skipped because there is no related file in current project                  15:28:21.976 DEBUG 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project        15:28:21.977 DEBUG 'Generic Test Executions Report' skipped because one of the required properties is missing           15:28:21.979 DEBUG Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor -> TextAndSecretsSensor                                                                                                                      15:28:21.979 INFO  Sensor JaCoCo XML Report Importer [jacoco]                                                           15:28:21.981 INFO  'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml                                15:28:21.984 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer           15:28:21.984 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms                                         15:28:21.985 INFO  Sensor Java Config Sensor [iac]                                                                      15:28:21.997 INFO  0 source files to be analyzed                                                                        15:28:22.033 INFO  0/0 source files have been analyzed                                                                  15:28:22.033 INFO  Sensor Java Config Sensor [iac] (done) | time=51ms                                                   15:28:22.035 INFO  Sensor IaC Docker Sensor [iac]                                                                       15:28:22.036 INFO  0 source files to be analyzed                                                                        15:28:22.184 INFO  0/0 source files have been analyzed                                                                  15:28:22.185 INFO  Sensor IaC Docker Sensor [iac] (done) | time=152ms                                                   15:28:22.187 INFO  Sensor TextAndSecretsSensor [text]                                                                   15:28:22.188 INFO  Available processors: 12                                                                             15:28:22.189 INFO  Using 12 threads for analysis.                                                                       15:28:22.945 INFO  The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:                                                                                  * The filename starts with "test"                                                                                       * The filename contains "test." or "tests."                                                                             * Any directory in the file path is named: "doc", "docs", "test" or "tests"                                             * Any directory in the file path has a name ending in "test" or "tests"                                                                                                                                                                       15:28:23.331 DEBUG Process [C:\Windows\System32\where.exe, $PATH:git.exe] exited with code 1                            15:28:23.333 DEBUG git.exe not found in PATH. PATH value was: C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Users\fabian.kubata\appdata\local\microsoft\windowsapps;C:\Program Files (x86)\d.velop\d3client;C:\xampp\php;C:\Users\fabian.kubata\AppData\Local\ComposerSetup\bin;C:\Users\fabian.kubata\AppData\Roaming\Composer\vendor\bin   15:28:23.338 DEBUG Not using Git CLI, `git --version` failed: Cannot run program "git": CreateProcess error=2, Das System kann die angegebene Datei nicht finden                                                                                15:28:23.341 INFO  Using JGit to retrieve untracked files                                                               15:28:23.424 WARN  Unable to retrieve git status                                                                        org.sonar.plugins.common.git.JgitSupplier$JgitInitializationException: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.                                                                                              at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:40)                                               at org.sonar.plugins.common.git.GitService.getUntrackedFilesFromJgit(GitService.java:121)                               at org.sonar.plugins.common.git.GitService.retrieveUntrackedFileNames(GitService.java:60)                               at org.sonar.plugins.common.git.GitTrackedFilePredicate.<init>(GitTrackedFilePredicate.java:37)                         at org.sonar.plugins.common.TextAndSecretsSensor.lambda$constructFilePredicate$2(TextAndSecretsSensor.java:177)         at org.sonar.plugins.common.DurationStatistics.timed(DurationStatistics.java:78)                                        at org.sonar.plugins.common.TextAndSecretsSensor.constructFilePredicate(TextAndSecretsSensor.java:176)                  at org.sonar.plugins.common.TextAndSecretsSensor.execute(TextAndSecretsSensor.java:116)                                 at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)                                at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)                                at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)                                at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)                     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                  at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                          at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)                          at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)               at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)                  at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                  at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                          at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)                     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                  at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                          at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)                       at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)                  at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)                          at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:149)                                       at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:66)                                                     at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:52)                                            Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.                                  at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:638)                   at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:602)                                     at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)                                     at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:37)                                               ... 27 common frames omitted                                                                                                                                                                                                            15:28:23.426 DEBUG Unable to retrieve git status                                                                        15:28:23.432 WARN  Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"                                                              15:28:23.434 DEBUG There are no files to be analyzed                                                                    15:28:23.435 INFO  Sensor TextAndSecretsSensor [text] (done) | time=1240ms                                              15:28:23.435 INFO  ------------- Run sensors on project                                                                 15:28:23.489 DEBUG 'Generic Coverage Report' skipped because one of the required properties is missing                  15:28:23.490 DEBUG 'Import external issues report from SARIF file.' skipped because one of the required properties is missing                                                                                                                   15:28:23.492 DEBUG 'Java CPD Block Indexer' skipped because there is no related file in current project                 15:28:23.493 DEBUG Sensors : Zero Coverage Sensor                                                                       15:28:23.493 INFO  Sensor Zero Coverage Sensor                                                                          15:28:23.494 INFO  Sensor Zero Coverage Sensor (done) | time=0ms                                                        15:28:23.495 INFO  SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.                                                                                                            15:28:23.496 INFO  CPD Executor Calculating CPD for 0 files                                                             15:28:23.498 INFO  CPD Executor CPD calculation finished (done) | time=0ms                                              15:28:23.690 INFO  Analysis report generated in 164ms, dir size=292.9 kB                                                15:28:23.741 INFO  Analysis report compressed in 48ms, zip size=28.7 kB                                                 15:28:23.742 INFO  Analysis report generated in C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork\scanner-report                                   15:28:23.744 DEBUG Upload report                                                                                        15:28:23.750 DEBUG --> POST http://localhost:9000/api/ce/submit?projectKey=MVC2 (28960-byte body)                       15:28:23.822 DEBUG <-- 200 http://localhost:9000/api/ce/submit?projectKey=MVC2 (71ms, 76-byte body)                     15:28:23.831 INFO  Analysis report uploaded in 88ms                                                                     15:28:23.835 DEBUG Report metadata written to C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork\report-task.txt                                    15:28:23.835 INFO  ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=MVC2            15:28:23.836 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report                                                                                                       15:28:23.837 INFO  More about the report processing at http://localhost:9000/api/ce/task?id=97c76966-bba2-4d1d-b76f-41d1d9a2e0a3                                                                                                                15:28:23.841 DEBUG Post-jobs :                                                                                          15:28:23.853 INFO  Analysis total time: 30.239 s                                                                        15:28:23.855 INFO  SonarScanner Engine completed successfully                                                           15:28:23.871 DEBUG Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$335/0x000001d65e265bc8@27e32fe4 during JVM shutdown                                                                                                             15:28:23.938 INFO  EXECUTION SUCCESS                                                                                    15:28:23.940 INFO  Total time: 36.577s                    

Hey there.

Please post logs in a more readable format (like shown above in my example).

I needed to add an h to the links, so i could upload it here. Beacause there is an upload lock for hyperlinks in the editor here.

Thats the whole output:

C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin>sonar-scanner.bat -D"sonar.projectKey=MVC2" -D"sonar.sources=C:\xampp\htdocs\MVC\src" -D"sonar.host.url=http://localhost:9000" -D"sonar.token=sqp_64992d558408ef5a2189cac9f0aea94098f0253d" -X                                        
15:27:47.368 INFO  Scanner configuration file: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\..\conf\sonar-scanner.properties                               
15:27:47.378 INFO  Project root configuration file: NONE                                                                
15:27:47.410 INFO  SonarScanner CLI 6.1.0.4477                                                                          
15:27:47.419 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)                                                               
15:27:47.421 INFO  Windows 10 10.0 amd64                                                                                
15:27:47.441 DEBUG Scanner max available memory: 3 GB                                                                   
15:27:47.468 DEBUG Create: C:\Users\fabian.kubata\.sonar\cache                                                          
15:27:47.470 INFO  User cache: C:\Users\fabian.kubata\.sonar\cache                                                      
15:27:47.471 DEBUG Create: C:\Users\fabian.kubata\.sonar\cache\_tmp                                                     
15:27:47.927 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [56] entries                          
15:27:47.929 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]                                      
15:27:48.083 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [56] entries              
15:27:48.301 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [10] entries                            
15:27:48.375 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [10] entries                
15:27:48.377 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]                                        
15:27:48.380 DEBUG Loaded [132] system trusted certificates                                                             
15:27:48.923 DEBUG --> GET hhttp://localhost:9000/api/v2/analysis/version                                                
15:27:49.098 DEBUG <-- 200 hhttp://localhost:9000/api/v2/analysis/version (173ms, 12-byte body)                          
15:27:49.102 INFO  JRE provisioning: os[windows], arch[amd64]                                                           
15:27:49.106 DEBUG --> GET hhttp://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64                             
15:27:49.158 DEBUG <-- 200 hhttp://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64 (52ms, unknown-length body) 
15:27:49.252 DEBUG Executing: C:\Users\fabian.kubata\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe --version              
15:27:49.640 DEBUG openjdk 17.0.11 2024-04-16                                                                           
15:27:49.641 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)                                      
15:27:49.643 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)                    
15:27:49.672 DEBUG --> GET hhttp://localhost:9000/api/v2/analysis/engine                                                 
15:27:49.995 DEBUG <-- 200 hhttp://localhost:9000/api/v2/analysis/engine (321ms, unknown-length body)                    
15:27:49.999 INFO  Communicating with SonarQube Server 10.6.0.92116                                                     
15:27:50.001 DEBUG Work directory: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                               
15:27:50.039 DEBUG Executing: C:\Users\fabian.kubata\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe -jar C:\Users\fabian.kubata\.sonar\cache\191cc587f529b8a92dd04236eaf02b270bf11ff717cb4ab178952e914e071bff\scanner-developer-10.6.0.92116-all.jar                                                                                                                       
15:27:51.029 INFO  Starting SonarScanner Engine...                                                                     
 15:27:51.030 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)                                                               
15:27:51.066 DEBUG JVM max available memory: 3 GB                                                                      
15:27:51.455 DEBUG Developer 10.6.0.92116                                                                               
15:27:51.706 DEBUG Sonar User Home: C:\Users\fabian.kubata\.sonar                                                       
15:27:52.104 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [56] entries                          
15:27:52.107 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]                                      
15:27:52.259 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [56] entries              
15:27:52.369 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [10] entries                            
15:27:52.444 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [10] entries                
15:27:52.445 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]                                        
15:27:52.471 DEBUG Loaded [132] system trusted certificates                                                             
15:27:53.027 INFO  Load global settings                                                                                 
15:27:53.059 DEBUG --> GET hhttp://localhost:9000/api/settings/values.protobuf                                           
15:27:53.228 DEBUG <-- 200 hhttp://localhost:9000/api/settings/values.protobuf (169ms, 7833-byte body)                   
15:27:53.303 INFO  Load global settings (done) | time=275ms                                                             
15:27:53.308 INFO  Server id: 147B411E-AZE2cQ3gTdpjrQE07I5o                                                             
15:27:53.312 DEBUG User cache: C:\Users\fabian.kubata\.sonar\cache                                                      
15:27:53.324 INFO  Loading required plugins                                                                             
15:27:53.325 INFO  Load plugins index                                                                                   
15:27:53.326 DEBUG --> GET hhttp://localhost:9000/api/plugins/installed                                                  
15:27:53.387 DEBUG <-- 200 hhttp://localhost:9000/api/plugins/installed (60ms, unknown-length body)                      
15:27:53.397 INFO  Load plugins index (done) | time=73ms                                                                
15:27:53.399 INFO  Load/download plugins                                                                                
15:27:53.504 INFO  Load/download plugins (done) | time=106ms                                                            
15:27:53.505 DEBUG Plugins not loaded because they are optional: [abap, csharp, cpp, cfamilydependencies, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, plsql, ruby, sonarscala, swift, tsql, vbnet, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]                                                                                                   
15:27:53.539 DEBUG Plugins loaded:                                                                                      
15:27:53.540 DEBUG   * Python Code Quality and Security 4.19.0.15616 (python)                                           
15:27:53.543 DEBUG   * Clean as You Code 2.3.0.1782 (cayc)                                                              
15:27:53.543 DEBUG   * XML Code Quality and Security 2.10.0.4108 (xml)                                                  
15:27:53.544 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)                                                          
15:27:53.545 DEBUG   * IaC Code Quality and Security 1.31.0.10579 (iac)                                                 
15:27:53.546 DEBUG   * Text Code Quality and Security 2.12.1.2905 (text)                                               
 15:27:53.614 INFO  Loaded core extensions: developer-scanner                                                            
15:27:53.648 DEBUG Installed core extension: developer-scanner                                                          
15:27:53.916 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$335/0x000001d65e265bc8@27e32fe4 with shutdown hook                                                                                                             
15:27:54.251 INFO  Process project properties                                                                           
15:27:54.272 INFO  Process project properties (done) | time=21ms                                                        
15:27:54.310 INFO  Project key: MVC2                                                                                    
15:27:54.311 INFO  Base dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin                                                                                  
15:27:54.313 INFO  Working dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                                  
15:27:54.314 DEBUG Project global encoding: windows-1252, default locale: de_DE                                         
15:27:54.325 INFO  Load project settings for component key: 'MVC2'                                                      
15:27:54.337 DEBUG --> GET hhttp://localhost:9000/api/settings/values.protobuf?component=MVC2                            
15:27:54.403 DEBUG <-- 200 hhttp://localhost:9000/api/settings/values.protobuf?component=MVC2 (65ms, 7841-byte body)     
15:27:54.406 INFO  Load project settings for component key: 'MVC2' (done) | time=80ms                                   
15:27:54.480 INFO  Load project branches                                                                                
15:27:54.481 DEBUG --> GET hhttp://localhost:9000/api/project_branches/list?project=MVC2                                 
15:27:54.525 DEBUG <-- 200 hhttp://localhost:9000/api/project_branches/list?project=MVC2 (43ms, unknown-length body)     
15:27:54.543 INFO  Load project branches (done) | time=63ms                                                             
15:27:54.543 INFO  Load branch configuration                                                                            
15:27:54.546 INFO  Load branch configuration (done) | time=2ms                                                          
15:27:54.566 DEBUG Creating module hierarchy                                                                            
15:27:54.567 DEBUG   Init module 'MVC2'                                                                                 
15:27:54.570 DEBUG     Base dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin                                                                              
15:27:54.571 DEBUG     Working dir: C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork                                                              
15:27:54.572 DEBUG     Module global encoding: windows-1252, default locale: de_DE                                      
15:27:54.585 INFO  Load quality profiles                                                                                
15:27:54.587 DEBUG --> GET hhttp://localhost:9000/api/qualityprofiles/search.protobuf?project=MVC2                       
15:27:55.095 DEBUG <-- 200 hhttp://localhost:9000/api/qualityprofiles/search.protobuf?project=MVC2 (507ms, 3722-byte body)                                                                                                                       
15:27:55.139 INFO  Load quality profiles (done) | time=554ms                                                            
15:27:55.212 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.                                                                         
15:27:55.221 INFO  Load active rules                                                                                    15:27:55.226 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=0603a4cf-c7ea-4fcc-8998-078a532d0232&ps=500&p=1                                                                                                               
15:27:55.933 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=0603a4cf-c7ea-4fcc-8998-078a532d0232&ps=500&p=1 (706ms, 4465-byte body)                                                                                      
 15:27:56.174 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=c7ba44b4-6e5b-4edb-8289-7bdaa3d07557&ps=500&p=1                                                                                                               
15:27:56.542 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=c7ba44b4-6e5b-4edb-8289-7bdaa3d07557&ps=500&p=1 (375ms, unknown-length body)                                                                                  
15:27:56.558 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=8ce0ef62-86fb-40fb-b8df-7bf3db7983c7&ps=500&p=1                                                                                                               
15:27:56.779 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=8ce0ef62-86fb-40fb-b8df-7bf3db7983c7&ps=500&p=1 (221ms, unknown-length body)                                                                                  
15:27:56.789 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7be3e561-acea-4978-9a7f-31f213ca9e40&ps=500&p=1                                                                                                               
15:27:56.804 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7be3e561-acea-4978-9a7f-31f213ca9e40&ps=500&p=1 (15ms, 12-byte body)                                                                                          
15:27:56.806 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=db484fc5-7d0b-44bd-97c8-827a782466b0&ps=500&p=1                                                                                                               
15:27:59.420 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=db484fc5-7d0b-44bd-97c8-827a782466b0&ps=500&p=1 (2613ms, unknown-length body)                                                                                 
15:27:59.503 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=cf935bc2-ca24-4a72-afac-d804396aa85a&ps=500&p=1                                                                                                               
15:28:01.770 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=cf935bc2-ca24-4a72-afac-d804396aa85a&ps=500&p=1 (2267ms, unknown-length body)                                                                                 
15:28:01.810 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d8595cda-58f0-4d15-8f1e-34b3d6543dd3&ps=500&p=1                                                                                                               
15:28:02.056 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d8595cda-58f0-4d15-8f1e-34b3d6543dd3&ps=500&p=1 (245ms, unknown-length body)                                                                                  
15:28:02.062 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e810ef78-404b-4de2-86f8-31eb2dee955c&ps=500&p=1                                                                                                               
15:28:02.703 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e810ef78-404b-4de2-86f8-31eb2dee955c&ps=500&p=1 (639ms, unknown-length body)                                                                                  
15:28:02.717 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=1                                                                                                               
15:28:05.930 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=1 (3212ms, unknown-length body)                                                                                 
15:28:05.996 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=2                                                                                                               
15:28:06.288 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6fce5d-9f2f-4aa5-be54-86fd95ab4da4&ps=500&p=2 (292ms, unknown-length body)                                                                                  
15:28:06.294 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d28dddf2-cf85-48f0-bb8b-dc3eaee7779f&ps=500&p=1                                                                                                               
15:28:06.762 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d28dddf2-cf85-48f0-bb8b-dc3eaee7779f&ps=500&p=1 (467ms, unknown-length body)                                                                                  
15:28:06.767 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=9dbd442b-28df-41be-b4f8-f84d418f1b9a&ps=500&p=1                                                                                                               
15:28:06.969 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=9dbd442b-28df-41be-b4f8-f84d418f1b9a&ps=500&p=1 (201ms, unknown-length body)                                                                                  
15:28:06.973 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=db9390c8-11a6-4090-ad15-1202161fa68b&ps=500&p=1                                                                                                               
15:28:07.122 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=db9390c8-11a6-4090-ad15-1202161fa68b&ps=500&p=1 (148ms, 7249-byte body)                                                                                       
15:28:07.126 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=ba05c59b-244b-4155-8421-6a626fa713ef&ps=500&p=1                                                                                                               
15:28:07.139 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=ba05c59b-244b-4155-8421-6a626fa713ef&ps=500&p=1 (12ms, 12-byte body)                                                                                          
15:28:07.140 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=ce0de9c9-0e11-4abe-a234-7e6a7387a1af&ps=500&p=1                                                                                                               
15:28:07.169 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=ce0de9c9-0e11-4abe-a234-7e6a7387a1af&ps=500&p=1 (29ms, 358-byte body)                                                                                         
15:28:07.170 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=89443236-5c4a-4df7-8fdb-bb1eee363ad3&ps=500&p=1                                                                                                               
15:28:08.012 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=89443236-5c4a-4df7-8fdb-bb1eee363ad3&ps=500&p=1 (841ms, unknown-length body)                                                                                  
15:28:08.038 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=1ab512ab-2683-4467-9166-d7e2a1a2c43f&ps=500&p=1                                                                                                               
15:28:08.246 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=1ab512ab-2683-4467-9166-d7e2a1a2c43f&ps=500&p=1 (208ms, unknown-length body)                                                                                  
15:28:08.251 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d199b529-2e54-47b8-ad30-a180ee67c437&ps=500&p=1                                                                                                               
15:28:08.532 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d199b529-2e54-47b8-ad30-a180ee67c437&ps=500&p=1 (281ms, unknown-length body)                                                                                  
15:28:08.607 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d1e2ce03-a3ac-4798-b651-6910cd84488d&ps=500&p=1                                                                                                               
15:28:08.622 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=d1e2ce03-a3ac-4798-b651-6910cd84488d&ps=500&p=1 (16ms, 12-byte body)                                                                                          
15:28:08.623 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=31f02c4b-c7fa-4396-9353-1c9fe0df9c70&ps=500&p=1                                                                                                               
15:28:10.930 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=31f02c4b-c7fa-4396-9353-1c9fe0df9c70&ps=500&p=1 (2306ms, unknown-length body)                                                                                 
15:28:10.954 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7c8c5726-7621-4643-9d95-e74571148609&ps=500&p=1                                                                                                               
15:28:12.057 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7c8c5726-7621-4643-9d95-e74571148609&ps=500&p=1 (1101ms, unknown-length body)                                                                                 
15:28:12.072 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=b6aa1d78-1b08-4760-8180-f4454443c0bf&ps=500&p=1                                                                                                               
15:28:12.182 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=b6aa1d78-1b08-4760-8180-f4454443c0bf&ps=500&p=1 (110ms, 7691-byte body)                                                                                       
15:28:12.185 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=26190891-2141-4eb4-a7e1-0621a0bbee62&ps=500&p=1                                                                                                               
15:28:12.802 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=26190891-2141-4eb4-a7e1-0621a0bbee62&ps=500&p=1 (616ms, unknown-length body)                                                                                  
15:28:12.817 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e59fea71-882f-4e4b-b355-fc00e32ac71c&ps=500&p=1                                                                                                               
15:28:13.047 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e59fea71-882f-4e4b-b355-fc00e32ac71c&ps=500&p=1 (230ms, unknown-length body)                                                                                  
15:28:13.053 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=a19b38fe-5245-4a38-94b8-71086f6dfed0&ps=500&p=1                                                                                                               
15:28:13.514 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=a19b38fe-5245-4a38-94b8-71086f6dfed0&ps=500&p=1 (461ms, unknown-length body)                                                                                  
15:28:13.518 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=2120aa00-18d9-451f-a4e7-fe864e9b89c2&ps=500&p=1                                                                                                               
15:28:13.670 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=2120aa00-18d9-451f-a4e7-fe864e9b89c2&ps=500&p=1 (151ms, unknown-length body)                                                                                  
15:28:13.673 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=1c583a90-ff7b-43ce-9c18-b730ddd08a58&ps=500&p=1                                                                                                               
15:28:15.647 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=1c583a90-ff7b-43ce-9c18-b730ddd08a58&ps=500&p=1 (1974ms, unknown-length body)                                                                                 
15:28:15.663 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=a49eeb15-4a88-4b77-8f46-0e7275f88e73&ps=500&p=1                                                                                                               
15:28:16.611 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=a49eeb15-4a88-4b77-8f46-0e7275f88e73&ps=500&p=1 (946ms, unknown-length body)                                                                                  
15:28:16.622 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e0c8fa3a-0e1a-4ba9-8c23-c9232a1795d5&ps=500&p=1                                                                                                               
15:28:17.013 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=e0c8fa3a-0e1a-4ba9-8c23-c9232a1795d5&ps=500&p=1 (391ms, unknown-length body)                                                                                  
15:28:17.017 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6d0b85-5962-4657-b2c2-32de5f14ce49&ps=500&p=1                                                                                                               
15:28:17.326 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=6a6d0b85-5962-4657-b2c2-32de5f14ce49&ps=500&p=1 (308ms, unknown-length body)                                                                                  
15:28:17.328 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7de077f9-e087-4acb-af93-8b600b644fa8&ps=500&p=1                                                                                                               
15:28:17.628 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=7de077f9-e087-4acb-af93-8b600b644fa8&ps=500&p=1 (300ms, unknown-length body)                                                                                  
15:28:17.633 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=c2ef0abe-94b9-4290-af55-84bd59208ee9&ps=500&p=1                                                                                                               
15:28:18.752 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=c2ef0abe-94b9-4290-af55-84bd59208ee9&ps=500&p=1 (1118ms, unknown-length body)                                                                                 
15:28:18.763 DEBUG --> GET hhttp://localhost:9000/api/rules/list.protobuf?qprofile=9a10e6c0-c2fe-4960-a0e5-3b58af9942fe&ps=500&p=1                                                                                                               
15:28:20.524 DEBUG <-- 200 hhttp://localhost:9000/api/rules/list.protobuf?qprofile=9a10e6c0-c2fe-4960-a0e5-3b58af9942fe&ps=500&p=1 (1761ms, unknown-length body)                                                                                 
15:28:20.572 INFO  Load active rules (done) | time=25351ms                                                              
15:28:20.579 INFO  Load analysis cache                                                                                  
15:28:20.580 DEBUG --> GET hhttp://localhost:9000/api/analysis_cache/get?project=MVC2                                    
15:28:20.598 DEBUG <-- 404 hhttp://localhost:9000/api/analysis_cache/get?project=MVC2 (17ms, unknown-length body)        
15:28:20.600 INFO  Load analysis cache (404) | time=21ms                                                                
15:28:20.627 DEBUG --> GET hhttp://localhost:9000/api/languages/list                                                     
15:28:20.634 DEBUG <-- 200 hhttp://localhost:9000/api/languages/list (7ms, unknown-length body)                          
15:28:20.677 DEBUG Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes :          
15:28:20.682 DEBUG Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass                                                                                                         
15:28:20.683 DEBUG Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala         
15:28:20.683 DEBUG Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx                                                                                                                   
15:28:20.684 DEBUG Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue                                                                                              
15:28:20.685 DEBUG Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py              
15:28:20.686 DEBUG Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile                                                                                                            
15:28:20.687 DEBUG Declared patterns of language PL/SQL were converted to sonar.lang.patterns.plsql : **/*.sql,**/*.pks,**/*.pkb                                                                                                                
15:28:20.688 DEBUG Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav   
15:28:20.689 DEBUG Declared patterns of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig                  
15:28:20.690 DEBUG Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as              
15:28:20.691 DEBUG Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config                                                                                                         
15:28:20.692 DEBUG Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json            
15:28:20.693 DEBUG Declared patterns of language Text were converted to sonar.lang.patterns.text :                      
15:28:20.698 DEBUG Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb           
15:28:20.699 DEBUG Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation :  
15:28:20.700 DEBUG Declared patterns of language Swift were converted to sonar.lang.patterns.swift : **/*.swift         
15:28:20.701 DEBUG Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml   
15:28:20.702 DEBUG Declared patterns of language C++ were converted to sonar.lang.patterns.cpp : **/*.cc,**/*.cpp,**/*.cxx,**/*.c++,**/*.hh,**/*.hpp,**/*.hxx,**/*.h++,**/*.ipp                                                                 
15:28:20.703 DEBUG Declared patterns of language C were converted to sonar.lang.patterns.c : **/*.c,**/*.h              
15:28:20.704 DEBUG Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go                  
15:28:20.705 DEBUG Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts 
15:28:20.706 DEBUG Declared patterns of language T-SQL were converted to sonar.lang.patterns.tsql : **/*.tsql           
15:28:20.706 DEBUG Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets :                
15:28:20.707 DEBUG Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb              
15:28:20.708 DEBUG Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor       
15:28:20.712 DEBUG Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc                                                                                     
15:28:20.713 DEBUG Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf    
15:28:20.714 DEBUG Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep                                                                                                   
15:28:20.715 DEBUG Declared patterns of language ABAP were converted to sonar.lang.patterns.abap : **/*.abap,**/*.ab4,**/*.flow,**/*.asprog                                                                                                     
15:28:20.716 DEBUG Declared patterns of language Objective-C were converted to sonar.lang.patterns.objc : **/*.m        15:28:20.717 DEBUG Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts                                                                                                       
15:28:20.721 INFO  Preprocessing files...                                                                               
15:28:20.733 WARN  File 'C:\xampp\htdocs\MVC\src\DataBaseConnection.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                          
15:28:20.735 WARN  File 'C:\xampp\htdocs\MVC\src\ProductModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                
15:28:20.736 WARN  File 'C:\xampp\htdocs\MVC\src\TestDispatcher.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                              
15:28:20.737 WARN  File 'C:\xampp\htdocs\MVC\src\TestUserController.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                          
15:28:20.738 WARN  File 'C:\xampp\htdocs\MVC\src\TestUserModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                               
15:28:20.740 WARN  File 'C:\xampp\htdocs\MVC\src\TestView.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                    
15:28:20.741 WARN  File 'C:\xampp\htdocs\MVC\src\UserController.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                              
15:28:20.744 WARN  File 'C:\xampp\htdocs\MVC\src\UserDispatcher.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                             
15:28:20.746 WARN  File 'C:\xampp\htdocs\MVC\src\UserModel.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                   
15:28:20.747 WARN  File 'C:\xampp\htdocs\MVC\src\UserView.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                    
15:28:20.748 WARN  File 'C:\xampp\htdocs\MVC\src\View.css' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                   
15:28:20.749 WARN  File 'C:\xampp\htdocs\MVC\src\View.php' is ignored. It is not located in project basedir 'C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin'.                                                                                                                        
15:28:20.754 INFO  0 languages detected in 0 preprocessed files                                                         
15:28:20.757 INFO  Loading plugins for detected languages                                                               
15:28:20.760 DEBUG Detected languages: []                                                                               
15:28:20.761 INFO  Load/download plugins                                                                                
15:28:20.762 INFO  Load/download plugins (done) | time=0ms                                                              
15:28:20.763 DEBUG Optional language-specific plugins not loaded: [abap, csharp, cpp, cfamilydependencies, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, plsql, ruby, sonarscala, swift, tsql, vbnet, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]                                                                                                 
15:28:20.764 DEBUG No plugins loaded                                                                                    
15:28:20.838 INFO  Load project repositories                                                                            
15:28:20.838 DEBUG --> GET hhttp://localhost:9000/batch/project.protobuf?key=MVC2                                        
15:28:20.869 DEBUG <-- 200 hhttp://localhost:9000/batch/project.protobuf?key=MVC2 (31ms, 0-byte body)                    
15:28:20.879 INFO  Load project repositories (done) | time=42ms                                                         
15:28:20.894 DEBUG Available languages:                                                                                 
15:28:20.896 DEBUG   * Python => "py"                                                                                   
15:28:20.897 DEBUG   * XML => "xml"                                                                                     
15:28:20.899 DEBUG   * Terraform => "terraform"                                                                         
15:28:20.900 DEBUG   * CloudFormation => "cloudformation"                                                               
15:28:20.901 DEBUG   * Kubernetes => "kubernetes"                                                                       
15:28:20.902 DEBUG   * Docker => "docker"                                                                               
15:28:20.903 DEBUG   * AzureResourceManager => "azureresourcemanager"                                                   
15:28:20.904 DEBUG   * YAML => "yaml"                                                                                   
15:28:20.905 DEBUG   * JSON => "json"                                                                                   
15:28:20.905 DEBUG   * Text => "text"                                                                                   
15:28:20.906 DEBUG   * Secrets => "secrets"                                                                             
15:28:20.907 INFO  Indexing files...                                                                                    
15:28:20.908 INFO  Project configuration:                                                                               
15:28:20.909 INFO  0 files indexed                                                                                      
15:28:20.910 INFO  ------------- Run sensors on module MVC2                                                             
15:28:20.981 INFO  Load metrics repository                                                                              
15:28:20.983 DEBUG --> GET hhttp://localhost:9000/api/metrics/search?ps=500&p=1                                          
15:28:21.002 DEBUG <-- 200 hhttp://localhost:9000/api/metrics/search?ps=500&p=1 (18ms, unknown-length body)              
15:28:21.015 INFO  Load metrics repository (done) | time=35ms                                                           
15:28:21.963 DEBUG 'Import external issues report' skipped because one of the required properties is missing            
15:28:21.965 DEBUG 'Python Sensor' skipped because there is no related file in current project                          
15:28:21.966 DEBUG 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project   
15:28:21.967 DEBUG 'PythonXUnitSensor' skipped because there is no related file in current project                      
15:28:21.968 DEBUG 'Import of Pylint issues' skipped because there is no related file in current project                
15:28:21.969 DEBUG 'Import of Bandit issues' skipped because there is no related file in current project                
15:28:21.970 DEBUG 'Import of Flake8 issues' skipped because there is no related file in current project                
15:28:21.971 DEBUG 'Import of Mypy issues' skipped because there is no related file in current project                  
15:28:21.972 DEBUG 'Import of Ruff issues' skipped because there is no related file in current project                  
15:28:21.973 DEBUG 'XML Sensor' skipped because there is no related file in current project                             
15:28:21.973 DEBUG 'IaC Terraform Sensor' skipped because there is no related file in current project                   
15:28:21.974 DEBUG 'IaC CloudFormation Sensor' skipped because there is no related file in current project              
15:28:21.975 DEBUG 'IaC Kubernetes Sensor' skipped because there is no related file in current project                  
15:28:21.976 DEBUG 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project        
15:28:21.977 DEBUG 'Generic Test Executions Report' skipped because one of the required properties is missing           
15:28:21.979 DEBUG Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor -> TextAndSecretsSensor                                                                                                                      
15:28:21.979 INFO  Sensor JaCoCo XML Report Importer [jacoco]                                                           
15:28:21.981 INFO  'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml                                
15:28:21.984 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer           
15:28:21.984 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms                                         
15:28:21.985 INFO  Sensor Java Config Sensor [iac]                                                                      
15:28:21.997 INFO  0 source files to be analyzed                                                                        
15:28:22.033 INFO  0/0 source files have been analyzed                                                                  
15:28:22.033 INFO  Sensor Java Config Sensor [iac] (done) | time=51ms                                                   
15:28:22.035 INFO  Sensor IaC Docker Sensor [iac]                                                                       
15:28:22.036 INFO  0 source files to be analyzed                                                                        
15:28:22.184 INFO  0/0 source files have been analyzed                                                                  
15:28:22.185 INFO  Sensor IaC Docker Sensor [iac] (done) | time=152ms                                                   
15:28:22.187 INFO  Sensor TextAndSecretsSensor [text]                                                                   
15:28:22.188 INFO  Available processors: 12                                                                             
15:28:22.189 INFO  Using 12 threads for analysis.                                                                       
15:28:22.945 INFO  The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:                                                                                 
 * The filename starts with "test"                                                                                       
* The filename contains "test." or "tests."                                                                             
* Any directory in the file path is named: "doc", "docs", "test" or "tests"                                             
* Any directory in the file path has a name ending in "test" or "tests"                                                                                                                                                                       
15:28:23.331 DEBUG Process [C:\Windows\System32\where.exe, $PATH:git.exe] exited with code 1                            
15:28:23.333 DEBUG git.exe not found in PATH. PATH value was: C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Users\fabian.kubata\appdata\local\microsoft\windowsapps;C:\Program Files (x86)\d.velop\d3client;C:\xampp\php;C:\Users\fabian.kubata\AppData\Local\ComposerSetup\bin;C:\Users\fabian.kubata\AppData\Roaming\Composer\vendor\bin   
15:28:23.338 DEBUG Not using Git CLI, `git --version` failed: Cannot run program "git": CreateProcess error=2, Das System kann die angegebene Datei nicht finden                                                                                
15:28:23.341 INFO  Using JGit to retrieve untracked files                                                               
15:28:23.424 WARN  Unable to retrieve git status org.sonar.plugins.common.git.JgitSupplier$JgitInitializationException: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.                                                                                              
			at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:40)                                               
			at org.sonar.plugins.common.git.GitService.getUntrackedFilesFromJgit(GitService.java:121)                               
			at org.sonar.plugins.common.git.GitService.retrieveUntrackedFileNames(GitService.java:60)                               
			at org.sonar.plugins.common.git.GitTrackedFilePredicate.<init>(GitTrackedFilePredicate.java:37)                        
 			at org.sonar.plugins.common.TextAndSecretsSensor.lambda$constructFilePredicate$2(TextAndSecretsSensor.java:177)         
			at org.sonar.plugins.common.DurationStatistics.timed(DurationStatistics.java:78) 
                   	at org.sonar.plugins.common.TextAndSecretsSensor.constructFilePredicate(TextAndSecretsSensor.java:176)
                  	at org.sonar.plugins.common.TextAndSecretsSensor.execute(TextAndSecretsSensor.java:116)
                     	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
                   	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
               	        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
       	                at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
                     	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
                  	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
                        at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)
                        at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)
               		at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)
                  	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
                  	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
                        at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351) 
                    	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
                  	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
                       	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
                       	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
                  	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
                        at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:149)
                        at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:66)
                        at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:52)
                 Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
                        at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:638) 
                  	at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:602)
                        at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)
                        at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:37)                                               
			... 27 common frames omitted                                                                                                                                                                                                            
15:28:23.426 DEBUG Unable to retrieve git status                                                                        
15:28:23.432 WARN  Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"                                                              
15:28:23.434 DEBUG There are no files to be analyzed                                                                    
15:28:23.435 INFO  Sensor TextAndSecretsSensor [text] (done) | time=1240ms                                              
15:28:23.435 INFO  ------------- Run sensors on project                                                                 
15:28:23.489 DEBUG 'Generic Coverage Report' skipped because one of the required properties is missing                  
15:28:23.490 DEBUG 'Import external issues report from SARIF file.' skipped because one of the required properties is missing                                                                                                                   
15:28:23.492 DEBUG 'Java CPD Block Indexer' skipped because there is no related file in current project                 
15:28:23.493 DEBUG Sensors : Zero Coverage Sensor                                                                       
15:28:23.493 INFO  Sensor Zero Coverage Sensor                                                                          
15:28:23.494 INFO  Sensor Zero Coverage Sensor (done) | time=0ms                                                        
15:28:23.495 INFO  SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.                                                                                                            
15:28:23.496 INFO  CPD Executor Calculating CPD for 0 files                                                             
15:28:23.498 INFO  CPD Executor CPD calculation finished (done) | time=0ms                                              
15:28:23.690 INFO  Analysis report generated in 164ms, dir size=292.9 kB                                                
15:28:23.741 INFO  Analysis report compressed in 48ms, zip size=28.7 kB                                                 
15:28:23.742 INFO  Analysis report generated in C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork\scanner-report                                   
15:28:23.744 DEBUG Upload report                                                                                        
15:28:23.750 DEBUG --> POST hhttp://localhost:9000/api/ce/submit?projectKey=MVC2 (28960-byte body)                       
15:28:23.822 DEBUG <-- 200 hhttp://localhost:9000/api/ce/submit?projectKey=MVC2 (71ms, 76-byte body)                     
15:28:23.831 INFO  Analysis report uploaded in 88ms                                                                     
15:28:23.835 DEBUG Report metadata written to C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin\.scannerwork\report-task.txt                                    
15:28:23.835 INFO  ANALYSIS SUCCESSFUL, you can find the results at: hhttp://localhost:9000/dashboard?id=MVC2            
15:28:23.836 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report                                                                                                       
15:28:23.837 INFO  More about the report processing at hhttp://localhost:9000/api/ce/task?id=97c76966-bba2-4d1d-b76f-41d1d9a2e0a3                                                                                                                
15:28:23.841 DEBUG Post-jobs :                                                                                          
15:28:23.853 INFO  Analysis total time: 30.239 s                                                                        
15:28:23.855 INFO  SonarScanner Engine completed successfully                                                           
15:28:23.871 DEBUG Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$335/0x000001d65e265bc8@27e32fe4 during JVM shutdown                                                                                                          
15:28:23.938 INFO  EXECUTION SUCCESS                                                                                    
15:28:23.940 INFO  Total time: 36.577s                                                                                                                                                                                                         
C:\Users\fabian.kubata\Desktop\Fabian\SonarQube\sonar-scanner-cli-6.1.0.4477-windows-x64\sonar-scanner-6.1.0.4477-windows-x64\bin>

It looks like you’re executing the scan from the scanner installation directory, leading to your files not being found.

Either you should add sonar-scanner.bat to your PATH so you can just execute the scanner from the folder containing your code, or you should also set sonar.projectBaseDir alongside sonar.sources to point to where your code is.

That solved my issue.
Thank your for the time and the support Colin! :smiley: