Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
sonarqube-9.9.0.65466, but same behavior in sonarqube-9.3.0.51899 - how is SonarQube deployed: zip, Docker, Helm
locally: unzipped, StartSonar.bat - what are you trying to achieve
Scan code in the App project - what have you tried so far to achieve this
-
a myriad of inclusion/exclusion settings.
-
added:
<PropertyGroup>
<CodePage>1252</CodePage>
</PropertyGroup>
which helped get rid of rosyln complaints about utf-8 vs windows-1252 encoding.
- added:
<PropertyGroup>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>
But no matter what I try, Sonarqube ignores all the code I care about:
These three directories contain all the code I’m interested in, yet are all skipped.
Yes, the patterns in the below snippet are crazy, but trust me, I’ve tried all patterns I can think of, and I’ll happily try whatever patterns you think will work because I’m out of ideas.
INFO: Indexing files of module 'App'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\app
INFO: Source paths: DependencyInjection/AppServices.cs, interfaces/iar6002s1/IAr6...
INFO: Included sources: **/app/**/*.cs, app/uksrc/de1006s1/De1006s1.cs, app
INFO: Excluded sources: *.orig, app
INFO: Included tests: app
INFO: Excluded sources for coverage: tsrilib/
INFO: 2 files indexed... (last one was app/support/TAL.cs)
Here’s the result of NO in/ex-clusion patterns:
INFO: Indexing files of module 'App'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\app
INFO: Source paths: DependencyInjection/AppServices.cs, interfaces/iar6002s1/IAr6...
And exact same 2 files (one in each dir) are the only ones checked by sonarqube.
Also, if it’s related, I get this error printed out 100% of the time I run sonarqube scan:
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:449)
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:234)
at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:169)
at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
at org.joda.time.DateTime.<init>(DateTime.java:209)
Why does it exclude the hundreds of files in the 3 directories I actually care about?
post proc log dump (run with NO patterns given)
Time Elapsed 00:03:48.40
SonarScanner for MSBuild 5.11
Using the .NET Core version of the Scanner for MSBuild
Post-processing started.
Calling the SonarScanner CLI...
INFO: Scanner configuration file: C:\Users\pkline\.dotnet\tools\.store\dotnet-sonarscanner\5.11.0\dotnet-sonarscanner\5.11.0\tools\net5.0\any\sonar-scanner-4.8.0.2856\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\sonar-project.properties
INFO: SonarScanner 4.8.0.2856
INFO: Java 17.0.5 Oracle Corporation (64-bit)
INFO: Windows 11 10.0 amd64
INFO: User cache: C:\Users\pkline\.sonar\cache
INFO: Analyzing on SonarQube server 9.9.0.65466
INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=110ms
INFO: Server id: 147B411E-AYaqEQKLAzZJ_VnC1m-N
INFO: User cache: C:\Users\pkline\.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=59ms
INFO: Load/download plugins (done) | time=2045ms
INFO: Process project properties
INFO: Process project properties (done) | time=129ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=188ms
INFO: Project key: pitney-bowes-oldest-compiling
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source
INFO: Working dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\.sonar
INFO: Load project settings for component key: 'pitney-bowes-oldest-compiling'
INFO: Load project settings for component key: 'pitney-bowes-oldest-compiling' (done) | time=27ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=56ms
INFO: Load active rules
INFO: Load active rules (done) | time=1911ms
INFO: Load analysis cache
INFO: Load analysis cache (149 bytes) | time=18ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=25ms
INFO: Indexing files...
INFO: Project configuration:
INFO: Indexing files of module 'App'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\app
INFO: Source paths: DependencyInjection/AppServices.cs, interfaces/iar6002s1/IAr6...
INFO: Indexing files of module 'service'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\service
INFO: Test paths: Annotations/GenericControllerNameAttribute.cs, Config/GenericCo...
INFO: Indexing files of module 'tsrilib'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib
INFO: Test paths: AdministrativeCancellationException.cs, BmsModel/BmsField.cs, B...
WARN: Invalid character encountered in file C:/Users/pkline/Documents/pitney-bowes-project2/target/Source/tsrilib/DataModel/Support/CobolExternalWord.cs at line 262 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file file:///C:/Users/pkline/Documents/pitney-bowes-project2/target/Source/tsrilib/DataModel/Support/CobolExternalWord.cs. SonarQube encoding is 'UTF-8', Roslyn encoding is 'windows-1252'. File will be skipped.
WARN: Invalid character encountered in file C:/Users/pkline/Documents/pitney-bowes-project2/target/Source/tsrilib/DataModel/TsrF.cs at line 256 for encoding windows-1252. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Indexing files of module 'tsrilib_test'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib\Tests
INFO: Test paths: CicsModelTest/DependencyInjectorDb.cs, CicsModelTest/Dependency...
WARN: Invalid character encountered in file C:/Users/pkline/Documents/pitney-bowes-project2/target/Source/tsrilib/Tests/DataModelTest/tests_Numeric.cs at line 6021 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file file:///C:/Users/pkline/Documents/pitney-bowes-project2/target/Source/tsrilib/Tests/DataModelTest/tests_Numeric.cs. SonarQube encoding is 'UTF-8', Roslyn encoding is 'windows-1252'. File will be skipped.
INFO: Indexing files of module 'pitney-bowes-oldest-compiling'
INFO: Base dir: C:\Users\pkline\Documents\pitney-bowes-project2\target\Source
INFO: 644 files indexed
INFO: Quality profile for cs: Sonar way
INFO: Quality profile for json: Sonar way
INFO: Quality profile for ruby: Sonar way
INFO: ------------- Run sensors on module tsrilib
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=26ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
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
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=22ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=7ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=1ms
INFO: Sensor Ruby Sensor [ruby]
INFO: 0 source files to be analyzed
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:449)
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:234)
at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:169)
at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
at org.joda.time.DateTime.<init>(DateTime.java:209)
at org.jruby.util.log.OutputStreamLogger.formatMessage(OutputStreamLogger.java:146)
at org.jruby.util.log.StandardErrorLogger.write(StandardErrorLogger.java:58)
at org.jruby.util.log.OutputStreamLogger.warn(OutputStreamLogger.java:67)
at org.jruby.util.io.FilenoUtil$ReflectiveAccess.<clinit>(FilenoUtil.java:278)
at org.jruby.util.io.FilenoUtil.getFilenoUsingReflection(FilenoUtil.java:143)
at org.jruby.util.io.FilenoUtil.filenoFrom(FilenoUtil.java:139)
at org.jruby.util.io.ChannelFD.initFileno(ChannelFD.java:51)
at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:37)
at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:47)
at org.jruby.util.io.OpenFile.setChannel(OpenFile.java:195)
at org.jruby.RubyIO.prepIO(RubyIO.java:263)
at org.jruby.RubyIO.prepStdio(RubyIO.java:192)
at org.jruby.RubyGlobal.initSTDIO(RubyGlobal.java:314)
at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:228)
at org.jruby.Ruby.<init>(Ruby.java:513)
at org.jruby.Ruby.newInstance(Ruby.java:716)
at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:79)
at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:69)
at org.sonarsource.ruby.converter.RubyConverter.initializeRubyRuntime(RubyConverter.java:182)
at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:75)
at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:82)
at org.sonarsource.ruby.plugin.RubySensor.astConverter(RubySensor.java:45)
at org.sonarsource.slang.plugin.SlangSensor.execute(SlangSensor.java:201)
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.lambda$execute$1(ModuleSensorsExecutor.java:61)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:396)
at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2023-03-24T19:37:41.692Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
INFO: 0/0 source files have been analyzed
INFO: Sensor Ruby Sensor [ruby] (done) | time=3152ms
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby]
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby] (done) | time=3ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.3.0.0
INFO: Language version: CSharp10
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=22ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 252 source files to be analyzed
INFO: 252/252 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=819ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=31ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=83ms
INFO: ------------- Run sensors on module service
INFO: Sensor JaCoCo XML Report Importer [jacoco]
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
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=0ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=1ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=0ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.3.0.0
INFO: Language version: CSharp10
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=1ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 21 source files to be analyzed
INFO: 21/21 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=29ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=12ms
INFO: ------------- Run sensors on module App
INFO: Sensor JaCoCo XML Report Importer [jacoco]
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
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=1ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=0ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.3.0.0
INFO: Language version: CSharp10
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=15ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=2ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=7ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 295 source files to be analyzed
INFO: 90/295 files analyzed, current file: app/uksrc/de3418s1/De3418s1.cs.orig
INFO: 199/295 files analyzed, current file: app/uksrc/de3023sl/De3023sl.cs.orig
INFO: 271/295 files analyzed, current file: app/uksrc/de3532s1/De3532s1.cs.orig
INFO: 295/295 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=32872ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=9ms
INFO: ------------- Run sensors on module tsrilib_test
INFO: Sensor JaCoCo XML Report Importer [jacoco]
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
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=1ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=1ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=1ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=0ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.3.0.0
INFO: Language version: CSharp10
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=3ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: 75 source files to be analyzed
INFO: 75/75 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=335ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=6ms
INFO: ------------- Run sensors on module pitney-bowes-oldest-compiling
INFO: Sensor JaCoCo XML Report Importer [jacoco]
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
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=0ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=3ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=0ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: Sensor TextAndSecretsSensor [text] (done) | time=0ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=0ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=13ms
INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
INFO: Importing results from 6 proto files in 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\0\output-cs'
WARN: File 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib\DataModel\Support\CobolExternalWord.cs' referenced by the protobuf 'TokenTypeInfo' does not exist in the analysis context
WARN: File 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib\DataModel\Support\CobolExternalWord.cs' referenced by the protobuf 'SymbolReferenceInfo' does not exist in the analysis context
INFO: Importing results from 6 proto files in 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\3\output-cs'
INFO: Importing results from 6 proto files in 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\1\output-cs'
INFO: Importing results from 6 proto files in 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\.sonarqube\out\2\output-cs'
WARN: File 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib\Tests\DataModelTest\tests_Numeric.cs' referenced by the protobuf 'TokenTypeInfo' does not exist in the analysis context
WARN: File 'C:\Users\pkline\Documents\pitney-bowes-project2\target\Source\tsrilib\Tests\DataModelTest\tests_Numeric.cs' referenced by the protobuf 'SymbolReferenceInfo' does not exist in the analysis context
INFO: Importing 4 Roslyn reports
INFO: Found 4 MSBuild C# projects: 1 MAIN project. 3 TEST projects.
INFO: Sensor C# [csharp] (done) | time=2032ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=5ms
INFO: Sensor C# File Caching Sensor [csharp]
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=100ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=20ms
INFO: SCM Publisher SCM provider for this project is: hg
INFO: SCM Publisher 325 source files to be analyzed
INFO: 4/325 source files have been analyzed
INFO: SCM Publisher 15/325 source files have been analyzed (done) | time=19553ms
WARN: Missing blame information for the following files:
... (excluded for brevity & I don't care about blame information)
WARN: This may lead to missing/broken features in SonarQube
INFO: CPD Executor Calculating CPD for 2 files
INFO: CPD Executor CPD calculation finished (done) | time=15ms
INFO: Analysis report generated in 800ms, dir size=5.2 MB
INFO: Analysis report compressed in 1325ms, zip size=1.6 MB
INFO: Analysis report uploaded in 105ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=pitney-bowes-oldest-compiling
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AYcVIW30SCwsUbzDERM3
INFO: Analysis total time: 1:18.379 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:22.045s
INFO: Final Memory: 33M/160M
INFO: ------------------------------------------------------------------------
The SonarScanner CLI has finished
15:38:46.419 Post-processing succeeded.