Skip to content

Send-UI improvements #153

Send-UI improvements

Send-UI improvements #153

Triggered via pull request January 5, 2024 16:09
Status Success
Total duration 14m 45s
Artifacts

codeql.yml

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

Annotations

13 warnings
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)
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/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#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#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#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#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): 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): 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/EndianWriter.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#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)