Skip to content

feat: Implement LicenseAnalyzer using project.assets.json for offline package license checking with enhanced diagnostics (enabled by default) #3417

feat: Implement LicenseAnalyzer using project.assets.json for offline package license checking with enhanced diagnostics (enabled by default)

feat: Implement LicenseAnalyzer using project.assets.json for offline package license checking with enhanced diagnostics (enabled by default) #3417

Triggered via pull request September 7, 2025 15:12
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
tagversion  /  Tag Version
5s
tagversion / Tag Version
pinnedactions  /  Pin GitHub Actions to SHA
3s
pinnedactions / Pin GitHub Actions to SHA
docupdate  /  Check if documentation is updated
5s
docupdate / Check if documentation is updated
format  /  format
47s
format / format
dogfood  /  Dogfood Analyzers
44s
dogfood / Dogfood Analyzers
sonarcloud  /  SonarCloud
1m 6s
sonarcloud / SonarCloud
performance  /  build
40s
performance / build
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 10 warnings
dogfood / Dogfood Analyzers
Process completed with exit code 1.
performance / build
Process completed with exit code 1.
dogfood / Dogfood Analyzers: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
performance / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
dogfood / Dogfood Analyzers: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
performance / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
dogfood / Dogfood Analyzers: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
performance / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
dogfood / Dogfood Analyzers: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
performance / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
format / format
Process completed with exit code 2.
format / format: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused
format / format: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused
build / build
Process completed with exit code 1.
build / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
build / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
build / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
build / build: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
sonarcloud / SonarCloud
Process completed with exit code 1.
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Private member 'LicenseAnalyzer.IsLicenseAcceptable' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Remove the unused private method 'IsLicenseAcceptable'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L709
Using http protocol is insecure. Use https instead. (https://rules.sonarsource.com/csharp/RSPEC-5332)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L417
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L382
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L419
Loop should be simplified by calling Select(match => match.Groups)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L498
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L284
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L219
Extract this nested code block into a separate method. (https://rules.sonarsource.com/csharp/RSPEC-1199)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L164
Remove this unused method parameter 'allowedLicenses'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
sonarcloud / SonarCloud: Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L700
Remove the unused private method 'IsLicenseAcceptable'. (https://rules.sonarsource.com/csharp/RSPEC-1144)