VCST-2346: Generating URLs and titles when importing and creating catalog #778
Annotations
11 warnings
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/ModuleConstants.cs(183,36): warning S109: Assign this magic number '25' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/VirtoCommerce.CatalogModule.Core.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(38,35): warning S107: Constructor has 13 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(57,27): warning S138: This method 'DoExportAsync' has 81 lines, which is greater than the 80 lines authorized. Split it into smaller methods. (https://rules.sonarsource.com/csharp/RSPEC-138) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(268,28): warning S3776: Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(268,28): warning S1541: The Cyclomatic Complexity of this method is 19 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(338,64): warning S109: Assign this magic number '50' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(268,28): warning S138: This method 'ImportCategoriesAsync' has 83 lines, which is greater than the 80 lines authorized. Split it into smaller methods. (https://rules.sonarsource.com/csharp/RSPEC-138) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(449,29): warning S2583: Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(467,29): warning S3776: Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(467,29): warning S1541: The Cyclomatic Complexity of this method is 17 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
Get Changelog
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading