Skip to content

Add a new whitelist solution #181

Add a new whitelist solution

Add a new whitelist solution #181

Triggered via pull request November 27, 2024 08:19
Status Success
Total duration 12m 20s
Artifacts

sonarqube.yaml

on: pull_request
static-code-analysis
12m 11s
static-code-analysis
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
static-code-analysis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
static-code-analysis
Import acs4.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.Types/Types/Address.cs#L36
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
static-code-analysis: src/AElf.Types/Helper/HashHelper.cs#L8
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
static-code-analysis: src/AElf.Types/Types/Address.cs#L7
When implementing IComparable<T>, you should also override <= and >=. (https://rules.sonarsource.com/csharp/RSPEC-1210)
static-code-analysis: src/AElf.Types/Types/Hash.cs#L11
When implementing IComparable<T>, you should also override <= and >=. (https://rules.sonarsource.com/csharp/RSPEC-1210)
static-code-analysis: src/AElf.Types/Extensions/ByteStringExtensions.cs#L28
Do not update the loop counter 'cx' within the loop body. (https://rules.sonarsource.com/csharp/RSPEC-127)
static-code-analysis: src/AElf.Types/Extensions/ByteExtensions.cs#L41
Do not update the loop counter 'cx' within the loop body. (https://rules.sonarsource.com/csharp/RSPEC-127)
static-code-analysis: src/AElf.Types/Extensions/HexStringExtensions.cs#L9
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
static-code-analysis: src/AElf.Types/Base58.cs#L50
Use a StringBuilder instead. (https://rules.sonarsource.com/csharp/RSPEC-1643)