Skip to content

Reorder max operation logs #1001

Reorder max operation logs

Reorder max operation logs #1001

Triggered via pull request January 2, 2025 06:47
Status Success
Total duration 3m 59s
Artifacts

dotnet-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test-codebase: src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L20
Argument of type 'Dictionary<object, object>' cannot be used as an output of type 'Dictionary<object, object?>' for parameter 'value' in 'bool ConcurrentDictionary<string, Dictionary<object, object?>>.TryGetValue(string key, out Dictionary<object, object?> value)' due to differences in the nullability of reference types.
test-codebase: src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L117
Dereference of a possibly null reference.
test-codebase: src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/InvalidImportedPackage.cs#L149
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test-codebase: src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/InvalidImportedPackage.cs#L169
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test-codebase: src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/NullPackageManager.cs#L80
Type 'NullSourceHelper' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L40
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L41
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L47
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L48
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L15
Member 'SlowMethod2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
test-codebase: src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L20
Argument of type 'Dictionary<object, object>' cannot be used as an output of type 'Dictionary<object, object?>' for parameter 'value' in 'bool ConcurrentDictionary<string, Dictionary<object, object?>>.TryGetValue(string key, out Dictionary<object, object?> value)' due to differences in the nullability of reference types.
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L40
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L41
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L47
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L48
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L15
Member 'SlowMethod2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L21
Member 'SlowMethod3' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L104
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L105
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L106
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)