Skip to content

Qodana

Qodana #1

GitHub Actions / Qodana for JVM completed Oct 24, 2024 in 0s

902 new problems found by Qodana for JVM

Qodana for JVM

902 new problems were found

Inspection name Severity Problems
Non-default constructors for service and extension class 🔴 Failure 345
Incorrect service retrieving 🔴 Failure 31
Infinite recursion 🔴 Failure 4
Unresolved plugin configuration reference 🔴 Failure 4
Invalid property key 🔴 Failure 4
Constant values 🔶 Warning 195
Mismatch between light service level and its constructor 🔶 Warning 96
'protected' member in 'final' class 🔶 Warning 59
Suspicious collection method call 🔶 Warning 39
Redundant type cast 🔶 Warning 37
Condition is covered by further condition 🔶 Warning 25
Component/Action not registered 🔶 Warning 13
Mismatched query and update of collection 🔶 Warning 11
'equals()' between objects of inconvertible types 🔶 Warning 10
Anonymous type can be replaced with lambda 🔶 Warning 5
Caught exception is immediately rethrown 🔶 Warning 4
Field blocks intention preview 🔶 Warning 3
Cast to incompatible type 🔶 Warning 3
A service can be converted to a light one 🔶 Warning 2
Use of obsolete collection type 🔶 Warning 2
Use of 'Properties' object as a 'Hashtable' 🔶 Warning 2
'assert' statement with side effects 🔶 Warning 1
Duplicate throws 🔶 Warning 1
Result of method call ignored 🔶 Warning 1
Integer multiplication or shift implicitly cast to 'long' 🔶 Warning 1
Javadoc declaration problems 🔶 Warning 1
Assertion is suppressed by 'catch' 🔶 Warning 1
Redundant operation on empty container 🔶 Warning 1
'Throwable' not thrown 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 25 in plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/intentions/base/Intention.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Field blocks intention preview

Unnecessary @SafeFieldForPreview annotation: the field type is considered to be safe already

Check warning on line 45 in plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/inspections/UnsafeCastFromDynamicInspection.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Field blocks intention preview

Unnecessary @SafeFieldForPreview annotation: the field type is considered to be safe already

Check warning on line 22 in plugins/editorconfig/src/org/editorconfig/language/codeinsight/quickfixes/EditorConfigAddRequiredDeclarationsQuickFix.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Field blocks intention preview

Unnecessary @SafeFieldForPreview annotation: the field type is considered to be safe already

Check warning on line 194 in plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/impl/GroovyFileBaseImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

'assert' statement with side effects

`assert` has side effects: call to 'isValid()' mutates field 'myPossiblyInvalidated'

Check warning on line 744 in platform/diff-impl/src/com/intellij/openapi/diff/impl/dir/DirDiffTableModel.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Cast to incompatible type

Cast of expression with type 'DiffElement' to incompatible interface `AsyncDiffElement`

Check warning on line 158 in platform/execution-impl/src/com/intellij/execution/impl/SingleConfigurationConfigurable.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Cast to incompatible type

Cast of expression with type 'RunConfiguration' to incompatible interface `FusCollectSettingChangesRunConfiguration`

Check warning on line 315 in platform/analysis-impl/src/com/intellij/psi/templateLanguages/RangeCollectorImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Cast to incompatible type

Cast of expression with type 'IElementType' to incompatible interface `TemplateDataElementType.TemplateAwareElementType`

Check warning on line 190 in java/java-tests/testSrc/com/intellij/java/psi/PsiBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Caught exception is immediately rethrown

Caught exception `e` is immediately rethrown

Check warning on line 169 in java/java-tests/testSrc/com/intellij/java/psi/PsiBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Caught exception is immediately rethrown

Caught exception `e` is immediately rethrown

Check warning on line 233 in platform/platform-tests/testSrc/com/intellij/util/io/PersistentMapTest.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Caught exception is immediately rethrown

Caught exception `assertionFailedError` is immediately rethrown

Check warning on line 704 in java/idea-ui/src/com/intellij/jarRepository/JarRepositoryManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Caught exception is immediately rethrown

Caught exception `e` is immediately rethrown

Check warning on line 18 in platform/lang-impl/src/com/intellij/ide/actions/ExcludeFromProjectAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 34 in plugins/git4idea/src/git4idea/ui/toolbar/GitMainToolbarActions.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 19 in platform/lang-impl/src/com/intellij/ide/actions/AttachDirectoryAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 27 in platform/platform-impl/src/com/intellij/ui/components/SliderSelectorAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 6 in platform/execution-impl/src/com/intellij/execution/multilaunch/design/actions/DeleteExecutableAction.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 18 in platform/lang-impl/src/com/intellij/ide/actions/IncludeToProjectAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 50 in platform/lang-impl/src/com/intellij/psi/codeStyle/extractor/ExtractCodeStyleAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 11 in platform/feedback/src/com/intellij/platform/feedback/eap/EAPFeedbackToolbarAction.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 7 in platform/execution-impl/src/com/intellij/execution/multilaunch/design/actions/EditExecutableAction.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 10 in platform/platform-impl/src/com/intellij/ui/filterField/FilterFieldAction.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 24 in platform/lang-impl/src/com/intellij/ide/actions/DetachDirectoryAction.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 75 in plugins/git4idea/src/git4idea/ui/toolbar/GitMainToolbarActions.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 79 in platform/lang-api/src/com/intellij/platform/lang/lsWidget/LanguageServiceWidgetItem.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Component/Action not registered

Action is not registered in plugin.xml

Check warning on line 389 in plugins/gradle/tooling-extension-impl/src/com/intellij/gradle/toolingExtension/impl/model/sourceSetModel/GradleSourceSetModelBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Condition is covered by further condition

Condition 'object instanceof File' covered by subsequent condition 'object instanceof SourceSetOutput'