CI #573
Annotations
1 error and 10 warnings
build (windows-latest)
Process completed with exit code 1.
|
build (windows-latest):
src/SheepTools/Extensions/DateTimeExtensions.cs#L30
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
|
build (windows-latest):
src/SheepTools/Extensions/DateTimeExtensions.cs#L30
Use "DateTime.UnixEpoch" instead of creating DateTime instances that point to the unix epoch time (https://rules.sonarsource.com/csharp/RSPEC-6588)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L51
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L51
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L120
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L105
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L133
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
build (windows-latest):
src/SheepTools/LinearInterpolation.cs#L9
Do not check floating point equality with exact values, use a range instead. (https://rules.sonarsource.com/csharp/RSPEC-1244)
|
build (windows-latest):
src/SheepTools/Model/TreeNode.cs#L155
Use a comparison to 'default(TKey)' instead or add a constraint to 'TKey' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Model/TreeNode.cs#L171
Change this condition so that it does not always evaluate to 'True'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
SheepTools-ci-573
Expired
|
80.2 KB |
|
SheepTools-coverage-ci-573
Expired
|
1.14 MB |
|