Add a SonarQube configuration file to implement static code analysis #18
sonarqube.yaml
on: pull_request
static-code-analysis
4m 3s
Annotations
10 errors and 12 warnings
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract.cs#L2
The type or namespace name 'Treasury' does not exist in the namespace 'AElf.Contracts' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ACS11_CrossChainInformationProvider.cs#L2
The type or namespace name 'MultiToken' does not exist in the namespace 'AElf.Contracts' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ACS1_TransactionFeeProvider.cs#L3
The type or namespace name 'Standards' does not exist in the namespace 'AElf' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ACS1_TransactionFeeProvider.cs#L4
The type or namespace name 'Standards' does not exist in the namespace 'AElf' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ACS4_ConsensusInformationProvider.cs#L2
The type or namespace name 'Standards' does not exist in the namespace 'AElf' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_GetConsensusCommand.cs#L3
The type or namespace name 'Standards' does not exist in the namespace 'AElf' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_MaximumMinersCount.cs#L2
The type or namespace name 'Election' does not exist in the namespace 'AElf.Contracts' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_NextTerm.cs#L2
The type or namespace name 'Election' does not exist in the namespace 'AElf.Contracts' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_NextTerm.cs#L5
The type or namespace name 'Standards' does not exist in the namespace 'AElf' (are you missing an assembly reference?)
|
static-code-analysis:
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ProcessConsensusInformation.cs#L3
The type or namespace name 'Election' does not exist in the namespace 'AElf.Contracts' (are you missing an assembly reference?)
|
static-code-analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
Import economic_contract.proto is unused.
|
static-code-analysis:
src/AElf.Types/Protobuf/FileDescriptorExtensions.cs#L10
'FileDescriptor.CustomOptions' is obsolete: 'CustomOptions are obsolete. Use the GetOptions() method.'
|
static-code-analysis:
src/AElf.Cryptography/ECVRF/Vrf.cs#L109
The variable 'ex' is declared but never used
|
static-code-analysis:
src/AElf.Types/Protobuf/FileDescriptorExtensions.cs#L10
'FileDescriptor.CustomOptions' is obsolete: 'CustomOptions are obsolete. Use the GetOptions() method.'
|
static-code-analysis:
src/AElf.Database/DatabaseServiceCollectionExtensions.cs#L22
'IConnectionStringResolver.Resolve(string)' is obsolete: 'Use ResolveAsync method.'
|
static-code-analysis:
src/AElf.WebApp.Application.Core/AElfAppService.cs#L5
Missing XML comment for publicly visible type or member 'AElfAppService'
|
static-code-analysis:
src/AElf.Cryptography/ECVRF/Vrf.cs#L109
The variable 'ex' is declared but never used
|
static-code-analysis
Import profit_contract.proto is unused.
|
static-code-analysis:
test/AElf.Database.Tests/TestsDatabaseAElfModule.cs#L17
'IConnectionStringResolver.Resolve(string)' is obsolete: 'Use ResolveAsync method.'
|
static-code-analysis:
test/AElf.Database.Tests/TestsDatabaseAElfModule.cs#L18
'IConnectionStringResolver.Resolve(string)' is obsolete: 'Use ResolveAsync method.'
|