VCST-244: Fix issues with Money #160
Annotations
11 warnings
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(7,8): warning S1135: Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(26,27): warning S3776: Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(70,76): warning S3358: Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(26,27): warning S1541: The Cyclomatic Complexity of this method is 26 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(42,83): 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-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(43,41): warning S109: Assign this magic number '5' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(46,55): warning S109: Assign this magic number '5' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(46,59): warning S109: Assign this magic number '5' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(48,55): warning S109: Assign this magic number '5' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.csproj]
|
Build
/home/runner/work/vc-module-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/Currency/DefaultMoneyRoundingPolicy.cs(48,59): 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-core/vc-module-core/src/VirtoCommerce.CoreModule.Core/VirtoCommerce.CoreModule.Core.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