Harden Process Bus Insight for v1.3.0-beta.1 #6
release-package.yml
on: push
Validate and package Windows x64
1m 40s
Annotations
21 warnings
|
Validate and package Windows x64
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4344
Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4344
Use 'string.StartsWith(char)' instead of 'string.StartsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4320
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'GooseTrafficRow.EntryTimeText.get' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4275
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'GooseTrafficRow.TimeText.get' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4541
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'SclStreamCatalogRow.ExpectedConfRevText.get' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/Controls/PhasorDiagramControl.cs#L79
In member void PhasorDiagramControl.OnRender(DrawingContext dc), change parameter name dc to drawingContext in order to match the identifier as it has been declared in void UIElement.OnRender(DrawingContext drawingContext) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4460
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'TrafficHealthTargetRow.LastSeenText.get' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4770
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/MainWindow.xaml.cs#L143
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'MainWindow.UpdateWorkspaceActivePill(bool)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.App.Wpf/Controls/WaveformPanelControl.cs#L198
In member void WaveformPanelControl.OnRender(DrawingContext dc), change parameter name dc to drawingContext in order to match the identifier as it has been declared in void UIElement.OnRender(DrawingContext drawingContext) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Capture/NpcapRawFrameSource.cs#L383
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Capture/NpcapRawFrameSource.cs#L343
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Capture/NpcapRawFrameSource.cs#L335
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Decoding/RawProcessBusDecoder.cs#L34
TryDecode calls TryParse but does not explicitly check whether the conversion succeeded. Either use the return value in a conditional statement or verify that the call site expects that the out argument will be set to the default value when the conversion fails. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Decoding/RawProcessBusDecoder.cs#L31
TryDecode calls TryParse but does not explicitly check whether the conversion succeeded. Either use the return value in a conditional statement or verify that the call site expects that the out argument will be set to the default value when the conversion fails. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806)
|
|
Validate and package Windows x64:
src/ProcessBus.Iec61850.Raw/Decoding/RawProcessBusDecoder.cs#L28
TryDecode calls TryParse but does not explicitly check whether the conversion succeeded. Either use the return value in a conditional statement or verify that the call site expects that the out argument will be set to the default value when the conversion fails. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806)
|
|
Validate and package Windows x64:
src/ProcessBus.Core/Services/PcapAdapterCatalog.cs#L128
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
Validate and package Windows x64:
src/ProcessBus.Core/Services/PcapAdapterCatalog.cs#L58
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'PcapAdapterCatalog.GetAdaptersCore()' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.Core/Models/PtpEventItem.cs#L6
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'PtpEventItem.TimeText.get' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Validate and package Windows x64:
src/ProcessBus.Core/Services/Scl/SclSemanticParser.cs#L9
Member 'Load' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ProcessBusInsight-v1.3.0-beta.1-win-x64-portable
|
64.9 MB |
sha256:a5fd53257081e3f28ada0f3d7f4a163812b7e6bd7978c078f63287c8b4c03c82
|
|