Skip to content

test: verify public API #213

test: verify public API

test: verify public API #213

Triggered via pull request September 29, 2024 14:51
@skwasjerskwasjer
synchronize #117
Status Failure
Total duration 2m 20s
Artifacts

sonarcloud.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 10 warnings
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis: test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
analysis
Process completed with exit code 1.
analysis: src/MockHttp/DeprecationWarnings.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
analysis: src/MockHttp/Extensions/IRespondsExtensions.cs#L19
All 'Respond' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
analysis: src/MockHttp/HttpCall.cs#L14
Remove this unread private field '_verifiableBecause' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
analysis: src/MockHttp/IsSent.cs#L11
Remove this unread private field '_min' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
analysis: src/MockHttp/IsSent.cs#L12
Remove this unread private field '_max' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
analysis: src/MockHttp/IResponseBuilder.cs#L11
'IWithStatusCode' implements 'IWithResponse' so 'IWithResponse' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
analysis: src/MockHttp/IResponseBuilder.cs#L12
'IWithStatusCode' implements 'IWithContent' so 'IWithContent' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
analysis: src/MockHttp/IResponseBuilder.cs#L14
'IWithResponse' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
analysis: src/MockHttp/Language/Flow/FallbackRequestSetupPhrase.cs#L6
'IRespondsThrows' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
analysis: src/MockHttp/Language/Flow/HttpRequestSetupPhrase.cs#L6
'IConfiguredRequest' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)