Skip to content

Use dotnet tool for sonarscanner (#267) #905

Use dotnet tool for sonarscanner (#267)

Use dotnet tool for sonarscanner (#267) #905

Triggered via push December 9, 2023 17:45
Status Success
Total duration 4m 21s
Artifacts 1

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/SimpleAccounting/Reports/ReportBase.cs#L36
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L59
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L60
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L65
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Model/ProjectData.cs#L27
Split this class into smaller and more specialized ones to reduce its dependencies on other types from 33 to the maximum authorized 30 or less. (https://rules.sonarsource.com/csharp/RSPEC-1200)
build: src/SimpleAccounting/App.xaml.cs#L29
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
build: src/SimpleAccounting/Extensions/DateTimeExtensions.cs#L20
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
build: src/SimpleAccounting/Reports/AnnualBalanceReport.cs#L33
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Model/AccountingData.Extensions.cs#L64
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Reports/AccountJournalReport.cs#L47
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/SimpleAccounting/Reports/ReportBase.cs#L36
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L59
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L60
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Presentation/ImportBookingsDesignViewModel.cs#L65
Use a testable (date) time provider instead. (https://rules.sonarsource.com/csharp/RSPEC-6354)
build: src/SimpleAccounting/Model/ProjectData.cs#L27
Split this class into smaller and more specialized ones to reduce its dependencies on other types from 33 to the maximum authorized 30 or less. (https://rules.sonarsource.com/csharp/RSPEC-1200)
build: src/SimpleAccounting/App.xaml.cs#L29
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
build: src/SimpleAccounting/Abstractions/DotNetProcess.cs#L21
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
build: src/SimpleAccounting/Extensions/DateTimeExtensions.cs#L20
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
build: src/SimpleAccounting/Infrastructure/ImportFileLoader.cs#L63
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
build: src/SimpleAccounting/Infrastructure/ImportFileLoader.cs#L67
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)

Artifacts

Produced during runtime
Name Size
SimpleAccounting Expired
162 MB