TextAndSecretsSensor & Exclusions

Hello,

I’m trying to exclude files from Text & Secrets analysis (as this is taking too much time on this large monolothic project). I’ve set sonar.text.excluded.file.suffixes=.p,.w,.cls,.i (according to the documentation), but that doesn’t seem to have any effect. Note that there’s a custom plugin handling .p, .w, .cls and .i.
How can I exclude files in this sensor ?

11:34:16.960 INFO  Sensor TextAndSecretsSensor [text]
11:34:16.960 INFO  Available processors: 16
11:34:16.960 INFO  Using 16 threads for analysis.
11:34:17.271 DEBUG Found git.exe at C:\Program Files\Git\cmd\git.exe
11:34:17.299 DEBUG git --version returned: git version 2.43.0.windows.1
11:34:17.302 INFO  Using git CLI to retrieve untracked files
11:34:17.344 INFO  Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git
11:34:17.359 INFO  51 source files to be analyzed
11:34:17.411 INFO  51/51 source files have been analyzed
11:34:17.412 INFO  Sensor TextAndSecretsSensor [text] (done) | time=452ms
  • SonarQube Community 10.6.0.92116
  • Sonar-scanner 6.0.0

Gilles

Hi Gilles,

Could you provide that full debug log, please?

From the start, the text/secrets detection has worked a little differently than the other, language analyzers. Since the intent with sonar.text.excluded.file.suffixes is to exclude binary files, it’s not clear to me that listing text files there is expected to work. (It’s also not clear to me that it’s not. :woman_shrugging:)

Could you also try the corollary, by using sonar.text.inclusions? As a general principle, sonar.inclusions implicitly excludes everything that’s not listed there. I think it’s worth a try here too.

 
Thx,
Ann

Here’s the debug report with sonar.text.excluded.file.suffixes=.p,.w,.cls,.i

