Skip to content

Qodana

Qodana #22

Triggered via schedule January 28, 2025 00:13
Status Success
Total duration 1h 29m 21s
Artifacts

code_quality.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 113 warnings
Incorrect service retrieving: platform/platform-impl/src/com/intellij/codeInsight/actions/ReaderModeSettings.kt#L54
The 'com.intellij.codeInsight.actions.ReaderModeSettings' class is not registered as a service
Incorrect service retrieving: platform/platform-api/src/com/intellij/openapi/ui/BannerImageProvider.kt#L15
The 'com.intellij.openapi.ui.BannerImageProvider' class is not registered as a service
Incorrect service retrieving: platform/platform-impl/src/com/intellij/platform/impl/toolkit/ClientToolkit.kt#L14
The 'com.intellij.platform.impl.toolkit.ClientToolkit' class is not registered as a service
Incorrect service retrieving: plugins/kotlin/code-insight/kotlin.code-insight.k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/generate/KotlinToStringTemplatesManager.kt#L42
The 'org.jetbrains.java.generate.template.TemplatesManager' class is not registered as a service
Incorrect service retrieving: java/jsp-spi/src/com/intellij/jsp/JspManager.java#L25
The 'com.intellij.jsp.JspManager' class is not registered as a service
Incorrect service retrieving: python/src/com/jetbrains/python/debugger/PyConcurrencyService.java#L9
The 'com.jetbrains.python.debugger.PyConcurrencyService' class is not registered as a service
Incorrect service retrieving: platform/duplicates-analysis/src/com/intellij/dupLocator/DuplocatorSettings.java#L29
The 'com.intellij.dupLocator.DuplocatorSettings' class is not registered as a service
Incorrect service retrieving: platform/platform-impl/src/com/intellij/platform/impl/toolkit/IdeDesktopPeer.kt#L19
The 'com.intellij.platform.impl.toolkit.ClientDesktopPeer' class is not registered as a service
Incorrect service retrieving: java/jsp-spi/src/com/intellij/jsp/JspSpiUtil.java#L39
The 'com.intellij.jsp.JspSpiUtil' class is not registered as a service
Incorrect service retrieving: notebooks/notebook-ui/src/com/intellij/notebooks/ui/NotebookPluginDisposable.kt#L20
The 'com.intellij.openapi.Disposable' class is not registered as a service
Incorrect service retrieving: platform/platform-impl/src/com/intellij/openapi/fileEditor/ClientFileEditorManager.kt#L28
The 'com.intellij.openapi.fileEditor.ClientFileEditorManager' class is not registered as a service
Incorrect service retrieving: java/jsp-spi/src/com/intellij/jsp/JspContextManager.java#L17
The 'com.intellij.jsp.JspContextManager' class is not registered as a service
Incorrect service retrieving: plugins/maven/src/main/java/org/jetbrains/idea/maven/buildtool/MavenSyncConsole.kt#L47
The 'com.intellij.build.BuildProgressListener' class is not registered as a service
Incorrect service retrieving: plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/config/JspSupportProxy.java#L24
The 'org.intellij.plugins.intelliLang.inject.config.JspSupportProxy' class is not registered as a service
Incorrect service retrieving: platform/duplicates-analysis/src/com/intellij/dupLocator/MultilanguageDuplocatorSettings.java#L29
The 'com.intellij.dupLocator.MultilanguageDuplocatorSettings' class is not registered as a service
Incorrect service retrieving: platform/testFramework/extensions/src/com/intellij/testFramework/rules/defaultProjectStore.kt#L33
The application-level service is retrieved as a project-level service
Incorrect service retrieving: platform/platform-impl/src/com/intellij/ui/JBAccountInfoService.java#L147
The 'com.intellij.ui.JBAccountInfoService' class is not registered as a service
Incorrect service retrieving: platform/core-api/src/com/intellij/openapi/application/TransactionGuard.java#L52
The 'com.intellij.openapi.application.TransactionGuard' class is not registered as a service
Incorrect service retrieving: platform/remoteDev-util/src/com/intellij/remoteDev/tests/DistributedTestBridge.kt#L13
The 'com.intellij.remoteDev.tests.DistributedTestBridge' class is not registered as a service
Incorrect service retrieving: platform/platform-impl/remote/src/com/intellij/remote/VagrantSupport.java#L23
The 'com.intellij.remote.VagrantSupport' class is not registered as a service
Incorrect service retrieving: platform/platform-api/src/com/intellij/openapi/client/ClientDisposableProvider.java#L19
The 'com.intellij.openapi.client.ClientDisposableProvider' class is not registered as a service
Incorrect service retrieving: platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewCurrentPaneProvider.kt#L12
The 'com.intellij.ide.projectView.impl.ProjectViewCurrentPaneProvider' class is not registered as a service
Incorrect service retrieving: plugins/git4idea/src/git4idea/log/GitShowExternalLogAction.kt#L196
The 'com.intellij.vcs.log.impl.VcsLogTabsProperties' class is not registered as a service
Incorrect service retrieving: java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java#L1510
The 'com.intellij.compiler.YourKitProfilerService' class is not registered as a service
Incorrect service retrieving: platform/platform-impl/src/com/intellij/ui/ExperimentalUIImpl.kt#L174
The 'com.intellij.ui.ExperimentalUIJetBrainsClientDelegate' class is not registered as a service
Unresolved plugin configuration reference: python/src/com/jetbrains/python/codeInsight/typing/PyStubPackagesAdvertiser.kt#L53
Cannot resolve notification group id 'Python Stub Packages Advertiser'
Unresolved plugin configuration reference: platform/platform-impl/src/com/intellij/ide/settings/RemoteSettingInfoProvider.kt#L59
Cannot resolve extension point 'com.intellij.rdct.remoteSettingProvider'
Field blocks intention preview: plugins/editorconfig/src/org/editorconfig/language/codeinsight/quickfixes/EditorConfigAddRequiredDeclarationsQuickFix.kt#L22
Unnecessary @SafeFieldForPreview annotation: the field type is considered to be safe already
Field blocks intention preview: plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/intentions/base/Intention.java#L25
Unnecessary @SafeFieldForPreview annotation: the field type is considered to be safe already
Cast to incompatible type: platform/execution-impl/src/com/intellij/execution/impl/SingleConfigurationConfigurable.java#L158
Cast of expression with type 'RunConfiguration' to incompatible interface `FusCollectSettingChangesRunConfiguration`
Cast to incompatible type: platform/analysis-impl/src/com/intellij/psi/templateLanguages/RangeCollectorImpl.java#L315
Cast of expression with type 'IElementType' to incompatible interface `TemplateDataElementType.TemplateAwareElementType`
Condition is covered by further condition: platform/ide-core-impl/src/com/intellij/ide/impl/DataValidators.java#L107
Condition 'provider instanceof DataProvider' covered by subsequent condition 'provider instanceof Function0'
Constant values: platform/lang-impl/src/com/intellij/ide/actions/NewElementAction.java#L130
Condition `group instanceof CustomisedActionGroup o && o.getDelegate() instanceof DefaultActionGroup oo` is always `false`
Constant values: python/src/com/jetbrains/python/sdk/PythonSdkType.java#L289
Condition `targetAdditionalData != null` is always `false`
Constant values: plugins/gradle/src/org/jetbrains/plugins/gradle/service/execution/GradleExecutionHelper.java#L421
Result of `ObjectUtils.doIfNotNull(environmentConfigurationProvider, it -> it.getEnvironmentConfiguration())` is always 'null'
Constant values: plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolver.java#L310
Result of `ObjectUtils.doIfNotNull(environmentConfigurationProvider, it -> it.getPathMapper())` is always 'null'
Constant values: plugins/grazie/src/main/kotlin/com/intellij/grazie/text/TextExtractor.java#L131
Condition `provider == null` is always `true`
Constant values: platform/platform-api/src/com/intellij/openapi/ui/BrowseFolderRunnable.java#L111
Condition `convertPathToText != null` is always `false`
Constant values: platform/lang-impl/src/com/intellij/util/indexing/UnindexedFilesIndexer.java#L206
Condition `exception != null` is always `false`
Constant values: plugins/gradle/src/org/jetbrains/plugins/gradle/service/execution/GradleExecutionHelper.java#L422
Condition `environmentConfiguration != null` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsEx.java#L441
Condition `array instanceof ArrayReferenceImpl` is always `true`
Constant values: platform/platform-api/src/com/intellij/openapi/ui/SimpleToolWindowPanel.java#L237
Condition `targetComponent == null` is always `true`
Constant values: java/debugger/impl/src/com/intellij/debugger/actions/ThreadDumpAction.java#L141
Condition `threadReference instanceof ThreadReferenceImpl impl` is always `true`
Constant values: java/java-impl/src/com/intellij/ide/projectView/impl/nodes/PackageViewModuleNode.java#L41
Condition `moduleGroupPath != null` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/jdi/VirtualMachineProxyImpl.java#L451
Condition `thread instanceof ThreadReferenceImpl` is always `true`
Constant values: platform/core-impl/src/com/intellij/util/CachedValueStabilityChecker.java#L174
Condition `o instanceof kotlin.Function` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsEx.java#L458
Condition `array instanceof ArrayReferenceImpl` is always `true`
Constant values: plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenProjectsManager.java#L379
Condition `distributionUrl != null` is always `false`
Constant values: platform/platform-impl/src/com/intellij/openapi/progress/util/PotemkinProgress.java#L215
Condition `event instanceof InvocationEvent && isUrgentInvocationEvent(event)` is always `false`
Constant values: platform/platform-impl/src/com/intellij/help/impl/HelpManagerImpl.java#L48
Condition `urlSupplier == null` is always `true`
Constant values: plugins/gradle/src/org/jetbrains/plugins/gradle/service/execution/GradleExecutionHelper.java#L422
Condition `environmentConfiguration != null && !LocalGradleExecutionAware.LOCAL_TARGET_TYPE_ID.equals(environme...` is always `false`
Constant values: platform/lang-impl/src/com/intellij/ide/actions/NewElementAction.java#L130
Condition `group instanceof CustomisedActionGroup o` is always `false`
Constant values: python/src/com/jetbrains/python/packaging/PyPackageUtil.java#L588
Condition `vfsMapper == null` is always `true`
Constant values: java/idea-ui/src/com/intellij/openapi/externalSystem/action/AttachExternalProjectAction.java#L99
Condition `unlinkedProjectAware == null` is always `true`
Constant values: python/python-psi-impl/src/com/jetbrains/python/sdk/PythonSdkUtil.java#L314
Condition `python != null` is always `false`
Constant values: platform/platform-api/src/com/intellij/openapi/ui/BrowseFolderRunnable.java#L101
Condition `convertTextToPath != null` is always `false`
Constant values: platform/platform-impl/src/com/intellij/ide/actions/WhatsNewAction.java#L60
Condition `whatsNewUrl == null` is always `true`
Constant values: java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsAsync.java#L458
Condition `thread instanceof ThreadReferenceImpl` is always `true`
Constant values: platform/platform-impl/src/com/intellij/openapi/progress/util/PotemkinProgress.java#L211
Condition `event instanceof KeyEvent && event.getID() != KeyEvent.KEY_TYPED` is always `false`
Constant values: platform/lang-impl/src/com/intellij/ide/actions/NewElementAction.java#L129
Condition `group instanceof DefaultActionGroup o` is always `false`
Constant values: platform/platform-impl/src/com/intellij/openapi/application/impl/NonBlockingReadActionImpl.java#L780
Condition `iteration++ < 60_000` is always `true` when reached
Constant values: platform/ide-core-impl/src/com/intellij/ide/impl/DataValidators.java#L107
Condition `provider instanceof Function0` is always `false` when reached
Constant values: python/src/com/jetbrains/python/run/PythonTask.java#L200
Condition `helpersAwareRequest != null` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/InstrumentationTracker.java#L47
Condition `ourNoticeRedefineClassMethod != null || debugProcess.getVirtualMachineProxy().getVirtualMachine() in...` is always `true`
Constant values: platform/platform-api/src/com/intellij/openapi/ui/BrowseFolderRunnable.java#L107
Condition `convertFileToText != null` is always `false`
Constant values: java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/WslSdkFilter.java#L21
Condition `distribution == null` is always `true`
Constant values: platform/remote-core/src/remote/RemoteCredentialsHolder.java#L240
Condition `credentials != null` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsAsync.java#L77
Condition `value instanceof ObjectReferenceImpl` is always `true`
Constant values: platform/platform-impl/src/com/intellij/ide/actions/RefCardAction.java#L45
Condition `url != null` is always `false`
Constant values: java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/InstrumentationTracker.java#L47
Condition `debugProcess.getVirtualMachineProxy().getVirtualMachine() instanceof VirtualMachineImpl` is always `true` when reached
Constant values: java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java#L1715
Condition `fromLoader instanceof ClassLoaderReferenceImpl` is always `true`
Constant values: platform/platform-impl/src/com/intellij/ide/plugins/newui/TagComponent.java#L64
Condition `suggestedIdeCode != null` is always `false`
'equals()' between objects of inconvertible types: plugins/svn4idea/src/org/jetbrains/idea/svn/SvnFileUrlMappingImpl.java#L224
`equals` between objects of inconvertible types 'List' and 'NonExistentClass'
Mismatched query and update of collection: platform/execution.dashboard/src/RunDashboardManagerImpl.java#L528
Contents of collection `storedConfigurations` are queried, but never updated
Redundant type cast: platform/analysis-api/src/com/intellij/codeInspection/options/OptionController.java#L90
Casting `property` to `KMutableProperty0<Object>` is redundant
Test class without tests: plugins/git4idea/tests/git4idea/branch/GitBranchesTreeStructureTest.kt#L16
Test class `GitBranchesTreeStructureTest` has no tests
Test class without tests: plugins/git4idea/tests/git4idea/branch/GitBranchesTreeActionsForSelectionTest.kt#L37
Test class `GitBranchesTreeActionsForSelectionTest` has no tests
Test class without tests: plugins/git4idea/tests/git4idea/branch/GitBranchesTreeSelectionTest.kt#L4
Test class `GitBranchesTreeSelectionTest` has no tests
qodana
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636