Skip to content

Resizable Game Window #22

Resizable Game Window

Resizable Game Window #22

Triggered via pull request January 27, 2024 12:42
Status Success
Total duration 4m 15s
Artifacts

qodana-scan-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

182 warnings
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L117
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L121
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L121
Possible 'null' assignment to non-nullable entity
Check dependency licenses: Hi3Helper.EncTool/Hi3Helper.EncTool.csproj#L28
'Google.Protobuf.Tools' ('3.25.2') 'PROTOBUF' is not in the allowed or the prohibited licenses lists with project license 'MIT'
Conditional access qualifier expression is not null according to nullable reference types' annotations: Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L66
Conditional access qualifier expression is never null according to nullable reference types' annotations
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L259
Use not null pattern instead of a type check succeeding on any not-null value
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L261
Use not null pattern instead of a type check succeeding on any not-null value
Heuristically unreachable code: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L54
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L240
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L236
Code is heuristically unreachable
RoslynAnalyzers 'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations.: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L60
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The generic parameter 'T' of 'Hi3Helper.EncTool.TypeExtensions.IsInstancePropertyEqual(T, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
RoslynAnalyzers 'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations.: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L63
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The generic parameter 'T' of 'Hi3Helper.EncTool.TypeExtensions.IsInstancePropertyEqual(T, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
RoslynAnalyzers 'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations.: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L64
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The generic parameter 'T' of 'Hi3Helper.EncTool.TypeExtensions.IsInstancePropertyEqual(T, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L240
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L101
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L174
Possible overflow in unchecked context
Invalid XML documentation comment: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs#L24
Parameter 'xmfFS' has no matching param tag in the XML comment for Hi3Helper.EncTool.Parser.AssetMetadata.XMFUtility.GetXMFVersion (but other parameters do)
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L279
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L265
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L258
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L251
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L272
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Streams/CacheStream/CacheStream.cs#L61
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L287
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L244
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/UABT/UABT/AssetBundle/TextAsset.cs#L35
Return value of method is not used. Fewer bytes can be read than requested
Non-accessed field (private accessibility): Hi3Helper.EncTool/Streams/CacheStream/CacheStream.cs#L23
Field '_allowDispose' is assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/Lua/SRLuaMetadata.cs#L28
Local variable 'ver' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L80
Local variable 'numA4' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/UABT/UABT/AssetBundle/BundleFile.cs#L40
Local variable 'a' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L81
Local variable 'numA5' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L79
Local variable 'numA3' is only assigned but its value is never used
Cannot resolve symbol in text argument: Hi3Helper.EncTool/Streams/ChunkStream.cs#L30
Cannot resolve symbol 'Offset is out of stream size range!'
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L54
Parameter cancellationToken in base method 'ValueTask ReadAsync(Memory, CancellationToken)' has default value
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L98
Parameter cancellationToken in base method 'ValueTask WriteAsync(ReadOnlyMemory, CancellationToken)' has default value
Parameter hides member: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L12
Parameter 'Padding' hides field 'RSAEncryptionPadding Hi3Helper.EncTool.YSDispatchDec.Padding'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'input' hides field 'Stream Hi3Helper.UABT.LZ4.LZ4DecoderStream.input'
Parameter hides member: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L12
Parameter 'EncBitlength' hides field 'int Hi3Helper.EncTool.YSDispatchDec.EncBitlength'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'inputLength' hides field 'long Hi3Helper.UABT.LZ4.LZ4DecoderStream.inputLength'
The source expression always matches the provided pattern: Hi3Helper.EncTool/Misc/ConverterTool.cs#L257
The source expression always matches the provided pattern
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L64
Possible 'System.NullReferenceException'
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L63
Possible 'System.NullReferenceException'
Assignment is not used: Hi3Helper.EncTool/UABT/UABT/AssetBundle/BundleFile.cs#L41
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Hashes/HexTool.cs#L117
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Streams/SpanStream.cs#L31
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/WindowTool/ResizableWindowHook/ResizableWindowHook.cs#L17
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/Lua/SRLuaMetadata.cs#L32
Value assigned is not used in any execution path
Redundant 'base.' qualifier: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L15
Qualifier 'base.' is redundant
Redundant 'base.' qualifier: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L27
Qualifier 'base.' is redundant
Redundant 'base.' qualifier: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L40
Qualifier 'base.' is redundant
Redundant 'base.' qualifier: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L14
Qualifier 'base.' is redundant
Redundant 'base.' qualifier: Hi3Helper.EncTool/Hashes/YSDispatchDec.cs#L27
Qualifier 'base.' is redundant
Redundant control flow jump statement: Hi3Helper.Core/Classes/Data/InvokeProp.cs#L212
Redundant control flow jump statement
Redundant using directive: Hi3Helper.EncTool/UABT/LZ4/LZ4CodecHelperEncodeDecode.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.EncTool/UABT/UABT/AssetBundle/Structs/Binary/EndianBinaryReader.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.EncTool/Misc/ConverterTool.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.EncTool/WindowTool/ResizableWindowHook/PInvoke.cs#L1
Using directive is not required by the code and can be safely removed
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L184
Local variable 'ptrToPckType' is never used
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L183
Local variable 'ptrToCgIconSpritePath' is never used
Unused local variable: Hi3Helper.EncTool/Misc/ConverterTool.cs#L114
Local variable 'inputSignedPtr' is never used
Unused local variable: Hi3Helper.EncTool/Parser/AssetIndex/AssetIndexV2.cs#L118
Local variable 'read' is never used
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L219
Local variable 'partSizeToRead' is never used
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, JetBrains/qodana-action@latest, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
qodana
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/