Skip to content

refactor(parser): replace FrontmatterParser with HobbitHoleParser #36

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

350 new problems found by Qodana Community for JVM

Qodana Community for JVM

350 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 98
Constant conditions 🔶 Warning 66
Unresolved reference in KDoc 🔶 Warning 22
Unstable API Usage 🔶 Warning 18
Unused import directive 🔶 Warning 14
Constructor parameter is never used as a property 🔶 Warning 9
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 9
Redundant semicolon 🔶 Warning 9
Redundant nullable return type 🔶 Warning 8
Incorrect string capitalization 🔶 Warning 4
Control flow with empty body 🔶 Warning 3
Redundant visibility modifier 🔶 Warning 3
Obvious explicit type 🔶 Warning 2
Redundant 'Companion' reference 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 29
Private property naming convention ◽️ Notice 12
Accessor call that can be replaced with property access syntax ◽️ Notice 10
Replace empty class body ◽️ Notice 7
Boolean expression can be simplified ◽️ Notice 6
Array property in data class ◽️ Notice 2
Class naming convention ◽️ Notice 2
Constant conditions ◽️ Notice 2
Non-distinguishable logging calls ◽️ Notice 2
Redundant empty primary constructor ◽️ Notice 2
Redundant overriding method ◽️ Notice 1
Return or assignment can be lifted out ◽️ Notice 1
Package name does not match containing directory ◽️ Notice 1
Property naming convention ◽️ Notice 1
Redundant lambda arrow ◽️ Notice 1
Unnecessary parentheses in function call with lambda ◽️ Notice 1
Call chain on collection type can be simplified ◽️ Notice 1
Trailing comma recommendations ◽️ Notice 1
Unnecessary local variable ◽️ 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/[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 notice on line 46 in core/src/main/kotlin/com/phodal/shirecore/search/embedding/DiskSynchronizedEmbeddingSearchIndex.kt

See this annotation in the file changed.

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

Array property in data class

Property with 'Array' type in a 'data' class: it is recommended to override 'equals()' and 'hashCode()'

Check notice on line 10 in core/src/main/kotlin/com/phodal/shirecore/search/function/IndexEntry.kt

See this annotation in the file changed.

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

Array property in data class

Property with 'Array' type in a 'data' class: it is recommended to override 'equals()' and 'hashCode()'

Check warning on line 18 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/VariableStructure.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 warning on line 28 in core/src/main/kotlin/com/phodal/shirecore/config/interaction/task/FileGenerateTask.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 warning on line 14 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/MethodStructure.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 warning on line 17 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/VariableStructure.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 warning on line 15 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/VariableStructure.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 warning on line 18 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/MethodStructure.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 warning on line 13 in languages/java/src/main/kotlin/com/phodal/shirelang/java/archmeta/layer/MvcContextService.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 warning on line 14 in core/src/main/kotlin/com/phodal/shirecore/codemodel/model/VariableStructure.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 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 225 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/ast/FrontMatterType.kt

See this annotation in the file changed.

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

Class naming convention

Class name `QUERY_STATEMENT` should not contain underscores

Check notice on line 141 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/ast/FrontMatterType.kt

See this annotation in the file changed.

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

Class naming convention

Class name `CASE_MATCH` should not contain underscores

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 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 37 in core/src/main/kotlin/com/phodal/shirecore/config/interaction/task/InsertUtil.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Code complete' is not properly capitalized. It should have title 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/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 54 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/ast/ShireExpression.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'variables'

Check warning on line 22 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/patternaction/PatternActionTransform.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'PatternAction'

Check warning on line 77 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/HobbitHole.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'IntentionAction'

Check warning on line 176 in shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/ast/FrontMatterType.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'WHEN'

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