Batch Approve #90
sonarqube.yaml
on: pull_request
static-code-analysis
2m 10s
Annotations
1 error and 12 warnings
static-code-analysis
Process completed with exit code 1.
|
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 uses Node.js version which is deprecated 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 authority_info.proto is unused.
|
static-code-analysis
Import aedpos_contract.proto is unused.
|
static-code-analysis
Import authority_info.proto is unused.
|
static-code-analysis
Import aedpos_contract.proto is unused.
|
static-code-analysis
Import aedpos_contract.proto is unused.
|
static-code-analysis:
contract/Forest/ForestContract_Sellers.cs#L258
The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
|
static-code-analysis:
contract/Forest/Services/MakeOfferService.cs#L17
The field 'MakeOfferService._whitelistContract' is never used
|
static-code-analysis:
src/AElf.Boilerplate.TestBase/DAppContractTestDeploymentListProvider.cs#L24
'MainChainDAppContractTestDeploymentListProvider.GetDeployContractNameList()' hides inherited member 'MainChainContractDeploymentListProvider.GetDeployContractNameList()'. Use the new keyword if hiding was intended.
|
static-code-analysis:
src/AElf.Boilerplate.TestBase/DAppContractTestDeploymentListProvider.cs#L11
'SideChainDAppContractTestDeploymentListProvider.GetDeployContractNameList()' hides inherited member 'SideChainContractDeploymentListProvider.GetDeployContractNameList()'. Use the new keyword if hiding was intended.
|
static-code-analysis:
test/Forest.Contracts.Inscription.Tests/InscriptionContractTests_ACS2.cs#L13
Public method 'ACS2_GetResourceInfo_Inscribe_Test' on test class 'InscriptionContractTests' should be marked as a Fact. (https://xunit.github.io/xunit.analyzers/rules/xUnit1013)
|