Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hurricup/bugfixes #2890

Merged
merged 4 commits into from
Sep 1, 2024
Merged

Hurricup/bugfixes #2890

merged 4 commits into from
Sep 1, 2024

Conversation

hurricup
Copy link
Collaborator

No description provided.

@hurricup hurricup enabled auto-merge (rebase) August 31, 2024 15:35
Copy link

github-actions bot commented Aug 31, 2024

Qodana for JVM

2891 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 24
Missorted modifiers 🔶 Warning 613
Unused declaration 🔶 Warning 596
Deprecated API usage 🔶 Warning 257
Missing '@Override' annotation 🔶 Warning 252
SequencedCollection method can be used 🔶 Warning 115
Method can be made 'void' 🔶 Warning 78
Hardcoded strings 🔶 Warning 47
Method parameter always has the same value 🔶 Warning 46
Method always returns the same value 🔶 Warning 45
@NotNull/@Nullable problems 🔶 Warning 36
Can use bounded wildcard 🔶 Warning 28
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 27
Class is exposed outside of its visibility scope 🔶 Warning 25
Static initialization in extension point implementations 🔶 Warning 25
'if' can be replaced with 'switch' 🔶 Warning 22
Unnecessary semicolon 🔶 Warning 21
Declaration can have 'final' modifier 🔶 Warning 16
Non-platform TokenSet declared in ParserDefinition 🔶 Warning 16
'@RunWith' annotation already exists in a parent class 🔶 Warning 15
Redundant 'throws' clause 🔶 Warning 13
Field may be 'final' 🔶 Warning 9
C-style array declaration 🔶 Warning 7
'final' method in 'final' class 🔶 Warning 3
Missing required 'lang' attribute 🔶 Warning 3
Raw use of parameterized class 🔶 Warning 3
Statement lambda can be replaced with expression lambda 🔶 Warning 2
Incorrect string capitalization 🔶 Warning 2
A service can be converted to a light one 🔶 Warning 2
Explicit type can be replaced with '<>' 🔶 Warning 1
Lambda can be replaced with method reference 🔶 Warning 1
Copy of existing static method body 🔶 Warning 1
Plugin.xml dynamic plugin verification 🔶 Warning 1
'protected' member in 'final' class 🔶 Warning 1
Unnecessary conversion to 'String' 🔶 Warning 1
Unnecessary modifier 🔶 Warning 1
Duplicate branches in 'switch' ◽️ Notice 505
Link with unencrypted protocol ◽️ Notice 14
Non-distinguishable logging calls ◽️ Notice 8
Method can be extracted ◽️ Notice 5
Class can be record class ◽️ Notice 2
Immutable collection creation can be replaced with collection factory call ◽️ Notice 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Detected 11 dependencies

Third-party software list

This page lists the third-party software dependencies used in perl5

Dependency Version Licenses
ant-launcher 1.10.13 Apache-2.0
W3C-19980720
ant 1.10.13 Apache-2.0
W3C-19980720
com.jetbrains.performanceplugin 242.20224.300+165 Apache-2.0
com.jetbrains.performanceplugin 242.20224.300+811 Apache-2.0
docker 2024.2+385 Apache-2.0
jflex 1.9.2 BSD-3-Clause
jsr305 3.0.2 Apache-2.0
tanvd.grazi 242.20224.300+235 Apache-2.0
LGPL-2.0-or-later
LGPL-2.1-only
MIT
tanvd.grazi 242.20224.300+659 Apache-2.0
LGPL-2.0-or-later
LGPL-2.1-only
MIT
testng-j 242.20224.300+416 MIT
testng-j 242.20224.300+478 MIT
Contact Qodana team

Contact us at [email protected]

- extracted some methods
- extracted some duplicated code
Search everywhere may be invoked in the dumb mode

Fixes #2887
Moved constants to the static class fields (this also should fix the issue with localization language switch on the fly)

Fixes #2882
@hurricup hurricup merged commit 04e5f91 into master Sep 1, 2024
36 checks passed
@hurricup hurricup deleted the hurricup/bugfixes branch September 1, 2024 08:27
Copy link

sonarcloud bot commented Sep 1, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 70%)

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant