Skip to content

feat(core): refactor file collector for more customization #377

feat(core): refactor file collector for more customization

feat(core): refactor file collector for more customization #377

Triggered via pull request May 26, 2024 10:16
Status Success
Total duration 5m 12s
Artifacts

dotnet-desktop-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/setup-dotnet@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/BSH.Engine/Jobs/BackupJob.cs#L105
Refactor this method to reduce its Cognitive Complexity from 44 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: src/BSH.Engine/Jobs/BackupJob.cs#L216
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L295
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L299
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L308
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L321
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L348
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L517
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Engine/Jobs/BackupJob.cs#L568
Refactor this method to reduce its Cognitive Complexity from 46 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: src/BSH.Engine/Jobs/BackupJob.cs#L588
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/BSH.Service/VSS/XCopy.cs#L29
Cannot convert null literal to non-nullable reference type.
build: src/BSH.Service/VSS/XCopy.cs#L43
Non-nullable event 'Completed' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
build: src/BSH.Service/VSS/XCopy.cs#L43
Non-nullable event 'ProgressChanged' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
build: src/BSH.Service/VSSService.cs#L31
Dereference of a possibly null reference.
build: src/BSH.Service/VSSService.cs#L22
Non-nullable field 'exception' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/BSH.Service/VSS/Snapshot.cs#L27
Non-nullable field '_props' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/BSH.Service/VSS/VssBackup.cs#L38
Non-nullable field '_backup' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/BSH.Service/VSS/VssBackup.cs#L38
Non-nullable field '_snap' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/BSH.Service/VSS/VssBackup.cs#L70
Cannot convert null literal to non-nullable reference type.
build: src/BSH.Service/VSS/VssBackup.cs#L76
Cannot convert null literal to non-nullable reference type.