Skip to content

[Use] MappingProvider insteand of IMappingProvider in tests #60

[Use] MappingProvider insteand of IMappingProvider in tests

[Use] MappingProvider insteand of IMappingProvider in tests #60

Triggered via push December 8, 2024 10:57
Status Success
Total duration 1m 13s
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/CsvWriter.cs#L284
Add a new line at the end of the file 'CsvWriter.cs'. (https://rules.sonarsource.com/csharp/RSPEC-113)
Build: DEH-CSV/ICsvWriter.cs#L66
Add a new line at the end of the file 'ICsvWriter.cs'. (https://rules.sonarsource.com/csharp/RSPEC-113)
Build: DEH-CSV/Properties/AssemblyInfo.cs#L22
Add a new line at the end of the file 'AssemblyInfo.cs'. (https://rules.sonarsource.com/csharp/RSPEC-113)
Build: DEH-CSV/CustomProperties/ThingTimeStampedCSVWriter.cs#L31
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/CustomProperties/ThingTimeStampPropertyEvaluator.cs#L64
Refactor this method to add validation of parameter 'thing' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
Build: DEH-CSV/CustomProperties/ThingTimeStampPropertyEvaluator.cs#L64
Prefer using "DateTimeOffset" instead of "DateTime" (https://rules.sonarsource.com/csharp/RSPEC-6566)
Build: DEH-CSV/CustomProperties/ThingTimeStampPropertyEvaluator.cs#L64
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
Build: DEH-CSV/CustomProperties/ThingTimeStampedCSVWriter.cs#L59
Refactor this method to add validation of parameter 'propertyMap' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
Build: DEH-CSV/Services/IterationReader.cs#L80
Refactor this method to add validation of parameter 'session' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)