Skip to content

Add SonarQube config #14

Add SonarQube config

Add SonarQube config #14

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

sonarqube.yaml

on: pull_request
static-code-analysis
2m 11s
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
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: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Helper.cs#L92
Remove the unused private method 'GetDefaultParliamentController'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Admin.cs#L79
Define a constant instead of using this literal 'Invalid param' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Admin.cs#L151
Define a constant instead of using this literal 'Price token ' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Admin.cs#L151
Define a constant instead of using this literal ' not exists' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Admin.cs#L253
Define a constant instead of using this literal 'Invalid input.' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContractConstants.cs#L3
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
static-code-analysis: contract/Forest.Contracts.SymbolRegistrar/SymbolRegistrarContract_Action.cs#L43
'price' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)