Skip to content
Triggered via pull request July 11, 2024 03:32
@fyannchfyannch
synchronize #163
feature/ciut
Status Success
Total duration 2m 42s
Artifacts

sonarqube.yaml

on: pull_request
static-code-analysis
2m 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 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 authority_info.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.Inscription/InscriptionContract_Helpers.cs#L57
Change return type to 'void'; not a single caller uses the returned value. (https://rules.sonarsource.com/csharp/RSPEC-3241)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_Actions.cs#L16
Define a constant instead of using this literal 'No permission.' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_Actions.cs#L17
Define a constant instead of using this literal 'Invalid input.' 8 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_Actions.cs#L39
Define a constant instead of using this literal 'Not initialized yet.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_ACS2.cs#L50
Remove these redundant parentheses. (https://rules.sonarsource.com/csharp/RSPEC-1110)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_ACS2.cs#L71
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
static-code-analysis: contract/Forest.Contracts.Inscription/InscriptionContract_ACS2.cs#L157
Loop should be simplified by calling Select(sizeFee => sizeFee.TokenSymbol)) (https://rules.sonarsource.com/csharp/RSPEC-3267)