Skip to content

[Improve] code coverage #64

[Improve] code coverage

[Improve] code coverage #64

Triggered via push December 8, 2024 13:01
Status Success
Total duration 1m 36s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: DEH-CSV/CustomProperties/ThingTimeStampedCSVWriter.cs#L32
Rename class 'ThingTimeStampedCSVWriter' to match pascal case naming rules, consider using 'ThingTimeStampedCsvWriter'. (https://rules.sonarsource.com/csharp/RSPEC-101)
Build: DEH-CSV/Mapping/TypeMap.cs#L45
Make the 'Properties' property read-only by removing the property setter or making it private. (https://rules.sonarsource.com/csharp/RSPEC-4004)
Build: DEH-CSV/Services/IterationReader.cs#L77
Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457)
Build: DEH-CSV/CsvReader.cs#L74
Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457)
Build: DEH-CSV/CustomProperties/ThingTimeStampPropertyEvaluator.cs#L69
Prefer using "DateTimeOffset" instead of "DateTime" (https://rules.sonarsource.com/csharp/RSPEC-6566)
Build: DEH-CSV/CustomProperties/ThingTimeStampPropertyEvaluator.cs#L69
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
Build: DEH-CSV/CsvReader.cs#L149
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: DEH-CSV/CsvWriter.cs#L150
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: DEH-CSV/CsvWriter.cs#L303
Make 'QueryFileName' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: DEH-CSV/CsvReader.cs#L234
Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)