Skip to content

Fix github workflows #202

Fix github workflows

Fix github workflows #202

Triggered via pull request May 4, 2024 05:59
@laeditlaedit
synchronize #473
fix/sonar
Status Success
Total duration 1m 8s
Artifacts

sonar-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze: 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)
Analyze: 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)
Analyze: 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)
Analyze: 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)
Analyze: 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)
Analyze: src/NVika/Exceptions/NVikaException.cs#L6
Exceptions should be public (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064)
Analyze: src/NVika/Exceptions/NVikaException.cs#L6
Make this exception 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3871)
Analyze: src/NVika/Program.cs#L56
Modify 'Run' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
Analyze: src/NVika/Program.cs#L60
Method 'int Program.Run(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Error: logger is not configured.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Analyze: src/NVika/Program.cs#L86
The behavior of 'LoggerSinkConfiguration.Console([LogEventLevel],