Skip to content

Add qodana CI checks#1

Merged
dercrafter-168 merged 2 commits intomasterfrom
qodana-automation-965924413
Oct 25, 2025
Merged

Add qodana CI checks#1
dercrafter-168 merged 2 commits intomasterfrom
qodana-automation-965924413

Conversation

@qodana-cloud
Copy link
Copy Markdown

@qodana-cloud qodana-cloud bot commented Oct 25, 2025

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

@dercrafter-168 dercrafter-168 merged commit 923beb9 into master Oct 25, 2025
3 checks passed
@github-actions
Copy link
Copy Markdown

Qodana Community for JVM

526 new problems were found

Inspection name Severity Problems
Field may be 'final' 🔶 Warning 125
Nullability and data flow problems 🔶 Warning 72
Non-final field in 'enum' 🔶 Warning 33
Call to 'printStackTrace()' 🔶 Warning 33
Unstable API Usage 🔶 Warning 26
Unnecessary 'return' statement 🔶 Warning 21
Result of method call ignored 🔶 Warning 20
Unnecessary modifier 🔶 Warning 18
Unused assignment 🔶 Warning 15
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 14
Javadoc declaration problems 🔶 Warning 7
Redundant character escape 🔶 Warning 7
Unused import 🔶 Warning 7
Constant values 🔶 Warning 6
Manual min/max calculation 🔶 Warning 6
Unnecessary 'continue' statement 🔶 Warning 6
Deprecated API usage 🔶 Warning 5
Field can be local variable 🔶 Warning 5
Integer multiplication or shift implicitly cast to 'long' 🔶 Warning 5
Static initializer references subclass 🔶 Warning 5
Redundant 'if' statement 🔶 Warning 5
Deprecated member is still used 🔶 Warning 4
String concatenation in loop 🔶 Warning 4
Concatenation with empty string 🔶 Warning 4
Unnecessary call to 'toString()' 🔶 Warning 4
Catch block may ignore exception 🔶 Warning 3
Simplifiable conditional expression 🔶 Warning 3
Unnecessary semicolon 🔶 Warning 3
Reflective access to non-existent or not visible class member 🔶 Warning 2
Malformed format string 🔶 Warning 2
Redundant 'Collection' operation 🔶 Warning 2
Replacement operation has no effect 🔶 Warning 2
String concatenation as argument to 'StringBuilder.append()' call 🔶 Warning 2
'String.equals()' can be replaced with 'String.isEmpty()' 🔶 Warning 2
'Collection.toArray()' call style 🔶 Warning 2
Call to 'Arrays.asList()' with too few arguments 🔶 Warning 1
C-style array declaration 🔶 Warning 1
Redundant 'Collection.addAll()' call 🔶 Warning 1
Suspicious 'Comparator.compare()' implementation 🔶 Warning 1
Statement with empty body 🔶 Warning 1
Excessive range check 🔶 Warning 1
'InputStream' and 'OutputStream' can be constructed using 'Files' methods 🔶 Warning 1
Early loop exit in 'if' condition 🔶 Warning 1
Magic constant 🔶 Warning 1
Manual array to collection copy 🔶 Warning 1
@NotNull/@Nullable problems 🔶 Warning 1
Pointless boolean expression 🔶 Warning 1
Redundant type cast 🔶 Warning 1
Redundant 'String' operation 🔶 Warning 1
Minimum 'switch' branches 🔶 Warning 1
Synchronization on local variable or method parameter 🔶 Warning 1
Unnecessary label on 'continue' statement 🔶 Warning 1
Redundant local variable 🔶 Warning 1
Wrapper type may be primitive 🔶 Warning 1
Duplicate branches in 'switch' ◽️ Notice 13
Commented out code ◽️ Notice 5
Non-strict inequality '>=' or '<=' can be replaced with '==' ◽️ Notice 3
Constant values ◽️ Notice 2
Multiple occurrences of the same expression ◽️ Notice 2
Function or property has platform type ◽️ Notice 1
Non-constant string concatenation as argument to logging call ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

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.

2 participants