feat: Remove default collection initialization for perf reasons #1773
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
5m 19s
Annotations
10 warnings
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L206
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L265
Refactor this constructor to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L337
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L426
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L747
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L847
Make 'DowncastTypeArrayToV2OrV3' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L829
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L670
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|