Skip to content

Bring back Qodana scanner #1526

Bring back Qodana scanner

Bring back Qodana scanner #1526

Triggered via push January 27, 2025 16:09
Status Success
Total duration 7m 52s
Artifacts 3

build.yml

on: push
Matrix: build-nativeaot
Matrix: build
notify-discord
2s
notify-discord
Fit to window
Zoom out
Zoom in

Annotations

181 warnings
build (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.TaskScheduler/Program.cs#L157
Dereference of a possibly null reference.
build (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.Core/Classes/Shared/Region/LauncherConfig.cs#L332
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L732
Using member 'Microsoft.Xaml.Interactivity.ChangePropertyAction.ChangePropertyAction()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This action is not trim-safe.
build (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L730
Using member 'Microsoft.Xaml.Interactivity.DataTriggerBehavior.DataTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.Core/Classes/Shared/Region/LauncherConfig.cs#L332
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L730
Using member 'Microsoft.Xaml.Interactivity.DataTriggerBehavior.DataTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L732
Using member 'Microsoft.Xaml.Interactivity.ChangePropertyAction.ChangePropertyAction()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This action is not trim-safe.
notify-discord
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Collection content is never queried (non-private accessibility): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFBlock.cs#L149
Content of collection 'UniqueID' is only updated but never used
Collection content is never queried (non-private accessibility): Hi3Helper.Win32/ShellLinkCOM/Win32FindDataW.cs#L28
Content of collection 'cAlternateFileName' is only updated but never used
Collection content is never queried (non-private accessibility): CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEAgreementMenu.xaml.cs#L38
Content of collection 'MarkdownFileList' is only updated but never used
Collection content is never queried (non-private accessibility): Hi3Helper.Win32/ShellLinkCOM/Win32FindDataW.cs#L22
Content of collection 'cFileName' is only updated but never used
Collection content is never queried (non-private accessibility): InnoSetupHelper/InnoSetupLogParser/Parser.cs#L29
Content of collection 'ReservedHeaderBytes' is only updated but never used
Member initialized value ignored: Hi3Helper.SharpDiscordRPC/DiscordRPC/IO/ManagedNamedPipeClient.cs#L50
Field initializer value ignored during initialization
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/Registry/UnixUriSchemeCreator.cs#L33
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/Registry/UriScheme.cs#L51
Value assigned is not used in any execution path
Redundant using directive: H.NotifyIcon/src/libs/H.NotifyIcon/EfficiencyMode/EfficiencyModeUtilities.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: ImageEx/ImageEx/ImageEx.cs#L5
Using directive is not required by the code and can be safely removed
Struct lacks 'IEquatable' implementation (non-private accessibility): Hi3Helper.Core/Data/IniValue.cs#L11
Implement 'IEquatable' interface to avoid boxing when using struct equality in a generic context
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L59
Auto-property accessor 'FileSizeLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): ImageEx/ImageEx/ImageExFailedEventArgs.cs#L37
Auto-property accessor 'ErrorMessage.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L50
Auto-property accessor 'CgPathLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.Http/Legacy/Session/Session.cs#L370
Auto-property accessor 'SessionRetryAttempt.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L61
Auto-property accessor 'FileSizeLowBitrateJP.get' is never used
Auto-property accessor is never used (non-private accessibility): SevenZipExtractor/SevenZipExtractor/Entry.cs#L58
Auto-property accessor 'LastAccessTime.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.Win32/ToastCOM/Notification/ToastAction.cs#L16
Auto-property accessor 'AfterActivationBehaviour.set' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L52
Auto-property accessor 'CgPathLowBitrateJP.get' is never used
Unused local variable: Hi3Helper.SharpDiscordRPC/DiscordRPC/RichPresence.cs#L802
Local variable 'uriResult' is never used
Path error: ImageEx/ImageEx/Themes/Generic.xaml#L4
Path 'D:\\a\\Collapse\\Collapse\\ImageEx\\ImageEx\\ImageEx' is not found
Path error: ImageEx/ImageEx/Themes/Generic.xaml#L4
Path 'D:\\a\\Collapse\\Collapse\\ImageEx\\ImageEx\\ImageEx\\ImageEx.xaml' is not found
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1237
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1235
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1305
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1210
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1262
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1212
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1303
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/GameSettingsPages/HonkaiGameSettingsPage.xaml#L210
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1236
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1263
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1211
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1264
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml#L1304
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Redundant namespace alias: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L8
Namespace alias 'p' is not required by code and can be safely removed
Redundant namespace alias: CollapseLauncher/XAMLs/MainApp/Pages/GameSettingsPages/GenshinGameSettingsPage.xaml#L7
Namespace alias 'controls' is not required by code and can be safely removed
Redundant namespace alias: CollapseLauncher/XAMLs/MainApp/TrayIcon.xaml#L5
Namespace alias 'local' is not required by code and can be safely removed
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L123
Equal value provided by style 'DefaultComboBoxStyle'
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml#L189
Equal value provided by style 'WindowCaptionButton'
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml#L199
Equal value provided by style 'WindowCaptionButton'
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L114
Equal value provided by style 'DefaultComboBoxStyle'

Artifacts

Produced during runtime
Name Size
aot-experimental-symbols_collapse_x64-Debug_net9.0-windows10.0.22621.0_c29b6600e644297b8031fb78d20294b67fa30224
60.3 MB
aot-experimental_collapse_x64-Debug_net9.0-windows10.0.22621.0_c29b6600e644297b8031fb78d20294b67fa30224
63.1 MB
collapse_x64-Debug_net9.0-windows10.0.22621.0_c29b6600e644297b8031fb78d20294b67fa30224
79.1 MB