Skip to content

Bump SonarAnalyzer.CSharp from 9.30.0.95878 to 9.32.0.97167 in /src #740

Bump SonarAnalyzer.CSharp from 9.30.0.95878 to 9.32.0.97167 in /src

Bump SonarAnalyzer.CSharp from 9.30.0.95878 to 9.32.0.97167 in /src #740

Triggered via push September 1, 2024 05:27
Status Success
Total duration 5m 52s
Artifacts 3

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

30 warnings and 10 notices
build: src/NVika/BuildServers/AppVeyor.cs#L48
Consider put an default clause in Switch. in src\NVika\BuildServers\AppVeyor.cs on line 48
build: src/NVika/BuildServers/AppVeyor.cs#L64
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'NVika.BuildServers.AppVeyor.WriteMessage(NVika.Parsers.Issue)' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. in src\NVika\BuildServers\AppVeyor.cs on line 64
build: src/NVika/BuildServers/AppVeyor.cs#L69
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 69
build: src/NVika/BuildServers/AppVeyor.cs#L70
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 70
build: src/NVika/BuildServers/AppVeyor.cs#L71
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 71
build: src/NVika/BuildServers/AppVeyor.cs#L72
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 72
build: src/NVika/BuildServers/AppVeyor.cs#L73
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 73
build: src/NVika/BuildServers/AppVeyor.cs#L74
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 74
build: src/NVika/BuildServers/AppVeyor.cs#L92
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 92
build: src/NVika/BuildServers/AppVeyor.cs#L105
Use PascalCase for named placeholders. in src\NVika\BuildServers\AppVeyor.cs on line 105
build: src/NVika/Exceptions/LoadingReportException.cs#L6
Add the following constructor to LoadingReportException: public LoadingReportException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/LoadingReportException.cs#L6
Add the following constructor to LoadingReportException: public LoadingReportException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Exceptions should be public (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064)
build: src/NVika/Exceptions/NVikaException.cs#L6
Make this exception 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3871)
build: src/NVika/ParseReportCommand.cs#L56
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/NVika/ParseReportCommand.cs#L60
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/NVika/ParseReportCommand.cs#L42
Rename parameter 'reportPaths' to 'remainingArguments' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
build: src/NVika/Exceptions/LoadingReportException.cs#L6
Add the following constructor to LoadingReportException: public LoadingReportException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/LoadingReportException.cs#L6
Add the following constructor to LoadingReportException: public LoadingReportException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Add the following constructor to NVikaException: public NVikaException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build: src/NVika/Exceptions/NVikaException.cs#L6
Exceptions should be public (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064)
build: src/NVika/Exceptions/NVikaException.cs#L6
Make this exception 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3871)
build: src/NVika/ParseReportCommand.cs#L56
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/NVika/ParseReportCommand.cs#L60
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/NVika/ParseReportCommand.cs#L42
Rename parameter 'reportPaths' to 'remainingArguments' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
build: src/NVika/BuildServers/AppVeyor.cs#L22
Code body does not conform to code style settings: use expression-bodied property in src\NVika\BuildServers\AppVeyor.cs on line 22
build: src/NVika/BuildServers/AppVeyor.cs#L76
Convert into 'using' declaration in src\NVika\BuildServers\AppVeyor.cs on line 76
build: src/NVika/BuildServers/AppVeyor.cs#L96
Use object initializer in src\NVika\BuildServers\AppVeyor.cs on line 96
build: src/NVika/BuildServers/LocalBuildServer.cs#L16
Code body does not conform to code style settings: use expression-bodied property in src\NVika\BuildServers\LocalBuildServer.cs on line 16
build: src/NVika/Exceptions/NVikaException.cs#L10
Convert into primary constructor in src\NVika\Exceptions\NVikaException.cs on line 10
build: src/NVika/Parsers/FxCopParser.cs#L10
Redundant type specification in src\NVika\Parsers\FxCopParser.cs on line 10
build: src/NVika/Parsers/FxCopParser.cs#L16
Code body does not conform to code style settings: use expression-bodied property in src\NVika\Parsers\FxCopParser.cs on line 16
build: src/NVika/Parsers/GendarmeParser.cs#L10
Redundant type specification in src\NVika\Parsers\GendarmeParser.cs on line 10
build: src/NVika/Parsers/GendarmeParser.cs#L16
Code body does not conform to code style settings: use expression-bodied property in src\NVika\Parsers\GendarmeParser.cs on line 16
build: src/NVika/Parsers/InspectCodeParser.cs#L10
Redundant type specification in src\NVika\Parsers\InspectCodeParser.cs on line 10

Artifacts

Produced during runtime
Name Size
artifact Expired
21.9 MB
inspectcodereport.json Expired
18.1 KB
inspectcodereport.xml Expired
5.13 KB