Skip to content

Visualize transport upgrade #238

Visualize transport upgrade

Visualize transport upgrade #238

Triggered via pull request October 22, 2024 09:56
Status Success
Total duration 13m 21s
Artifacts

codeql.yml

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

Annotations

11 warnings
Analyze (csharp)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L22
Member 'HostCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L23
Member 'ClientCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L99
Member '_requestId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)