Skip to content

Fix issues with High CPU Usage on background #1145

Fix issues with High CPU Usage on background

Fix issues with High CPU Usage on background #1145

Triggered via pull request February 8, 2025 23:13
Status Failure
Total duration 3m 25s
Artifacts

dotnet-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
test-codebase: src/UniGetUI/MainWindow.xaml.cs#L170
Type 'MainWindow' already defines a member called 'AddToSubtitle' with the same parameter types
test-codebase: src/UniGetUI/MainWindow.xaml.cs#L178
Type 'MainWindow' already defines a member called 'ClearSubtitle' with the same parameter types
test-codebase: src/UniGetUI/MainWindow.xaml.cs#L170
Type 'MainWindow' already defines a member called 'AddToSubtitle' with the same parameter types
test-codebase: src/UniGetUI/MainWindow.xaml.cs#L178
Type 'MainWindow' already defines a member called 'ClearSubtitle' with the same parameter types
test-codebase
Process completed with exit code 1.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L11
Non-nullable property 'InterfaceType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L16
Non-nullable property 'ProjectedClassType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L21
Non-nullable property 'Clsids' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L33
Possible null reference return.
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#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#L11
Type 'TestClass' 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.Settings.Tests/SettingsTest.cs#L117
Dereference of a possibly null reference.
test-codebase: src/UniGetUI.Core.Tools/DWMThreadHelper.cs#L134
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
test-codebase: src/UniGetUI.Core.IconStore/IconCacheEngine.cs#L233
Remove unused parameter 'extension' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0060)