Skip to content

Added basic end2end tests #245

Added basic end2end tests

Added basic end2end tests #245

Triggered via pull request December 19, 2024 22:02
Status Success
Total duration 16m 13s
Artifacts

codeql.yml

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

Annotations

10 warnings
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/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/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#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/CdpAppBase.cs#L42
Ensure that 'CdpAppBase.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpAppBase.cs#L11
Provide an overridable implementation of Dispose(bool) on 'CdpAppBase' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpChannel.cs#L73
Ensure that 'CdpChannel.System.IDisposable.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)