Skip to content

⬆️(deps): Update dependency @types/node to v18.18.9 (#1232) #575

⬆️(deps): Update dependency @types/node to v18.18.9 (#1232)

⬆️(deps): Update dependency @types/node to v18.18.9 (#1232) #575

Triggered via push November 7, 2023 21:20
Status Success
Total duration 49s
Artifacts
release-please
40s
release-please
Fit to window
Zoom out
Zoom in

Annotations

131 warnings and 3 notices
Redundant type cast: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/self/InstantReturn.java#L40
Casting `element.getBody().getLastStatement()` to `CtReturn` is redundant
Redundant type cast: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/NewLineAnnotation.java#L22
Casting `getFactory().Type().createReference(...)` to `CtTypeReference` is redundant
Redundant type cast: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/NewLineAnnotation.java#L37
Casting `new NewLineAnnotation<>()` to `NewLineAnnotation` is redundant
Minimum 'switch' branches: github-bot/src/main/java/io/github/martinwitt/laughing_train/services/SpoonAnalyzerService.java#L31
'switch' statement has too few case labels (1), and should probably be replaced with an 'if' statement
Call to 'printStackTrace()': github-bot/src/main/java/io/github/martinwitt/laughing_train/Config.java#L116
Call to `printStackTrace()` should probably be replaced with more robust logging
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/UnnecessaryLocalVariable.java#L57
Unchecked assignment: 'spoon.reflect.code.CtExpression' to 'spoon.reflect.code.CtExpression'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/UnnecessaryStringEscape.java#L70
Unchecked cast: 'spoon.reflect.declaration.CtElement' to 'spoon.reflect.code.CtLiteral'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/NewLineAnnotation.java#L22
Unchecked assignment: 'spoon.reflect.reference.CtTypeReference' to 'spoon.reflect.reference.CtTypeReference'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/self/ThreadLocalWithInitial.java#L124
Unchecked cast: 'spoon.reflect.code.CtStatement' to 'spoon.reflect.code.CtReturn'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/self/InstantReturn.java#L32
Unchecked assignment: 'spoon.reflect.code.CtExpression' to 'spoon.reflect.code.CtExpression'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/NewLineAnnotation.java#L37
Unchecked cast: 'xyz.keksdose.spoon.code_solver.spoon.NewLineAnnotation' to 'xyz.keksdose.spoon.code_solver.spoon.NewLineAnnotation'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/CodeBlock2Expr.java#L62
Unchecked call to 'setExpression(CtExpression)' as a member of raw type 'spoon.reflect.code.CtLambda'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/UnnecessaryToStringCall.java#L73
Unchecked cast: 'spoon.reflect.declaration.CtElement' to 'spoon.reflect.code.CtInvocation'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/qodana/BooleanExpression.java#L31
Unchecked cast: 'spoon.reflect.code.CtExpression\>' to 'spoon.reflect.code.CtExpression'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/UtilityClassWithoutPrivateConstructor.java#L112
Unchecked assignment: 'spoon.reflect.declaration.CtConstructor' to 'spoon.reflect.declaration.CtConstructor'
Unchecked warning: spoon-analyzer/src/main/java/io/github/martinwitt/spoon_analyzer/badsmells/size_replaceable_by_is_empty/SizeReplaceableByIsEmptyAnalyzer.java#L87
Unchecked call to 'setOperand(CtExpression)' as a member of raw type 'spoon.reflect.code.CtUnaryOperator'
Unchecked warning: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/self/LambdaToExecutableReference.java#L63
Unchecked assignment: 'spoon.reflect.reference.CtExecutableReference' to 'spoon.reflect.reference.CtExecutableReference'
Method can be extracted: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/spoon/ImportCleaner.java#L174
It's possible to extract method returning 'typeRef' from a long surrounding method
Method can be extracted: code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/analyzer/qodana/rules/ProtectedMemberInFinalClass.java#L58
It's possible to extract method returning 'change' from a long surrounding method