11:18:42.941 INFO  Scanner configuration file: C:\Apps\sonar-scanner-6.0.0.4432-windows\bin\..\conf\sonar-scanner.properties
11:18:42.944 INFO  Project root configuration file: C:\Users\GillesQUERRET\projets\sonaroe-test-project\sonar-project.properties
11:18:42.954 INFO  SonarScanner CLI 6.0.0.4432
11:18:42.956 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
11:18:42.956 INFO  Windows 11 10.0 amd64
11:18:42.962 DEBUG Scanner max available memory: 7 GB
11:18:42.970 DEBUG Create: C:\Users\GillesQUERRET\.sonar\cache
11:18:42.971 INFO  User cache: C:\Users\GillesQUERRET\.sonar\cache
11:18:42.971 DEBUG Create: C:\Users\GillesQUERRET\.sonar\cache\_tmp
11:18:43.190 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [79] entries
11:18:43.190 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]
11:18:43.345 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [79] entries
11:18:43.363 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [0] entries
11:18:43.372 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries
11:18:43.373 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]
11:18:43.374 DEBUG Loaded [158] system trusted certificates
11:18:43.504 DEBUG --> GET http://localhost:9000/api/v2/analysis/version
11:18:43.599 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/version (94ms, 12-byte body)
11:18:43.600 INFO  JRE provisioning: os[windows], arch[amd64]
11:18:43.601 DEBUG --> GET http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64
11:18:43.674 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64 (72ms, unknown-length body)
11:18:43.697 DEBUG Executing: C:\Users\GillesQUERRET\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe --version
11:18:43.747 DEBUG openjdk 17.0.11 2024-04-16
11:18:43.747 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
11:18:43.747 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
11:18:43.760 DEBUG --> GET http://localhost:9000/api/v2/analysis/engine
11:18:43.834 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/engine (73ms, unknown-length body)
11:18:43.836 INFO  Communicating with SonarQube Server 10.6.0.92116
11:18:43.836 DEBUG Work directory: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:18:43.842 DEBUG Executing: C:\Users\GillesQUERRET\.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\GillesQUERRET\.sonar\cache\2df641182fdb086f2742d159a7c020a8e93583fc618666f9d2245c7f9df82d7e\sonar-scanner-engine-shaded-10.6.0.92116-all.jar
11:18:44.078 INFO  Starting SonarScanner Engine...
11:18:44.078 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
11:18:44.095 DEBUG JVM max available memory: 7 GB
11:18:44.192 DEBUG Community 10.6.0.92116
11:18:44.267 DEBUG Sonar User Home: C:\Users\GillesQUERRET\.sonar
11:18:44.489 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [79] entries
11:18:44.490 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]
11:18:44.641 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [79] entries
11:18:44.659 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [0] entries
11:18:44.670 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries
11:18:44.670 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]
11:18:44.671 DEBUG Loaded [158] system trusted certificates
11:18:44.808 INFO  Load global settings
11:18:44.818 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf
11:18:44.911 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf (93ms, unknown-length body)
11:18:44.928 INFO  Load global settings (done) | time=120ms
11:18:44.929 INFO  Server id: 147B411E-AZBp5eNDcHrD11BVLfEg
11:18:44.931 DEBUG User cache: C:\Users\GillesQUERRET\.sonar\cache
11:18:44.935 INFO  Loading required plugins
11:18:44.935 INFO  Load plugins index
11:18:44.935 DEBUG --> GET http://localhost:9000/api/plugins/installed
11:18:45.009 DEBUG <-- 200 http://localhost:9000/api/plugins/installed (72ms, unknown-length body)
11:18:45.012 INFO  Load plugins index (done) | time=76ms
11:18:45.012 INFO  Load/download plugins
11:18:45.042 INFO  Load/download plugins (done) | time=29ms
11:18:45.042 DEBUG Plugins not loaded because they are optional: [csharp, cablsecurityrules, flex, go, web, javasymbolicexecution, java, javascript, kotlin, openedge, php, rsswrules, ruby, sonarscala, vbnet]
11:18:45.052 DEBUG Plugins loaded:
11:18:45.052 DEBUG   * Python Code Quality and Security 4.19.0.15616 (python)
11:18:45.052 DEBUG   * Clean as You Code 2.3.0.1782 (cayc)
11:18:45.053 DEBUG   * XML Code Quality and Security 2.10.0.4108 (xml)
11:18:45.053 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)
11:18:45.053 DEBUG   * IaC Code Quality and Security 1.31.0.10579 (iac)
11:18:45.053 DEBUG   * Text Code Quality and Security 2.12.1.2905 (text)
11:18:45.154 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$331/0x000002055f264ec8@2c42b421 with shutdown hook
11:18:45.243 INFO  Process project properties
11:18:45.251 INFO  Process project properties (done) | time=9ms
11:18:45.323 INFO  Project key: RSSW:TestProject
11:18:45.323 INFO  Base dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project
11:18:45.324 INFO  Working dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:18:45.324 DEBUG Project global encoding: UTF-8, default locale: fr_FR
11:18:45.329 INFO  Load project settings for component key: 'RSSW:TestProject'
11:18:45.331 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf?component=RSSW%3ATestProject
11:18:45.408 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf?component=RSSW%3ATestProject (76ms, unknown-length body)
11:18:45.409 INFO  Load project settings for component key: 'RSSW:TestProject' (done) | time=79ms
11:18:45.419 DEBUG Creating module hierarchy
11:18:45.420 DEBUG   Init module 'Test project'
11:18:45.420 DEBUG     Base dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project
11:18:45.420 DEBUG     Working dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:18:45.420 DEBUG     Module global encoding: UTF-8, default locale: fr_FR
11:18:45.425 INFO  Load quality profiles
11:18:45.426 DEBUG --> GET http://localhost:9000/api/qualityprofiles/search.protobuf?project=RSSW%3ATestProject
11:18:45.530 DEBUG <-- 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=RSSW%3ATestProject (103ms, 3326-byte body)
11:18:45.542 INFO  Load quality profiles (done) | time=116ms
11:18:45.570 INFO  Load active rules
11:18:45.570 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=36507235-a1e6-489b-ade3-9d26496676f1&ps=500&p=1
11:18:45.678 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=36507235-a1e6-489b-ade3-9d26496676f1&ps=500&p=1 (107ms, 4465-byte body)
11:18:45.742 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=43ba88cf-2442-4944-9d9c-cbbbbc974b41&ps=500&p=1
11:18:45.852 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=43ba88cf-2442-4944-9d9c-cbbbbc974b41&ps=500&p=1 (110ms, unknown-length body)
11:18:45.857 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=8d126e97-118b-440c-b9f8-3490f8ef5b78&ps=500&p=1
11:18:45.970 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=8d126e97-118b-440c-b9f8-3490f8ef5b78&ps=500&p=1 (112ms, unknown-length body)
11:18:45.973 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e8a030cc-64af-435d-a75f-18d0b3857544&ps=500&p=1
11:18:46.044 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e8a030cc-64af-435d-a75f-18d0b3857544&ps=500&p=1 (71ms, 12-byte body)
11:18:46.044 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=831c405d-7342-4026-904f-fdb1ae25b89b&ps=500&p=1
11:18:46.532 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=831c405d-7342-4026-904f-fdb1ae25b89b&ps=500&p=1 (487ms, unknown-length body)
11:18:46.550 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=abc19005-8a5d-4bed-8e42-555f1d701026&ps=500&p=1
11:18:46.989 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=abc19005-8a5d-4bed-8e42-555f1d701026&ps=500&p=1 (438ms, unknown-length body)
11:18:46.996 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=97ac81bc-4894-4fab-98b2-bd6d80ec7334&ps=500&p=1
11:18:47.121 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=97ac81bc-4894-4fab-98b2-bd6d80ec7334&ps=500&p=1 (124ms, unknown-length body)
11:18:47.122 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=1
11:18:47.798 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=1 (675ms, unknown-length body)
11:18:47.808 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=2
11:18:47.908 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=2 (100ms, 4062-byte body)
11:18:47.910 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=ef06097b-0754-400c-acbb-a962fb88c403&ps=500&p=1
11:18:48.067 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=ef06097b-0754-400c-acbb-a962fb88c403&ps=500&p=1 (157ms, unknown-length body)
11:18:48.068 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=f6777b0b-5042-431b-b9fe-85555cd75507&ps=500&p=1
11:18:48.181 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=f6777b0b-5042-431b-b9fe-85555cd75507&ps=500&p=1 (112ms, unknown-length body)
11:18:48.183 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6385b5cb-8792-4771-ae3b-18f4390bc7d3&ps=500&p=1
11:18:48.306 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6385b5cb-8792-4771-ae3b-18f4390bc7d3&ps=500&p=1 (123ms, unknown-length body)
11:18:48.308 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=7255fe82-242d-4df7-9872-47dad6e4093c&ps=500&p=1
11:18:48.419 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=7255fe82-242d-4df7-9872-47dad6e4093c&ps=500&p=1 (111ms, 7249-byte body)
11:18:48.420 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=67874f18-f116-4ae1-9dc4-f8c8eb6695b7&ps=500&p=1
11:18:48.493 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=67874f18-f116-4ae1-9dc4-f8c8eb6695b7&ps=500&p=1 (71ms, 12-byte body)
11:18:48.494 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d69725e7-21a4-46da-afd8-0ed7f6d718b3&ps=500&p=1
11:18:48.577 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d69725e7-21a4-46da-afd8-0ed7f6d718b3&ps=500&p=1 (84ms, 358-byte body)
11:18:48.578 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=a9890ed7-d661-4d36-9ccb-9997d2ddab61&ps=500&p=1
11:18:48.859 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=a9890ed7-d661-4d36-9ccb-9997d2ddab61&ps=500&p=1 (280ms, unknown-length body)
11:18:48.866 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1647e141-6d79-430e-bc4d-0bcb32b74666&ps=500&p=1
11:18:48.978 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1647e141-6d79-430e-bc4d-0bcb32b74666&ps=500&p=1 (111ms, unknown-length body)
11:18:48.980 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=0397ba2b-a18d-4e09-aef5-6f4ce43b2681&ps=500&p=1
11:18:49.052 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=0397ba2b-a18d-4e09-aef5-6f4ce43b2681&ps=500&p=1 (71ms, 12-byte body)
11:18:49.052 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e39fecdb-e9cc-4faf-a81c-5d04cb85b736&ps=500&p=1
11:18:49.127 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e39fecdb-e9cc-4faf-a81c-5d04cb85b736&ps=500&p=1 (75ms, 1581-byte body)
11:18:49.128 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e7ee93c4-bd1f-412c-9d01-b1452bb86595&ps=500&p=1
11:18:49.224 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e7ee93c4-bd1f-412c-9d01-b1452bb86595&ps=500&p=1 (96ms, 7691-byte body)
11:18:49.224 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=343d0427-c633-489e-a69b-6fbe3531ccc6&ps=500&p=1
11:18:49.443 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=343d0427-c633-489e-a69b-6fbe3531ccc6&ps=500&p=1 (218ms, unknown-length body)
11:18:49.445 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b0f519d2-107b-4bbe-acbf-8c1a6f17a648&ps=500&p=1
11:18:49.622 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b0f519d2-107b-4bbe-acbf-8c1a6f17a648&ps=500&p=1 (176ms, unknown-length body)
11:18:49.623 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d75f66bd-cda5-4b98-97d8-6d2b724be0d7&ps=500&p=1
11:18:49.722 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d75f66bd-cda5-4b98-97d8-6d2b724be0d7&ps=500&p=1 (98ms, unknown-length body)
11:18:49.723 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=c10790d4-b156-4fca-8f5b-167f31764aa2&ps=500&p=1
11:18:50.215 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=c10790d4-b156-4fca-8f5b-167f31764aa2&ps=500&p=1 (490ms, unknown-length body)
11:18:50.219 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=9636d956-024b-4c8b-bef3-af3de2f2f9c1&ps=500&p=1
11:18:50.482 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=9636d956-024b-4c8b-bef3-af3de2f2f9c1&ps=500&p=1 (263ms, unknown-length body)
11:18:50.489 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=641eb790-f1e5-4577-97aa-744831d8ea6f&ps=500&p=1
11:18:50.637 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=641eb790-f1e5-4577-97aa-744831d8ea6f&ps=500&p=1 (147ms, unknown-length body)
11:18:50.638 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=176ccbe7-f2c0-4564-bcde-57a740026e6f&ps=500&p=1
11:18:50.774 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=176ccbe7-f2c0-4564-bcde-57a740026e6f&ps=500&p=1 (136ms, unknown-length body)
11:18:50.775 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=8ae5e23c-ccf5-46b0-b75e-0abe6c880373&ps=500&p=1
11:18:51.282 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=8ae5e23c-ccf5-46b0-b75e-0abe6c880373&ps=500&p=1 (506ms, unknown-length body)
11:18:51.293 INFO  Load active rules (done) | time=5723ms
11:18:51.296 INFO  Load analysis cache
11:18:51.296 DEBUG --> GET http://localhost:9000/api/analysis_cache/get?project=RSSW:TestProject
11:18:51.370 DEBUG <-- 404 http://localhost:9000/api/analysis_cache/get?project=RSSW:TestProject (73ms, unknown-length body)
11:18:51.370 INFO  Load analysis cache (404) | time=74ms
11:18:51.380 DEBUG --> GET http://localhost:9000/api/languages/list
11:18:51.452 DEBUG <-- 200 http://localhost:9000/api/languages/list (72ms, unknown-length body)
11:18:51.463 WARN  The properties 'sonar.login' and 'sonar.password' are deprecated and will be removed in the future. Please pass a token with the 'sonar.token' property instead.
11:18:51.466 DEBUG Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes : 
11:18:51.467 DEBUG Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass
11:18:51.467 DEBUG Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
11:18:51.467 DEBUG Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
11:18:51.467 DEBUG Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
11:18:51.467 DEBUG Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py
11:18:51.467 DEBUG Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile
11:18:51.467 DEBUG Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
11:18:51.468 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
11:18:51.468 DEBUG Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as
11:18:51.468 DEBUG Declared patterns of language OpenEdge were converted to sonar.lang.patterns.oe : **/*.p,**/*.w,**/*.i,**/*.cls,**/*.t
11:18:51.468 DEBUG Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config
11:18:51.468 DEBUG Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json
11:18:51.468 DEBUG Declared patterns of language Text were converted to sonar.lang.patterns.text : 
11:18:51.468 DEBUG Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
11:18:51.469 DEBUG Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation : 
11:18:51.469 DEBUG Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
11:18:51.469 DEBUG Declared patterns of language OpenEdgeDB were converted to sonar.lang.patterns.oedb : 
11:18:51.469 DEBUG Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go
11:18:51.469 DEBUG Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts
11:18:51.469 DEBUG Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets : 
11:18:51.469 DEBUG Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
11:18:51.469 DEBUG Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor
11:18:51.469 DEBUG Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
11:18:51.469 DEBUG Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
11:18:51.469 DEBUG Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep
11:18:51.470 DEBUG Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
11:18:51.476 INFO  Preprocessing files...
11:18:51.484 DEBUG loading config FileBasedConfig[C:\Users\GillesQUERRET\.config\jgit\config]
11:18:51.485 DEBUG readpipe [C:\Program Files\Git\cmd\git.exe, --version],C:\Program Files\Git\cmd
11:18:51.512 DEBUG readpipe may return 'git version 2.43.0.windows.1'
11:18:51.512 DEBUG remaining output:

11:18:51.513 DEBUG readpipe [C:\Program Files\Git\cmd\git.exe, config, --system, --show-origin, --list, -z],C:\Program Files\Git\cmd
11:18:51.539 DEBUG readpipe may return 'file:C:/Program Files/Git/etc/gitconfig

And here’s the debug report with sonar.text.inclusions:

sonar.text.inclusions=**/*.nothing
sonar.text.inclusions.activate=true
11:06:50.920 INFO  Scanner configuration file: C:\Apps\sonar-scanner-6.0.0.4432-windows\bin\..\conf\sonar-scanner.properties
11:06:50.923 INFO  Project root configuration file: C:\Users\GillesQUERRET\projets\sonaroe-test-project\sonar-project.properties
11:06:50.933 INFO  SonarScanner CLI 6.0.0.4432
11:06:50.935 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
11:06:50.935 INFO  Windows 11 10.0 amd64
11:06:50.941 DEBUG Scanner max available memory: 7 GB
11:06:50.950 DEBUG Create: C:\Users\GillesQUERRET\.sonar\cache
11:06:50.950 INFO  User cache: C:\Users\GillesQUERRET\.sonar\cache
11:06:50.950 DEBUG Create: C:\Users\GillesQUERRET\.sonar\cache\_tmp
11:06:51.168 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [79] entries
11:06:51.168 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]
11:06:51.320 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [79] entries
11:06:51.337 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [0] entries
11:06:51.348 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries
11:06:51.349 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]
11:06:51.350 DEBUG Loaded [158] system trusted certificates
11:06:51.481 DEBUG --> GET http://localhost:9000/api/v2/analysis/version
11:06:51.579 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/version (99ms, 12-byte body)
11:06:51.580 INFO  JRE provisioning: os[windows], arch[amd64]
11:06:51.581 DEBUG --> GET http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64
11:06:51.655 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/jres?os=windows&arch=amd64 (73ms, unknown-length body)
11:06:51.678 DEBUG Executing: C:\Users\GillesQUERRET\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_unzip\jdk-17.0.11+9-jre\bin\java.exe --version
11:06:51.726 DEBUG openjdk 17.0.11 2024-04-16
11:06:51.726 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
11:06:51.726 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
11:06:51.738 DEBUG --> GET http://localhost:9000/api/v2/analysis/engine
11:06:51.811 DEBUG <-- 200 http://localhost:9000/api/v2/analysis/engine (72ms, unknown-length body)
11:06:51.812 INFO  Communicating with SonarQube Server 10.6.0.92116
11:06:51.813 DEBUG Work directory: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:06:51.818 DEBUG Executing: C:\Users\GillesQUERRET\.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\GillesQUERRET\.sonar\cache\2df641182fdb086f2742d159a7c020a8e93583fc618666f9d2245c7f9df82d7e\sonar-scanner-engine-shaded-10.6.0.92116-all.jar
11:06:52.056 INFO  Starting SonarScanner Engine...
11:06:52.056 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
11:06:52.072 DEBUG JVM max available memory: 7 GB
11:06:52.171 DEBUG Community 10.6.0.92116
11:06:52.245 DEBUG Sonar User Home: C:\Users\GillesQUERRET\.sonar
11:06:52.470 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [79] entries
11:06:52.471 DEBUG Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]
11:06:52.620 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [79] entries
11:06:52.639 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [0] entries
11:06:52.651 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries
11:06:52.651 DEBUG Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]
11:06:52.652 DEBUG Loaded [158] system trusted certificates
11:06:52.784 INFO  Load global settings
11:06:52.792 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf
11:06:52.888 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf (96ms, unknown-length body)
11:06:52.905 INFO  Load global settings (done) | time=121ms
11:06:52.906 INFO  Server id: 147B411E-AZBp5eNDcHrD11BVLfEg
11:06:52.907 DEBUG User cache: C:\Users\GillesQUERRET\.sonar\cache
11:06:52.912 INFO  Loading required plugins
11:06:52.912 INFO  Load plugins index
11:06:52.912 DEBUG --> GET http://localhost:9000/api/plugins/installed
11:06:52.985 DEBUG <-- 200 http://localhost:9000/api/plugins/installed (72ms, unknown-length body)
11:06:52.988 INFO  Load plugins index (done) | time=76ms
11:06:52.988 INFO  Load/download plugins
11:06:53.017 INFO  Load/download plugins (done) | time=28ms
11:06:53.017 DEBUG Plugins not loaded because they are optional: [csharp, cablsecurityrules, flex, go, web, javasymbolicexecution, java, javascript, kotlin, openedge, php, rsswrules, ruby, sonarscala, vbnet]
11:06:53.027 DEBUG Plugins loaded:
11:06:53.027 DEBUG   * Python Code Quality and Security 4.19.0.15616 (python)
11:06:53.027 DEBUG   * Clean as You Code 2.3.0.1782 (cayc)
11:06:53.027 DEBUG   * XML Code Quality and Security 2.10.0.4108 (xml)
11:06:53.027 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)
11:06:53.028 DEBUG   * IaC Code Quality and Security 1.31.0.10579 (iac)
11:06:53.028 DEBUG   * Text Code Quality and Security 2.12.1.2905 (text)
11:06:53.136 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$331/0x000001fceb264808@2c42b421 with shutdown hook
11:06:53.226 INFO  Process project properties
11:06:53.233 INFO  Process project properties (done) | time=7ms
11:06:53.269 INFO  Project key: RSSW:TestProject
11:06:53.270 INFO  Base dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project
11:06:53.270 INFO  Working dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:06:53.270 DEBUG Project global encoding: UTF-8, default locale: fr_FR
11:06:53.277 INFO  Load project settings for component key: 'RSSW:TestProject'
11:06:53.278 DEBUG --> GET http://localhost:9000/api/settings/values.protobuf?component=RSSW%3ATestProject
11:06:53.361 DEBUG <-- 200 http://localhost:9000/api/settings/values.protobuf?component=RSSW%3ATestProject (81ms, unknown-length body)
11:06:53.362 INFO  Load project settings for component key: 'RSSW:TestProject' (done) | time=85ms
11:06:53.377 DEBUG Creating module hierarchy
11:06:53.378 DEBUG   Init module 'Test project'
11:06:53.378 DEBUG     Base dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project
11:06:53.378 DEBUG     Working dir: C:\Users\GillesQUERRET\projets\sonaroe-test-project\.scannerwork
11:06:53.378 DEBUG     Module global encoding: UTF-8, default locale: fr_FR
11:06:53.385 INFO  Load quality profiles
11:06:53.385 DEBUG --> GET http://localhost:9000/api/qualityprofiles/search.protobuf?project=RSSW%3ATestProject
11:06:53.489 DEBUG <-- 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=RSSW%3ATestProject (102ms, 3326-byte body)
11:06:53.504 INFO  Load quality profiles (done) | time=119ms
11:06:53.532 INFO  Load active rules
11:06:53.532 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=36507235-a1e6-489b-ade3-9d26496676f1&ps=500&p=1
11:06:53.638 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=36507235-a1e6-489b-ade3-9d26496676f1&ps=500&p=1 (104ms, 4465-byte body)
11:06:53.705 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=43ba88cf-2442-4944-9d9c-cbbbbc974b41&ps=500&p=1
11:06:53.803 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=43ba88cf-2442-4944-9d9c-cbbbbc974b41&ps=500&p=1 (97ms, unknown-length body)
11:06:53.808 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=8d126e97-118b-440c-b9f8-3490f8ef5b78&ps=500&p=1
11:06:53.906 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=8d126e97-118b-440c-b9f8-3490f8ef5b78&ps=500&p=1 (99ms, unknown-length body)
11:06:53.910 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e8a030cc-64af-435d-a75f-18d0b3857544&ps=500&p=1
11:06:53.982 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e8a030cc-64af-435d-a75f-18d0b3857544&ps=500&p=1 (72ms, 12-byte body)
11:06:53.982 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=831c405d-7342-4026-904f-fdb1ae25b89b&ps=500&p=1
11:06:54.475 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=831c405d-7342-4026-904f-fdb1ae25b89b&ps=500&p=1 (491ms, unknown-length body)
11:06:54.492 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=abc19005-8a5d-4bed-8e42-555f1d701026&ps=500&p=1
11:06:54.954 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=abc19005-8a5d-4bed-8e42-555f1d701026&ps=500&p=1 (462ms, unknown-length body)
11:06:54.962 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=97ac81bc-4894-4fab-98b2-bd6d80ec7334&ps=500&p=1
11:06:55.114 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=97ac81bc-4894-4fab-98b2-bd6d80ec7334&ps=500&p=1 (152ms, unknown-length body)
11:06:55.116 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=1
11:06:55.766 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=1 (650ms, unknown-length body)
11:06:55.777 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=2
11:06:55.879 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b14197e0-b27e-4342-8e29-14158fa2833a&ps=500&p=2 (102ms, 4062-byte body)
11:06:55.880 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=ef06097b-0754-400c-acbb-a962fb88c403&ps=500&p=1
11:06:56.039 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=ef06097b-0754-400c-acbb-a962fb88c403&ps=500&p=1 (158ms, unknown-length body)
11:06:56.040 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=f6777b0b-5042-431b-b9fe-85555cd75507&ps=500&p=1
11:06:56.155 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=f6777b0b-5042-431b-b9fe-85555cd75507&ps=500&p=1 (113ms, unknown-length body)
11:06:56.156 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6385b5cb-8792-4771-ae3b-18f4390bc7d3&ps=500&p=1
11:06:56.272 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6385b5cb-8792-4771-ae3b-18f4390bc7d3&ps=500&p=1 (115ms, unknown-length body)
11:06:56.274 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=7255fe82-242d-4df7-9872-47dad6e4093c&ps=500&p=1
11:06:56.376 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=7255fe82-242d-4df7-9872-47dad6e4093c&ps=500&p=1 (102ms, 7249-byte body)
11:06:56.377 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=67874f18-f116-4ae1-9dc4-f8c8eb6695b7&ps=500&p=1
11:06:56.449 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=67874f18-f116-4ae1-9dc4-f8c8eb6695b7&ps=500&p=1 (72ms, 12-byte body)
11:06:56.449 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d69725e7-21a4-46da-afd8-0ed7f6d718b3&ps=500&p=1
11:06:56.526 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d69725e7-21a4-46da-afd8-0ed7f6d718b3&ps=500&p=1 (76ms, 358-byte body)
11:06:56.527 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=a9890ed7-d661-4d36-9ccb-9997d2ddab61&ps=500&p=1
11:06:56.801 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=a9890ed7-d661-4d36-9ccb-9997d2ddab61&ps=500&p=1 (274ms, unknown-length body)
11:06:56.804 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1647e141-6d79-430e-bc4d-0bcb32b74666&ps=500&p=1
11:06:56.944 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1647e141-6d79-430e-bc4d-0bcb32b74666&ps=500&p=1 (139ms, unknown-length body)
11:06:56.944 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=0397ba2b-a18d-4e09-aef5-6f4ce43b2681&ps=500&p=1
11:06:57.017 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=0397ba2b-a18d-4e09-aef5-6f4ce43b2681&ps=500&p=1 (71ms, 12-byte body)
11:06:57.017 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e39fecdb-e9cc-4faf-a81c-5d04cb85b736&ps=500&p=1
11:06:57.092 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e39fecdb-e9cc-4faf-a81c-5d04cb85b736&ps=500&p=1 (75ms, 1581-byte body)
11:06:57.093 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=e7ee93c4-bd1f-412c-9d01-b1452bb86595&ps=500&p=1
11:06:57.190 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=e7ee93c4-bd1f-412c-9d01-b1452bb86595&ps=500&p=1 (96ms, 7691-byte body)
11:06:57.191 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=343d0427-c633-489e-a69b-6fbe3531ccc6&ps=500&p=1
11:06:57.409 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=343d0427-c633-489e-a69b-6fbe3531ccc6&ps=500&p=1 (218ms, unknown-length body)
11:06:57.414 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b0f519d2-107b-4bbe-acbf-8c1a6f17a648&ps=500&p=1
11:06:57.600 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b0f519d2-107b-4bbe-acbf-8c1a6f17a648&ps=500&p=1 (185ms, unknown-length body)
11:06:57.601 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d75f66bd-cda5-4b98-97d8-6d2b724be0d7&ps=500&p=1
11:06:57.701 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d75f66bd-cda5-4b98-97d8-6d2b724be0d7&ps=500&p=1 (98ms, unknown-length body)
11:06:57.702 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=c10790d4-b156-4fca-8f5b-167f31764aa2&ps=500&p=1
11:06:58.172 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=c10790d4-b156-4fca-8f5b-167f31764aa2&ps=500&p=1 (470ms, unknown-length body)
11:06:58.176 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=9636d956-024b-4c8b-bef3-af3de2f2f9c1&ps=500&p=1
11:06:58.437 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=9636d956-024b-4c8b-bef3-af3de2f2f9c1&ps=500&p=1 (259ms, unknown-length body)
11:06:58.440 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=641eb790-f1e5-4577-97aa-744831d8ea6f&ps=500&p=1
11:06:58.594 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=641eb790-f1e5-4577-97aa-744831d8ea6f&ps=500&p=1 (154ms, unknown-length body)
11:06:58.600 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=176ccbe7-f2c0-4564-bcde-57a740026e6f&ps=500&p=1
11:06:58.732 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=176ccbe7-f2c0-4564-bcde-57a740026e6f&ps=500&p=1 (131ms, unknown-length body)
11:06:58.732 DEBUG --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=8ae5e23c-ccf5-46b0-b75e-0abe6c880373&ps=500&p=1
11:06:59.240 DEBUG <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=8ae5e23c-ccf5-46b0-b75e-0abe6c880373&ps=500&p=1 (506ms, unknown-length body)
11:06:59.249 INFO  Load active rules (done) | time=5717ms
11:06:59.251 INFO  Load analysis cache
11:06:59.252 DEBUG --> GET http://localhost:9000/api/analysis_cache/get?project=RSSW:TestProject
11:06:59.325 DEBUG <-- 404 http://localhost:9000/api/analysis_cache/get?project=RSSW:TestProject (72ms, unknown-length body)
11:06:59.325 INFO  Load analysis cache (404) | time=74ms
11:06:59.334 DEBUG --> GET http://localhost:9000/api/languages/list
11:06:59.405 DEBUG <-- 200 http://localhost:9000/api/languages/list (70ms, unknown-length body)
11:06:59.416 WARN  The properties 'sonar.login' and 'sonar.password' are deprecated and will be removed in the future. Please pass a token with the 'sonar.token' property instead.
11:06:59.419 DEBUG Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes : 
11:06:59.420 DEBUG Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass
11:06:59.420 DEBUG Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
11:06:59.420 DEBUG Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
11:06:59.420 DEBUG Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
11:06:59.420 DEBUG Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py
11:06:59.420 DEBUG Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile
11:06:59.420 DEBUG Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
11:06:59.421 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
11:06:59.421 DEBUG Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as
11:06:59.421 DEBUG Declared patterns of language OpenEdge were converted to sonar.lang.patterns.oe : **/*.p,**/*.w,**/*.i,**/*.cls,**/*.t
11:06:59.421 DEBUG Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config
11:06:59.421 DEBUG Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json
11:06:59.421 DEBUG Declared patterns of language Text were converted to sonar.lang.patterns.text : 
11:06:59.421 DEBUG Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
11:06:59.421 DEBUG Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation : 
11:06:59.421 DEBUG Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
11:06:59.422 DEBUG Declared patterns of language OpenEdgeDB were converted to sonar.lang.patterns.oedb : 
11:06:59.422 DEBUG Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go
11:06:59.422 DEBUG Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts
11:06:59.422 DEBUG Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets : 
11:06:59.422 DEBUG Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
11:06:59.422 DEBUG Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor
11:06:59.422 DEBUG Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
11:06:59.422 DEBUG Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
11:06:59.422 DEBUG Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep
11:06:59.422 DEBUG Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
11:06:59.430 INFO  Preprocessing files...
11:06:59.438 DEBUG loading config FileBasedConfig[C:\Users\GillesQUERRET\.config\jgit\config]
11:06:59.439 DEBUG readpipe [C:\Program Files\Git\cmd\git.exe, --version],C:\Program Files\Git\cmd
11:06:59.465 DEBUG readpipe may return 'git version 2.43.0.windows.1'
11:06:59.465 DEBUG remaining output:

11:06:59.466 DEBUG readpipe [C:\Program Files\Git\cmd\git.exe, config, --system, --show-origin, --list, -z],C:\Program Files\Git\cmd
11:06:59.490 DEBUG readpipe may return 'file:C:/Program Files/Git/etc/gitconfig

The line Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git seems to say to the pattern is on top of all extensions analyzed by language sensors.

Hi,

Could we have the full log for both runs, please?

 
Thx,
Ann

Sorry, I copy / pasted the full log, but there’s probably a size limit in the comments. I’ll push the file elsewhere and send a link.

1 Like