chore: implement test cases for types of References in an OpenApi document #1985
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
4m 18s
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/Reader/ParseNodes/MapNode.cs#L35
Remove this unnecessary cast to 'IEnumerable<KeyValuePair<string, JsonNode>>'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
|
|
Build:
src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L198
Remove this unnecessary check for null. (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)
|
|
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/Reader/ParseNodes/MapNode.cs#L35
Remove this unnecessary cast to 'IEnumerable<KeyValuePair<string, JsonNode>>'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
|
|
Build:
src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L198
Remove this unnecessary check for null. (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)
|
|
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)
|