feat: Implement LicenseAnalyzer using project.assets.json for offline package license checking with enhanced diagnostics (enabled by default) #3418
Annotations
10 warnings
Build and analyze:
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)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L219
Extract this nested code block into a separate method. (https://rules.sonarsource.com/csharp/RSPEC-1199)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L164
Remove this unused method parameter 'allowedLicenses'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L417
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L382
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L419
Loop should be simplified by calling Select(match => match.Groups)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L498
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
|
Build and analyze:
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)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L219
Extract this nested code block into a separate method. (https://rules.sonarsource.com/csharp/RSPEC-1199)
|
Build and analyze:
Philips.CodeAnalysis.SecurityAnalyzers/LicenseAnalyzer.cs#L164
Remove this unused method parameter 'allowedLicenses'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Loading