[WIP] Consider replacing the SharpYaml dependency by YamlDotNet #2117
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
4m 27s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/Models/BaseOpenApiReference.cs#L58
Make this an auto-implemented property and remove its backing field. (https://rules.sonarsource.com/csharp/RSPEC-2292)
|
|
Build:
src/Microsoft.OpenApi/Models/BaseOpenApiReference.cs#L87
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/BaseOpenApiReference.cs#L88
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L47
Remove this call from a constructor to the overridable 'CopyReference' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L84
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L271
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L370
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L262
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L411
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/OpenApiDocument.cs#L480
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|