Skip to content

Use FileDescriptor from MediaStore for random file access (#130) #163

Use FileDescriptor from MediaStore for random file access (#130)

Use FileDescriptor from MediaStore for random file access (#130) #163

Triggered via push February 9, 2024 15:02
Status Success
Total duration 16m 52s
Artifacts

codeql.yml

on: push
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-java@v2, actions/setup-dotnet@v3, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Analyze (csharp)
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/
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L15
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L15
get_ItemsSource creates an exception of type NullReferenceException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
Analyze (csharp): lib/ShortDev.Android/UI/ListAdapter.cs#L23
In externally visible method 'View ListAdapter<T>.GetView(int position, View? convertView, ViewGroup? parent)', validate parameter 'parent' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L60
In externally visible method 'void RecyclerViewAdapter<T>.OnBindViewHolder(ViewHolder holder, int position)', validate parameter 'holder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L65
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L64
In externally visible method 'ViewHolder RecyclerViewAdapter<T>.OnCreateViewHolder(ViewGroup parent, int viewType)', validate parameter 'parent' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): ShortDev.Networking/EndianReader.cs#L12
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianReader.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianWriter.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianBuffer.cs#L7
EndianBuffer should override Equals (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)