Skip to content

VCST-1811: Extend Product schema with PackSize (#12) #67

VCST-1811: Extend Product schema with PackSize (#12)

VCST-1811: Extend Product schema with PackSize (#12) #67

Triggered via push September 20, 2024 16:33
Status Success
Total duration 6m 6s
Artifacts

module-ci.yml

on: push
module-katalon-tests  /  e2e-tests
module-katalon-tests / e2e-tests
Matrix: deploy-cloud / Deploy
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
ci
Cloning into '/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/artifacts/vc-modules'...
ci
ab317f05..0f810927 HEAD -> master
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Models/ExpProductResponseGroup.cs(6,17): warning S2342: Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Extensions/RewardExtensions.cs(14,28): warning S3776: Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Extensions/RewardExtensions.cs(60,25): warning S134: Refactor this code to not nest more than 3 control flow statements. (https://rules.sonarsource.com/csharp/RSPEC-134) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Models/ExpProduct.cs(110,29): warning S3776: Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Models/ExpProduct.cs(157,25): warning S134: Refactor this code to not nest more than 3 control flow statements. (https://rules.sonarsource.com/csharp/RSPEC-134) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Extensions/OutlineExtensions.cs(117,47): warning S1541: The Cyclomatic Complexity of this method is 12 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Schemas/CategoryType.cs(26,16): warning S3776: Refactor this constructor to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Schemas/CategoryType.cs(26,16): warning S1541: The Cyclomatic Complexity of this constructor is 20 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Schemas/CategoryType.cs(26,16): warning S138: This constructor 'CategoryType' has 121 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-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/Schemas/CategoryType.cs(188,37): warning S3267: Loop should be simplified by calling Select(outline => outline.Items)) (https://rules.sonarsource.com/csharp/RSPEC-3267) [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Core/VirtoCommerce.XCatalog.Core.csproj]
ci
/usr/share/dotnet/sdk/8.0.401/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/vc-module-x-catalog/vc-module-x-catalog/src/VirtoCommerce.XCatalog.Web/VirtoCommerce.XCatalog.Web.csproj]