VCST-2241: add scoped schema (#15) #83
Annotations
2 errors and 11 warnings
Publish Manifest
Cloning into '/home/runner/work/vc-module-x-order/vc-module-x-order/artifacts/vc-modules'...
|
Publish Manifest
Target "PublishManifestGit" has thrown an exception
|
Build
/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]
|
Build
/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 108 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]
|
Build
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Middlewares/ShipmentContextMiddleware.cs(25,27): warning S4457: Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/VirtoCommerce.XOrder.Data.csproj]
|
Build
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Authorization/CanAccessOrderAuthorizationHandler.cs(31,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.Data/VirtoCommerce.XOrder.Data.csproj]
|
Build
/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]
|
Build
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/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.Data/VirtoCommerce.XOrder.Data.csproj]
|
Build
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Schemas/OrderSchema.cs(58,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]
|
Build
/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]
|
Build
/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 108 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]
|
Build
/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/Middlewares/ShipmentContextMiddleware.cs(25,27): warning S4457: Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457) [/home/runner/work/vc-module-x-order/vc-module-x-order/src/VirtoCommerce.XOrder.Data/VirtoCommerce.XOrder.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