Skip to content

Sync master

Sync master #101

Triggered via pull request August 21, 2024 02:57
Status Success
Total duration 7m 44s
Artifacts

sonarqube.yaml

on: pull_request
static-code-analysis
7m 32s
static-code-analysis
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
static-code-analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
static-code-analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v1, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static-code-analysis
Import aedpos_contract.proto is unused.
static-code-analysis
Import aedpos_contract.proto is unused.
static-code-analysis: src/AElf.Boilerplate.SystemTransactionGenerator/TransactionGeneratingService.cs#L56
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
static-code-analysis: src/AElf.Boilerplate.MainChain/ContractInitDataProviders/AEDPoSContractInitializationDataProvider.cs#L8
Rename class 'AEDPoSContractInitializationDataProvider' to match pascal case naming rules, consider using 'AedPoSContractInitializationDataProvider'. (https://rules.sonarsource.com/csharp/RSPEC-101)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract.cs#L13
Define a constant instead of using this literal 'Invalid input.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract_Action.cs#L17
Define a constant instead of using this literal 'Invalid input.' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract_Action.cs#L75
Define a constant instead of using this literal 'Invalid drop id.' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract_Action.cs#L76
Define a constant instead of using this literal 'Invalid drop state.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract_Action.cs#L138
Rename parameter 'dropId' to 'input' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
static-code-analysis: contract/Forest.Contracts.Drop/DropContract_Action.cs#L18
'input' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)