Repository navigation
P0: real SV phasor angles, nominal 4I+4V presentation and honest sync diagnostics #143
candidate-package.yml
on: pull_request
Build verified Windows x64 candidate
1m 20s
Annotations
20 warnings
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4589
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4774
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4855
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/Controls/PhasorDiagramControl.cs#L319
Change return type of method 'CreateBrush' from 'System.Windows.Media.Brush' to 'System.Windows.Media.SolidColorBrush' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L5084
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)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/Controls/PhasorDiagramControl.cs#L81
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/Controls/WaveformPanelControl.cs#L179
Do not use Enumerable methods on indexable collections. Instead use the collection directly. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1826)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/Controls/WaveformPanelControl.cs#L177
Do not use Enumerable methods on indexable collections. Instead use the collection directly. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1826)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/Controls/WaveformPanelControl.cs#L158
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Interop/PcapInteropInspector.cs#L348
Member 'IsPhysicallyAccepted' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Runtime/SvRuntimeSnapshot.cs#L169
Use 'ArgumentOutOfRangeException.ThrowIfNegative' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1512)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Analysis/RollingJitterWindow.cs#L23
Use 'ArgumentOutOfRangeException.ThrowIfNegativeOrZero' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1512)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
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)
|
|
Build verified Windows x64 candidate:
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.4.0-beta.2-win-x64-candidate-143
|
93.7 MB |
sha256:048bf39f51512c903c00990a491e1e759f17a6bb085042dbc68d02688103d3ff
|
|