Skip to content

VCST-1352: add XOrder module #4

VCST-1352: add XOrder module

VCST-1352: add XOrder module #4

Triggered via pull request July 11, 2024 16:54
Status Success
Total duration 2m 13s
Artifacts

module-ci.yml

on: pull_request
module-katalon-tests  /  e2e-tests
module-katalon-tests / e2e-tests
Matrix: deploy-cloud / Deploy
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Authorization/CanAccessOrderAuthorizationHandler.cs(30,39): warning S1541: The Cyclomatic Complexity of this method is 13 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Authorization/CanAccessOrderAuthorizationHandler.cs(97,29): warning S1541: The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Queries/SearchPaymentsQuery.cs(24,77): warning S109: Assign this magic number '10' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Schemas/CustomerOrderType.cs(21,16): warning S138: This constructor 'CustomerOrderType' has 139 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-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Schemas/OrderLineItemType.cs(27,16): warning S138: This constructor 'OrderLineItemType' has 104 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-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Mapping/OrderMappingProfile.cs(40,22): warning S1541: The Cyclomatic Complexity of this method is 13 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/VirtoCommerce.XOrder.Data.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Schemas/OrderSchema.cs(57,21): warning S138: This method 'Build' has 146 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-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/VirtoCommerce.XOrder.Data.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Authorization/CanAccessOrderAuthorizationHandler.cs(30,39): warning S1541: The Cyclomatic Complexity of this method is 13 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Authorization/CanAccessOrderAuthorizationHandler.cs(97,29): warning S1541: The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]
ci
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/Queries/SearchPaymentsQuery.cs(24,77): warning S109: Assign this magic number '10' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Core/VirtoCommerce.XOrder.Core.csproj]