Skip to content
Codacy Production / Codacy Static Code Analysis required action Sep 12, 2024 in 0s

6 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 6
           

Complexity increasing per file
==============================
- Ginger/GingerCoreNET/Telemetry/TelemetryQueueManager.cs  2
- Ginger/GingerCoreNET/Telemetry/TelemetryQueue.cs  6
- Ginger/GingerCoreNET/Telemetry/BlockingBufferQueue.cs  4
- Ginger/GingerCoreNET/Telemetry/TelemetryFeatureRecord.cs  1
- Ginger/GingerCoreCommon/Telemetry/TelemetryMetadata.cs  5
- Ginger/GingerCoreNET/Telemetry/TelemetryBaseRecord.cs  1
- Ginger/GingerCoreNET/Telemetry/TelemetryLogRecord.cs  1
- Ginger/GingerCoreNET/Telemetry/TelemetryCollector.cs  3
- Ginger/GingerCoreNET/Telemetry/MockTelemetryCollector.cs  1
- Ginger/GingerCoreNET/Telemetry/FeatureTracker.cs  2
- Ginger/GingerCoreNETUnitTest/Telemetry/BlockingBufferQueueTests.cs  4
- Ginger/GingerCoreNET/Telemetry/TelemetryLiteDB.cs  4
- Ginger/GingerCoreNET/Telemetry/ITelemetryCollector.cs  1
- Ginger/Ginger/Run/RunSetsExecutionsHistoryPage.xaml.cs  4
- Ginger/Ginger/SolutionWindows/TreeViewItems/SharedActivitiesGroupTreeItem.cs  7
- Ginger/GingerCoreNET/Application Models/Learn/POM/PomLearnUtils.cs  2
- Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs  6
         

See the complete overview on Codacy

Annotations

Check failure on line 353 in Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs#L353

Add curly braces around the nested statement(s) in this 'if' block.

Check failure on line 12 in Ginger/GingerCoreCommon/Telemetry/TelemetryMetadata.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreCommon/Telemetry/TelemetryMetadata.cs#L12

Change this constant to a 'static' read-only property.

Check failure on line 108 in Ginger/GingerCoreNET/Telemetry/BlockingBufferQueue.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/Telemetry/BlockingBufferQueue.cs#L108

Either implement 'IDisposable.Dispose', or totally rename this method to prevent confusion.

Check failure on line 110 in Ginger/GingerCoreNET/Telemetry/BlockingBufferQueue.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/Telemetry/BlockingBufferQueue.cs#L110

Add curly braces around the nested statement(s) in this 'if' block.

Check warning on line 21 in Ginger/GingerCoreNET/Telemetry/TelemetryQueue.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/Telemetry/TelemetryQueue.cs#L21

A static field in a generic type is not shared among instances of different close constructed types.

Check failure on line 55 in Ginger/GingerCoreNET/Telemetry/TelemetryQueue.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/Telemetry/TelemetryQueue.cs#L55

Dispose '_cancellationTokenSource' when it is no longer needed.