refactor: fix sonar issues in Benchmarks (#1238) #23
Annotations
10 warnings and 4 notices
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherWrapper.cs(38,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(19,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(33,26): warning S4136: All 'Delete' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(53,12): warning S2290: Remove this 'virtual' modifier of 'Deleted'. (https://rules.sonarsource.com/csharp/RSPEC-2290) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.1]
|
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
|
1133 tests found (test 1 to 413)
There are 1133 tests, see "Raw output" for the list of tests 1 to 413.
|
1133 tests found (test 414 to 882)
There are 1133 tests, see "Raw output" for the list of tests 414 to 882.
|
1133 tests found (test 883 to 1133)
There are 1133 tests, see "Raw output" for the list of tests 883 to 1133.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
API-tests
|
2.84 KB |
|
Linux-artifacts
|
669 KB |
|
Packages
|
894 KB |
|
Windows-artifacts
|
846 KB |
|
macOS-artifacts
|
665 KB |
|