Skip to content

Create a new TaskRecycler class to cache reusable function calls #751

Create a new TaskRecycler class to cache reusable function calls

Create a new TaskRecycler class to cache reusable function calls #751

Triggered via pull request November 5, 2024 11:41
Status Success
Total duration 3m 11s
Artifacts

dotnet-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
test-codebase: src/UniGetUI.Core.Classes/TaskRecycler.cs#L113
Member 'DeduplicatedCalls' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
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#L61
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#L62
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#L69
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)