Repository navigation
UX: quiet analyzer hierarchy, aligned phase metering and static waveform canvas #164
runtime-stability.yml
on: pull_request
Deterministic multi-stream stability gate
1m 18s
Annotations
10 warnings
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
src/ProcessBus.Iec61850.Raw/Analysis/RawProcessBusAnalyzer.cs#L312
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)
|
|
Deterministic multi-stream stability gate:
src/ProcessBus.Iec61850.Raw/Analysis/RawProcessBusAnalyzer.cs#L311
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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)
|
|
Deterministic multi-stream stability gate:
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 | |
|---|---|---|---|
|
runtime-stability-39020498275
|
6.27 KB |
sha256:178cc3114aafbbf869b1d99b2bac0df02fc3e194bc136b706b7b6bb4b4246436
|
|