Skip to content

⬆️(deps): Update dependency io.quarkus:quarkus-mongodb-panach… #514

⬆️(deps): Update dependency io.quarkus:quarkus-mongodb-panach…

⬆️(deps): Update dependency io.quarkus:quarkus-mongodb-panach… #514

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana Community for JVM completed Oct 18, 2023 in 0s

136 new problems found by Qodana Community for JVM

Qodana Community for JVM

136 new problems were found

Inspection name Severity Problems
Field may be 'final' 🔶 Warning 56
Unchecked warning 🔶 Warning 13
Declaration has problems in Javadoc references 🔶 Warning 6
Redundant type cast 🔶 Warning 6
Redundant call to 'String.format()' 🔶 Warning 6
Redundant local variable 🔶 Warning 6
Javadoc declaration problems 🔶 Warning 5
String concatenation as argument to 'StringBuilder.append()' call 🔶 Warning 4
Nullability and data flow problems 🔶 Warning 3
Statement with empty body 🔶 Warning 3
Call to 'printStackTrace()' 🔶 Warning 3
Unnecessarily escaped character 🔶 Warning 3
Class is exposed outside of its visibility scope 🔶 Warning 2
Use of Optional.ofNullable with null or not-null argument 🔶 Warning 2
Stream API call chain can be simplified 🔶 Warning 2
Redundant 'Collection.addAll()' call 🔶 Warning 1
Constant values 🔶 Warning 1
Default annotation parameter value 🔶 Warning 1
Deprecated member is still used 🔶 Warning 1
Double negation 🔶 Warning 1
Field can be local 🔶 Warning 1
Result of method call ignored 🔶 Warning 1
Inner class may be 'static' 🔶 Warning 1
Redundant 'File' instance creation 🔶 Warning 1
Labeled switch rule has redundant code block 🔶 Warning 1
Minimum 'switch' branches 🔶 Warning 1
Redundant 'if' statement 🔶 Warning 1
Unnecessary semicolon 🔶 Warning 1
Method can be extracted ◽️ Notice 2
Commented out code ◽️ Notice 1

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

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 70 in commons/src/main/java/io/github/martinwitt/laughing_train/domain/entity/AnalyzerStatus.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class is exposed outside of its visibility scope

Class `Status` is exposed outside its defined visibility scope

Check warning on line 63 in commons/src/main/java/io/github/martinwitt/laughing_train/domain/entity/AnalyzerStatus.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class is exposed outside of its visibility scope

Class `Status` is exposed outside its defined visibility scope

Check warning on line 21 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/formatting/GoogleStyle.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check notice on line 58 in github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/MiningStartup.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (2 lines)

Check warning on line 133 in github-bot/src/main/java/io/github/martinwitt/laughing_train/summary/PeriodicSummary.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `result == null` is always `false`

Check warning on line 94 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/QodanaAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Argument `url` might be null

Check warning on line 22 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/config/ConfigStore.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `getPath` may produce `NullPointerException`

Check warning on line 72 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/PointlessBooleanExpression.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `equals` may produce `NullPointerException`

Check warning on line 41 in github-bot/src/main/java/io/github/martinwitt/laughing_train/summary/PeriodicSummary.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Default annotation parameter value

Redundant default parameter value assignment

Check warning on line 290 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/QodanaAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Deprecated member is still used

Deprecated member 'withRemoveResultDir' is still used

Check warning on line 45 in spoon-analyzer/src/main/java/io/github/martinwitt/spoon_analyzer/badsmells/array_can_be_replaced_with_enum_values/ArrayCanBeReplacedWithEnumValuesAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Double negation

Double negation in `!(declaration.getEnumValues().size() != count)`

Check warning on line 156 in code-transformation/src/main/java/spoon/reflect/visitor/ImportAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`if` statement has empty body

Check warning on line 49 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/self/LambdaToExecutableReference.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`if` statement has empty body

Check warning on line 300 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/ImportCleaner.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`if` statement has empty body

Check notice on line 174 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/ImportCleaner.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Method can be extracted

It's possible to extract method returning 'typeRef' from a long surrounding method

Check notice on line 58 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/ProtectedMemberInFinalClass.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Method can be extracted

It's possible to extract method returning 'change' from a long surrounding method

Check warning on line 38 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/QodanaRefactor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field can be local

Field can be converted to a local variable

Check warning on line 37 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/TransformationEngine.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `processors` may be 'final'

Check warning on line 17 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/config/ConfigStore.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `property` may be 'final'

Check warning on line 48 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/QodanaAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `resultFolder` may be 'final'

Check warning on line 17 in spoon-analyzer/src/main/java/io/github/martinwitt/spoon_analyzer/badsmells/private_final_method/PrivateFinalMethodAnalyzer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `filter` may be 'final'

Check warning on line 14 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/history/Change.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `issue` may be 'final'

Check warning on line 18 in github-bot/src/main/java/io/github/martinwitt/laughing_train/persistence/BadSmell.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `projectUrl` may be 'final'

Check warning on line 18 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/spoon/SpoonRefactor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `ruleParser` may be 'final'

Check warning on line 20 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/PositionScanner.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Field may be 'final'

Field `endLine` may be 'final'