Bump Serilog from 4.0.2 to 4.1.0 in /src #755
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/BuildServers/AppVeyor.cs#L48
Consider put an default clause in Switch. (https://code-cracker.github.io/diagnostics/CC0120.html)
|
build:
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)
|
build:
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)
|
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/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/Parsers/XmlReportParser.cs#L15
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
build:
src/NVika/Parsers/SarifParser.cs#L23
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
build:
src/NVika/Parsers/XmlReportParser.cs#L31
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
|
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
|
21.9 MB |
|
inspectcodereport.json
|
18 KB |
|
inspectcodereport.xml
|
5.13 KB |
|