Skip to content

fix(deps): update dependency @types/node to v20.12.2 (#1684) #1027

fix(deps): update dependency @types/node to v20.12.2 (#1684)

fix(deps): update dependency @types/node to v20.12.2 (#1684) #1027

GitHub Actions / Qodana Community for JVM completed Mar 30, 2024 in 0s

81 new problems found by Qodana Community for JVM

Qodana Community for JVM

81 new problems were found

Inspection name Severity Problems
Field may be 'final' 🔶 Warning 27
Unchecked warning 🔶 Warning 8
Redundant type cast 🔶 Warning 6
Redundant call to 'String.format()' 🔶 Warning 6
Redundant local variable 🔶 Warning 6
Declaration has problems in Javadoc references 🔶 Warning 4
String concatenation as argument to 'StringBuilder.append()' call 🔶 Warning 4
Statement with empty body 🔶 Warning 3
Javadoc declaration problems 🔶 Warning 2
Stream API call chain can be simplified 🔶 Warning 2
Minimum 'switch' branches 🔶 Warning 2
Redundant 'Collection.addAll()' call 🔶 Warning 1
Nullability and data flow problems 🔶 Warning 1
Default annotation parameter value 🔶 Warning 1
Deprecated API usage 🔶 Warning 1
Double negation 🔶 Warning 1
Inner class may be 'static' 🔶 Warning 1
Redundant 'File' instance creation 🔶 Warning 1
Call to 'printStackTrace()' 🔶 Warning 1
Redundant 'if' statement 🔶 Warning 1
Unnecessary semicolon 🔶 Warning 1
Method can be extracted ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

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 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 42 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 35 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

Deprecated API usage

'setWorker(boolean)' is deprecated

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 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 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 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'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `text` may be 'final'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `markdownText` may be 'final'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `changelog` may be 'final'

Check warning on line 18 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 `startLine` may be 'final'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `changedTypes` may be 'final'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `style` may be 'final'

Check warning on line 13 in spoon-analyzer/src/main/java/io/github/martinwitt/spoon_analyzer/badsmells/equals_hashcode/EqualsHashcode.java

See this annotation in the file changed.

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

Field may be 'final'

Field `affectedType` may be 'final'

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

See this annotation in the file changed.

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

Field may be 'final'

Field `affectedType` may be 'final'

Check warning on line 15 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 `affectedType` may be 'final'

Check warning on line 23 in spoon-analyzer/src/main/java/io/github/martinwitt/spoon_analyzer/badsmells/Index_off_replaceable_by_contains/IndexOfReplaceableByContainsAnalyzer.java

See this annotation in the file changed.

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

Field may be 'final'

Field `matcher` may be 'final'

Check warning on line 86 in code-transformation/src/main/java/xyz/keksdose/spoon/code_solver/transformations/ImportHelper.java

See this annotation in the file changed.

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

Field may be 'final'

Field `importString` may be 'final'

Check warning on line 15 in github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/api/MiningGraphQL.java

See this annotation in the file changed.

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

Field may be 'final'

Field `analyzerRunRepository` may be 'final'