Skip to content

feat(java): add method to find nearest target element

Sign in for the full log view
GitHub Actions / Qodana Community for JVM completed Jun 6, 2024 in 0s

168 new problems found by Qodana Community for JVM

Qodana Community for JVM

168 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 72
Constant conditions 🔶 Warning 18
Unresolved reference in KDoc 🔶 Warning 17
Unused import directive 🔶 Warning 17
Incorrect string capitalization 🔶 Warning 11
Unstable API Usage 🔶 Warning 5
Control flow with empty body 🔶 Warning 3
Constructor parameter is never used as a property 🔶 Warning 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 1
Redundant semicolon 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 7
Replace empty class body ◽️ Notice 6
Private property naming convention ◽️ Notice 5
Boolean literal argument without parameter name ◽️ Notice 2
Const property naming convention ◽️ Notice 1
Redundant lambda arrow ◽️ 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:

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/qodana-action@v2024.1.5
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 141 in languages/java/src/main/kotlin/com/phodal/shirelang/java/impl/JavaRefactoringTool.kt

See this annotation in the file changed.

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

Boolean literal argument without parameter name

Boolean literal argument without a parameter name

Check notice on line 141 in languages/java/src/main/kotlin/com/phodal/shirelang/java/impl/JavaRefactoringTool.kt

See this annotation in the file changed.

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

Boolean literal argument without parameter name

Boolean literal argument without a parameter name

Check warning on line 16 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/ui/CustomPopupStep.kt

See this annotation in the file changed.

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

Constructor parameter is never used as a property

Constructor parameter is never used as a property

Check notice on line 86 in toolsets/git/src/main/kotlin/com/phodal/shirelang/git/DiffSimplifier.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `lineTip` should not contain lowercase letters

Check warning on line 21 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt

See this annotation in the file changed.

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

Control flow with empty body

'also' has empty body

Check warning on line 18 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt

See this annotation in the file changed.

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

Control flow with empty body

'also' has empty body

Check warning on line 16 in src/main/kotlin/com/phodal/shire/settings/ShireSettingUi.kt

See this annotation in the file changed.

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

Control flow with empty body

'also' has empty body

Check warning on line 17 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/ShireIntentionHelper.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Shire Intention Action' is not properly capitalized. It should have sentence capitalization

Check warning on line 39 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'error.failed.to.launch.checking.with.help.guide' is not properly capitalized. It should have sentence capitalization

Check warning on line 25 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/IntentionHelperUtil.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Shire Intention' is not properly capitalized. It should have sentence capitalization

Check warning on line 33 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'check.no.tests.with.help.guide' is not properly capitalized. It should have sentence capitalization

Check warning on line 27 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'check.result.canceled' is not properly capitalized. It should have sentence capitalization

Check warning on line 23 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/ShireIntentionsActionGroup.kt

See this annotation in the file changed.

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

Incorrect string capitalization

The sentence capitalization is provided where title capitalization is required

Check warning on line 24 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'check.result.local.check.unavailable' is not properly capitalized. It should have sentence capitalization

Check warning on line 25 in core/src/main/kotlin/com/phodal/shirecore/runner/RunnerResult.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'check.result.connection.failed' is not properly capitalized. It should have sentence capitalization

Check warning on line 23 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/ShireIntentionsActionGroup.kt

See this annotation in the file changed.

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

Incorrect string capitalization

The sentence capitalization is provided where title capitalization is required

Check warning on line 23 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/IntentionHelperUtil.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Shire Intention' is not properly capitalized. It should have sentence capitalization

Check warning on line 18 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/intention/ShireIntentionHelper.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Shire Intention Action' is not properly capitalized. It should have sentence capitalization

Check warning on line 14 in core/src/main/kotlin/com/phodal/shirecore/provider/BuildSystemProvider.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'devti'

Check warning on line 14 in core/src/main/kotlin/com/phodal/shirecore/provider/BuildSystemProvider.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'template'

Check warning on line 40 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/exec/RefactorShireCommand.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'MoveToPackageFix'

Check warning on line 14 in core/src/main/kotlin/com/phodal/shirecore/provider/BuildSystemProvider.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'cc'

Check warning on line 26 in core/src/main/kotlin/com/phodal/shirecore/codemodel/base/FormatableElement.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'MethodStructure'

Check warning on line 34 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/exec/RefactorShireCommand.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'SafeDeleteFix'

Check warning on line 17 in core/src/main/kotlin/com/phodal/shirecore/codemodel/base/FormatableElement.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'ClassStructure'