Skip to content

Add SonarQube config #12

Add SonarQube config

Add SonarQube config #12

Re-run triggered June 27, 2024 09:28
Status Failure
Total duration 2m 19s
Artifacts

sonarqube.yaml

on: pull_request
static-code-analysis
2m 9s
static-code-analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
static-code-analysis
Process completed with exit code 1.
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: src/AElf.Boilerplate.SystemTransactionGenerator/TransactionGeneratingService.cs#L56
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
static-code-analysis
Import acs6.proto is unused.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs#L17
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs#L6481
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs#L19
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs#L26
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs#L6485
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs#L6511
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs#L6522
The type 'SymbolListToPayTxSizeFee' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs' conflicts with the imported type 'SymbolListToPayTxSizeFee' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs'.
static-code-analysis: test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.g.cs#L6535
The type 'ExtraTokenListModified' in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs' conflicts with the imported type 'ExtraTokenListModified' in 'AElf.Contracts.MultiToken, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/forest-contract/forest-contract/test/Forest.Contracts.MockProxyAccountContract/Protobuf/Generated/TokenContract.c.cs'.