Repository navigation
fix(sv): truthful per-stream engineering scales, no-SCL 4I4V profile, safe power #62
candidate-package.yml
on: pull_request
Build verified Windows x64 candidate
1m 19s
Annotations
20 warnings
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4380
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4360
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'GooseTrafficRow.DatasetEntryCountText.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/ViewModels/MainWindowViewModel.cs#L4356
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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.App.Wpf/ViewModels/MainWindowViewModel.cs#L4311
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#L4496
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#L4577
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/ViewModels/MainWindowViewModel.cs#L4806
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/Controls/WaveformPanelControl.cs#L219
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#L217
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#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)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Analysis/RawProcessBusAnalyzer.cs#L420
The behavior of 'ushort.ToString()' could vary based on the current user's locale settings. Replace this call in 'RawProcessBusAnalyzer.TrackPtpEvent(PtpMessage)' with a call to 'ushort.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Replay/ProcessBusReplaySession.cs#L36
Method Replay passes 'MaximumFrames' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Replay/PcapReplayReader.cs#L12
Use 'ArgumentOutOfRangeException.ThrowIfLessThan' 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/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/RawProcessBusAnalyzer.cs#L269
The behavior of 'uint.ToString()' could vary based on the current user's locale settings. Replace this call in 'RawProcessBusAnalyzer.ResolveSvMappingProfile(ProcessBusFrame, SampledValueAsdu)' with a call to 'uint.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Build verified Windows x64 candidate:
src/ProcessBus.Iec61850.Raw/Analysis/RawProcessBusAnalyzer.cs#L268
The behavior of 'ushort.ToString()' could vary based on the current user's locale settings. Replace this call in 'RawProcessBusAnalyzer.ResolveSvMappingProfile(ProcessBusFrame, SampledValueAsdu)' with a call to 'ushort.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
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/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)
|
|
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)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ProcessBusInsight-v1.4.0-beta.2-win-x64-candidate-62
|
65 MB |
sha256:4509a2b45bf357fb51c1a6fa474484c29fee5b4d8b7d64f392e1e45e4f384dee
|
|