Skip to content

detekt

detekt #1599

GitHub Actions / Qodana Community for JVM completed Nov 20, 2024 in 0s

5272 new problems found by Qodana Community for JVM

Qodana Community for JVM

5272 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 47
Unstable API Usage 🔴 Failure 46
Kotlin object registered as extension 🔴 Failure 6
'ProcessCanceledException' handled incorrectly 🔴 Failure 4
Extension registered as service/component 🔴 Failure 1
Incorrect service retrieving 🔴 Failure 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 3585
Unstable API Usage 🔶 Warning 228
Extension class should be final and non-public 🔶 Warning 226
Unused symbol 🔶 Warning 185
Incorrect string capitalization 🔶 Warning 97
Companion object in extensions 🔶 Warning 61
Eager creation of action presentation 🔶 Warning 52
Redundant nullable return type 🔶 Warning 50
Component/Action not registered 🔶 Warning 28
Redundant qualifier name 🔶 Warning 28
Unresolved reference in KDoc 🔶 Warning 19
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 🔶 Warning 18
Constructor parameter is never used as a property 🔶 Warning 16
Incorrect parentDisposable parameter 🔶 Warning 12
Unused import directive 🔶 Warning 12
Deprecated API usage 🔶 Warning 9
Constant conditions 🔶 Warning 8
Leaking 'this' in constructor 🔶 Warning 8
Obvious explicit type 🔶 Warning 8
Redundant SAM constructor 🔶 Warning 8
Redundant visibility modifier 🔶 Warning 7
Redundant receiver-based 'let' call 🔶 Warning 6
Use Darcula aware JBColor 🔶 Warning 6
Redundant character escape 🔶 Warning 4
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 3
Redundant modality modifier 🔶 Warning 3
Use DPI-aware insets 🔶 Warning 3
Undesirable class usage 🔶 Warning 2
Unspecified action place 🔶 Warning 2
Property is explicitly assigned to constructor parameter 🔶 Warning 1
Private data class constructor is exposed via the 'copy' method 🔶 Warning 1
Field can be local 🔶 Warning 1
Serializable object must implement 'readResolve' 🔶 Warning 1
Redundant diagnostic suppression 🔶 Warning 1
ActionUpdateThread is missing 🔶 Warning 1
Redundant '?: return null' 🔶 Warning 1
Redundant 'suspend' modifier 🔶 Warning 1
Unnecessary non-capturing group 🔶 Warning 1
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 1
Use DPI-aware borders 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 134
Accessor call that can be replaced with property access syntax ◽️ Notice 52
Const property naming convention ◽️ Notice 39
Function or property has platform type ◽️ Notice 38
Convert 'object' to 'data object' ◽️ Notice 35
Unnecessary type argument ◽️ Notice 13
Class naming convention ◽️ Notice 12
Nested lambda has shadowed implicit parameter ◽️ Notice 12
Boolean literal argument without parameter name ◽️ Notice 10
Explicit 'get' or 'set' call ◽️ Notice 9
Function naming convention ◽️ Notice 8
Leaking 'this' in constructor ◽️ Notice 8
@Deprecated annotation without 'replaceWith' argument ◽️ Notice 7
Java Map.forEach method call should be replaced with Kotlin's forEach ◽️ Notice 7
Redundant 'if' statement ◽️ Notice 6
Call chain on collection type can be simplified ◽️ Notice 6
Java methods should be replaced with Kotlin analog ◽️ Notice 5
Cascade 'if' can be replaced with 'when' ◽️ Notice 4
Join declaration and assignment ◽️ Notice 4
'if' condition can be replaced with lambda call ◽️ Notice 4
Assignment can be replaced with operator assignment ◽️ Notice 4
Boolean expression can be simplified ◽️ Notice 4
Return or assignment can be lifted out ◽️ Notice 3
Lambda argument inside parentheses ◽️ Notice 3
Variable declaration could be moved inside 'when' ◽️ Notice 3
Property naming convention ◽️ Notice 3
Redundant 'with' call ◽️ Notice 3
Regular expression can be simplified ◽️ Notice 3
Iterated elements are not used in forEach ◽️ Notice 2
Non-distinguishable logging calls ◽️ Notice 2
Negated call can be simplified ◽️ Notice 2
Size check can be replaced with 'isNotEmpty()' ◽️ Notice 2
Verbose nullability and emptiness check ◽️ Notice 2
Redundant argument-based 'let' call ◽️ Notice 1
'filterIsInstance' call with a class literal argument ◽️ Notice 1
Redundant overriding method ◽️ Notice 1
'protected' visibility is effectively 'private' in a final class ◽️ Notice 1
Redundant 'asSequence' call ◽️ Notice 1
Redundant empty initializer block ◽️ Notice 1
Redundant property getter ◽️ Notice 1
'map.put()' can be converted to assignment ◽️ Notice 1
Boxed properties should be replaced with unboxed ◽️ Notice 1
'rangeTo' or the '..' call should be replaced with '..<' ◽️ Notice 1
Size zero check can be replaced with 'isEmpty()' ◽️ Notice 1
Trailing comma recommendations ◽️ Notice 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 34 in plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationPollingService.kt

See this annotation in the file changed.

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

Extension class should be final and non-public

Service implementation should not be public. If a service is supposed to be used outside its module, extract an interface from it and specify it as serviceInterface in plugin.xml.

Check warning on line 11 in plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt

See this annotation in the file changed.

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

Extension class should be final and non-public

Extension class should not be public

Check warning on line 40 in plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationPollingService.kt

See this annotation in the file changed.

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

Unused symbol

Property "mapper" is never used

Check warning on line 15 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/actions/GoToHandlerAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 16 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamic/explorer/actions/CopyIdentifierAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 13 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/settings/ShowSettingsAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 33 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/apprunner/actions/ResumeServiceAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 28 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/sqs/actions/EditAttributesAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 13 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/sqs/actions/SendMessageAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 52 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/actions/UpdateFunctionAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 15 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/ecr/actions/CopyTagUriAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 16 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/sqs/actions/DeleteQueueAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 29 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/ecr/actions/DeleteTagAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 26 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/schemas/search/SearchSchemasAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 15 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamic/explorer/actions/OpenFileForUpdateAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 30 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/apprunner/actions/DeployAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 60 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/actions/SyncServerlessAppAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 11 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamic/editor/actions/EnableEditingResourceAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 64 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/cloudformation/stack/Stack.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 15 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/ecr/actions/CopyRepositoryUriAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 22 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamic/explorer/actions/DynamicResourceDeleteResourceAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 21 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/upload/CreateLambdaFunctionAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 14 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/core/explorer/actions/InstallAmazonQAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 21 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/ecs/actions/EcsLogGroupAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor

Check warning on line 17 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/cloudformation/actions/DeleteStackAction.kt

See this annotation in the file changed.

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

Eager creation of action presentation

Action presentation instantiated in the constructor