test: verify public API #209
Annotations
1 error and 10 warnings
Analyze with SonarCloud
Process completed with exit code 1.
|
Analyze with SonarCloud:
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)
|
Analyze with SonarCloud:
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)
|
Analyze with SonarCloud:
src/MockHttp/DeprecationWarnings.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
Analyze with SonarCloud:
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)
|
Analyze with SonarCloud:
src/MockHttp/Extensions/IRespondsExtensions.cs#L19
All 'Respond' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Analyze with SonarCloud:
src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L11
'ISequenceResponseResult' implements 'IResponds<ISequenceResponseResult>' so 'IResponds<ISequenceResponseResult>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L11
'ISequenceResponseResult' implements 'IThrows<ISequenceThrowsResult>' so 'IThrows<ISequenceThrowsResult>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L13
'IResponds<ISequenceResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/Response/IWithContent.cs#L11
'IWithResponse' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Loading