Skip to content

Update qodana.yml

Update qodana.yml #149

Triggered via pull request July 9, 2025 23:39
Status Success
Total duration 13m 2s
Artifacts 1

qodana.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 152 warnings, and 835 notices
Compliance with JSON standard: test/TestBuildingBlocks/appsettings.json#L5
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L8
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L5
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/ReportsExample/appsettings.json#L5
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L4
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/GettingStarted/appsettings.json#L5
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L16
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L10
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/MultiDbContextExample/appsettings.json#L5
JSON standard does not allow comments.
Compliance with JSON standard: src/Examples/DapperExample/appsettings.json#L7
JSON standard does not allow comments.
qodana
Failed to push quick fixes – The process '/usr/bin/git' failed with exit code 1
Unknown property: .editorconfig#L118
The property is not supported
Unknown property: .editorconfig#L120
The property is not supported
Unknown property: .editorconfig#L147
The property is not supported
Unknown property: .editorconfig#L97
The property is not supported
Unknown property: .editorconfig#L103
The property is not supported
Unknown property: .editorconfig#L111
The property is not supported
Unknown property: src/JsonApiDotNetCore.Annotations/.editorconfig#L4
The property is not supported
Unknown property: .editorconfig#L161
The property is not supported
Unknown property: .editorconfig#L66
The property is not supported
Unknown property: .editorconfig#L114
The property is not supported
Unknown property: .editorconfig#L100
The property is not supported
Unknown property: .editorconfig#L140
The property is not supported
Unknown property: .editorconfig#L78
The property is not supported
Unknown property: .editorconfig#L75
The property is not supported
Unknown property: test/OpenApiNSwagEndToEndTests/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L138
The property is not supported
Unknown property: .editorconfig#L7
The property is not supported
Unknown property: .editorconfig#L109
The property is not supported
Unknown property: .editorconfig#L34
The property is not supported
Unknown property: .editorconfig#L163
The property is not supported
Unknown property: .editorconfig#L23
The property is not supported
Unknown property: .editorconfig#L125
The property is not supported
Unknown property: .editorconfig#L29
The property is not supported
Unknown property: .editorconfig#L14
The property is not supported
Unknown property: .editorconfig#L169
The property is not supported
Unknown property: .editorconfig#L91
The property is not supported
Unknown property: .editorconfig#L159
The property is not supported
Unknown property: .editorconfig#L84
The property is not supported
Unknown property: .editorconfig#L60
The property is not supported
Unknown property: .editorconfig#L32
The property is not supported
Unknown property: .editorconfig#L166
The property is not supported
Unknown property: .editorconfig#L173
The property is not supported
Unknown property: .editorconfig#L94
The property is not supported
Unknown property: .editorconfig#L155
The property is not supported
Unknown property: .editorconfig#L106
The property is not supported
Unknown property: src/Examples/OpenApiNSwagClientExample/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L72
The property is not supported
Unknown property: .editorconfig#L149
The property is not supported
Unknown property: test/OpenApiNSwagClientTests/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L44
The property is not supported
Unknown property: .editorconfig#L46
The property is not supported
Unknown property: .editorconfig#L36
The property is not supported
Unknown property: .editorconfig#L153
The property is not supported
Unknown property: .editorconfig#L69
The property is not supported
Unknown property: .editorconfig#L86
The property is not supported
Unknown property: .editorconfig#L57
The property is not supported
Unknown property: .editorconfig#L52
The property is not supported
Ignore file duplicates: .gitignore#L305
`*.ncb` pattern is defined more than once
Ignore file duplicates: .gitignore#L306
`*.aps` pattern is defined more than once
TargetFramework tag checks: src/JsonApiDotNetCore/JsonApiDotNetCore.csproj#L3
Only one target framework moniker specified
Unknown property: .editorconfig#L118
The property is not supported
Unknown property: .editorconfig#L120
The property is not supported
Unknown property: .editorconfig#L147
The property is not supported
Unknown property: .editorconfig#L97
The property is not supported
Unknown property: .editorconfig#L103
The property is not supported
Unknown property: .editorconfig#L111
The property is not supported
Unknown property: src/JsonApiDotNetCore.Annotations/.editorconfig#L4
The property is not supported
Unknown property: .editorconfig#L161
The property is not supported
Unknown property: .editorconfig#L66
The property is not supported
Unknown property: .editorconfig#L114
The property is not supported
Unknown property: .editorconfig#L100
The property is not supported
Unknown property: .editorconfig#L140
The property is not supported
Unknown property: .editorconfig#L78
The property is not supported
Unknown property: .editorconfig#L75
The property is not supported
Unknown property: test/OpenApiNSwagEndToEndTests/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L138
The property is not supported
Unknown property: .editorconfig#L7
The property is not supported
Unknown property: .editorconfig#L109
The property is not supported
Unknown property: .editorconfig#L34
The property is not supported
Unknown property: .editorconfig#L163
The property is not supported
Unknown property: .editorconfig#L23
The property is not supported
Unknown property: .editorconfig#L125
The property is not supported
Unknown property: .editorconfig#L29
The property is not supported
Unknown property: .editorconfig#L14
The property is not supported
Unknown property: .editorconfig#L169
The property is not supported
Unknown property: .editorconfig#L91
The property is not supported
Unknown property: .editorconfig#L159
The property is not supported
Unknown property: .editorconfig#L84
The property is not supported
Unknown property: .editorconfig#L60
The property is not supported
Unknown property: .editorconfig#L32
The property is not supported
Unknown property: .editorconfig#L166
The property is not supported
Unknown property: .editorconfig#L173
The property is not supported
Unknown property: .editorconfig#L94
The property is not supported
Unknown property: .editorconfig#L155
The property is not supported
Unknown property: .editorconfig#L106
The property is not supported
Unknown property: src/Examples/OpenApiNSwagClientExample/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L72
The property is not supported
Unknown property: .editorconfig#L149
The property is not supported
Unknown property: test/OpenApiNSwagClientTests/.editorconfig#L3
The property is not supported
Unknown property: .editorconfig#L44
The property is not supported
Unknown property: .editorconfig#L46
The property is not supported
Unknown property: .editorconfig#L36
The property is not supported
Unknown property: .editorconfig#L153
The property is not supported
Unknown property: .editorconfig#L69
The property is not supported
Unknown property: .editorconfig#L86
The property is not supported
Unknown property: .editorconfig#L57
The property is not supported
Unknown property: .editorconfig#L52
The property is not supported
Ignore file duplicates: .gitignore#L305
`*.ncb` pattern is defined more than once
Ignore file duplicates: .gitignore#L306
`*.aps` pattern is defined more than once
Cast expression can be replaced with lambda return type: src/JsonApiDotNetCore/Serialization/Response/LinkBuilder.cs#L222
Cast expression can be replaced with statically typed language construct
Cast expression can be replaced with explicit variable type: src/Examples/DapperExample/AtomicOperations/AmbientTransactionFactory.cs#L29
Cast expression can be replaced with statically typed language construct
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Configuration/ResourceGraph.cs#L165
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': test/TestBuildingBlocks/FluentJsonElementExtensions.cs#L97
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs#L410
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': test/DapperTests/IntegrationTests/SqlTextAdapter.cs#L22
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/Parsing/FilterParser.cs#L248
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs#L322
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Middleware/JsonApiMediaType.cs#L130
Convert 'if' statement into 'switch' statement
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Student.cs#L22
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Enrollment.cs#L28
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Teacher.cs#L21
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Course.cs#L21
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Student.cs#L19
The relationship defined by this property contributes to a dependency loop
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L91
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L201
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L177
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L221
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: test/OpenApiTests/QueryStrings/IncludeTests.cs#L50
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/ControllerSourceGenerator.cs#L120
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/SourceCodeWriter.cs#L171
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/SourceCodeWriter.cs#L197
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/Examples/OpenApiKiotaClientExample/PeopleMessageFormatter.cs#L59
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Invert 'if' statement to reduce nesting: test/OpenApiTests/OpenApiTestContext.cs#L56
Invert 'if' statement to reduce nesting
Invert 'if' statement to reduce nesting: test/OpenApiTests/JsonPathBuilder.cs#L64
Invert 'if' statement to reduce nesting
Invert 'if' statement to reduce nesting: test/OpenApiTests/OpenApiTestContext.cs#L37
Invert 'if' statement to reduce nesting
Invert 'if' statement to reduce nesting: src/JsonApiDotNetCore/Queries/QueryLayer.cs#L67
Invert 'if' statement to reduce nesting
Part of loop's body can be converted into LINQ-expression: src/JsonApiDotNetCore/Configuration/TypeLocator.cs#L140
Part of loop's body can be converted into LINQ-expression
Part of loop's body can be converted into LINQ-expression: src/JsonApiDotNetCore/Configuration/TypeLocator.cs#L102
Part of loop's body can be converted into LINQ-expression
Part of loop's body can be converted into LINQ-expression: test/TestBuildingBlocks/TestableDbContext.cs#L24
Part of loop's body can be converted into LINQ-expression
Member can be made static (shared) (non-private accessibility): src/JsonApiDotNetCore/Configuration/TypeLocator.cs#L66
Method 'GetContainerRegistrationFromAssembly' can be made static
Member can be made static (shared) (non-private accessibility): test/OpenApiNSwagClientTests/FakerFactory.cs#L31
Method 'CreateForObjectWithResourceId' can be made static
Route parameter constraint can be added due to type of method argument: test/JsonApiDotNetCoreTests/IntegrationTests/ControllerActionResults/ToothbrushesController.cs#L15
Route parameter constraint 'int' can be added because the corresponding argument of the method has type 'int'
Route parameter constraint can be added due to type of method argument: test/OpenApiTests/RestrictedControllers/DataStreamController.cs#L21
Route parameter constraint 'long' can be added because the corresponding argument of the method has type 'long'
Route parameter constraint can be added due to type of method argument: test/OpenApiTests/RestrictedControllers/DataStreamController.cs#L20
Route parameter constraint 'long' can be added because the corresponding argument of the method has type 'long'
Route parameter constraint can be added due to type of method argument: test/OpenApiTests/OpenApiGenerationFailures/MissingFromBody/MissingFromBodyOnPatchController.cs#L15
Route parameter constraint 'long' can be added because the corresponding argument of the method has type 'long'
Route parameter constraint can be added due to type of method argument: test/JsonApiDotNetCoreTests/IntegrationTests/CustomRoutes/TownsController.cs#L25
Route parameter constraint 'int' can be added because the corresponding argument of the method has type 'int'
Route parameter constraint can be added due to type of method argument: test/OpenApiTests/QueryStrings/IncludeTests.cs#L72
Route parameter constraint 'long' can be added because the corresponding argument of the method has type 'long'
Add explicit 'return' or 'continue' before local functions: src/Examples/DatabasePerTenantExample/Program.cs#L43
Separate local functions with explicit 'return' statement
Add explicit 'return' or 'continue' before local functions: src/Examples/DapperExample/Program.cs#L95
Separate local functions with explicit 'return' statement
Add explicit 'return' or 'continue' before local functions: src/Examples/MultiDbContextExample/Program.cs#L57
Separate local functions with explicit 'return' statement
Add explicit 'return' or 'continue' before local functions: src/Examples/GettingStarted/Program.cs#L43
Separate local functions with explicit 'return' statement
Add explicit 'return' or 'continue' before local functions: src/Examples/JsonApiDotNetCoreExample/Program.cs#L25
Separate local functions with explicit 'return' statement
Some values of the enum are not processed inside 'switch' statement: src/JsonApiDotNetCore/Serialization/JsonConverters/ResourceObjectConverter.cs#L259
Some values of the enum are not processed inside switch: None, StartObject, StartArray...
Some values of the enum are not processed inside 'switch' statement: src/JsonApiDotNetCore/Serialization/JsonConverters/ResourceObjectConverter.cs#L177
Some values of the enum are not processed inside switch: None, StartObject, StartArray...
Some values of the enum are not processed inside 'switch' statement: src/JsonApiDotNetCore/Serialization/JsonConverters/ResourceObjectConverter.cs#L59
Some values of the enum are not processed inside switch: None, StartObject, StartArray...
Some values of the enum are not processed inside 'switch' statement: src/JsonApiDotNetCore/Serialization/JsonConverters/SingleOrManyDataConverterFactory.cs#L44
Some values of the enum are not processed inside switch: None, EndObject, PropertyName...
Cast expression can be replaced with lambda return type: src/JsonApiDotNetCore/Serialization/Response/LinkBuilder.cs#L222
Cast expression can be replaced with statically typed language construct
Cast expression can be replaced with explicit variable type: src/Examples/DapperExample/AtomicOperations/AmbientTransactionFactory.cs#L29
Cast expression can be replaced with statically typed language construct
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Configuration/ResourceGraph.cs#L165
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': test/TestBuildingBlocks/FluentJsonElementExtensions.cs#L97
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs#L410
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': test/DapperTests/IntegrationTests/SqlTextAdapter.cs#L22
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/Parsing/FilterParser.cs#L248
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs#L322
Convert 'if' statement into 'switch' statement
Convert 'if' statement into 'switch': src/JsonApiDotNetCore/Middleware/JsonApiMediaType.cs#L130
Convert 'if' statement into 'switch' statement
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Student.cs#L22
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Enrollment.cs#L28
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Teacher.cs#L21
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Course.cs#L21
The relationship defined by this property contributes to a dependency loop
The relationship defined by this property contributes to a dependency loop: test/OpenApiTests/AtomicOperations/Student.cs#L19
The relationship defined by this property contributes to a dependency loop
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L91
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L201
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L177
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs#L221
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: test/OpenApiTests/QueryStrings/IncludeTests.cs#L50
Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/ControllerSourceGenerator.cs#L120
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/SourceCodeWriter.cs#L171
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/JsonApiDotNetCore.SourceGenerators/SourceCodeWriter.cs#L197
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used: src/Examples/OpenApiKiotaClientExample/PeopleMessageFormatter.cs#L59
Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used
Invert 'if' statement to reduce nesting: test/OpenApiTests/OpenApiTestContext.cs#L56
Invert 'if' statement to reduce nesting
Invert 'if' statement to reduce nesting: test/OpenApiTests/JsonPathBuilder.cs#L64
Invert 'if' statement to reduce nesting

Artifacts

Produced during runtime
Name Size Digest
qodana-report
3.86 MB
sha256:6393290aa368b757b9f2581b87f29958080e80e4e88d9ca4d321697402cede3f