Skip to content

feat(toolsets): add database plugin and related functionalities #9

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

413 new problems found by Qodana Community for JVM

Qodana Community for JVM

413 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 115
Constant conditions 🔶 Warning 73
Unresolved reference in KDoc 🔶 Warning 41
Unstable API Usage 🔶 Warning 20
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 10
Redundant nullable return type 🔶 Warning 10
Unused import directive 🔶 Warning 9
Redundant semicolon 🔶 Warning 9
Constructor parameter is never used as a property 🔶 Warning 8
Incorrect string capitalization 🔶 Warning 6
Obvious explicit type 🔶 Warning 3
Redundant visibility modifier 🔶 Warning 3
Redundant 'Companion' reference 🔶 Warning 1
Redundant 'suspend' modifier 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 36
Private property naming convention ◽️ Notice 16
Accessor call that can be replaced with property access syntax ◽️ Notice 11
Non-distinguishable logging calls ◽️ Notice 8
Replace empty class body ◽️ Notice 6
Enum entry naming convention ◽️ Notice 3
Redundant empty primary constructor ◽️ Notice 3
Boolean expression can be simplified ◽️ Notice 3
Boolean literal argument without parameter name ◽️ Notice 2
Class naming convention ◽️ Notice 2
Constant conditions ◽️ Notice 2
Trailing comma recommendations ◽️ Notice 2
Array property in data class ◽️ Notice 1
Function naming convention ◽️ Notice 1
If-Then foldable to '?:' ◽️ Notice 1
Redundant overriding method ◽️ Notice 1
Return or assignment can be lifted out ◽️ Notice 1
Property naming convention ◽️ Notice 1
Redundant lambda arrow ◽️ Notice 1
Unnecessary parentheses in function call with lambda ◽️ 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/indices/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 99 in languages/shire-kotlin/src/main/kotlin/com/phodal/shirelang/kotlin/impl/KotlinRefactoringTool.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 99 in languages/shire-kotlin/src/main/kotlin/com/phodal/shirelang/kotlin/impl/KotlinRefactoringTool.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 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 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 29 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/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 15 in shirelang/src/main/kotlin/com/phodal/shirelang/actions/template/NewShireFileAction.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Creates New Shire Action' 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 74 in toolsets/httpclient/src/main/kotlin/com/phodal/shire/httpclient/converter/RestClientUtil.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Create HTTP Request scratch file' is not properly capitalized. It should have title capitalization

Check warning on line 39 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 notice on line 7 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt

See this annotation in the file changed.

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

Enum entry naming convention

Enum entry name `assistant` should start with an uppercase letter

Check notice on line 6 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt

See this annotation in the file changed.

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

Enum entry naming convention

Enum entry name `system` should start with an uppercase letter

Check notice on line 8 in core/src/main/kotlin/com/phodal/shirecore/llm/ChatMessage.kt

See this annotation in the file changed.

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

Enum entry naming convention

Enum entry name `user` should start with an uppercase letter

Check notice on line 11 in core/src/main/kotlin/com/phodal/shirecore/search/rank/LlmReRanker.kt

See this annotation in the file changed.

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

Function naming convention

Function name `RERANK_PROMPT` should start with a lowercase letter

Check notice on line 42 in languages/shire-kotlin/src/main/kotlin/com/phodal/shirelang/kotlin/impl/KotlinRefactoringTool.kt

See this annotation in the file changed.

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

If-Then foldable to '?:'

If-Then foldable to '?:'

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'