Skip to content

Merge pull request #5151 from aws/rli/staging-port #1749

Merge pull request #5151 from aws/rli/staging-port

Merge pull request #5151 from aws/rli/staging-port #1749

GitHub Actions / Qodana Community for JVM completed Dec 3, 2024 in 0s

5598 new problems found by Qodana Community for JVM

Qodana Community for JVM

5598 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
Incorrect service retrieving 🔴 Failure 3
Invalid property key 🔴 Failure 2
Extension registered as service/component 🔴 Failure 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 3831
Unstable API Usage 🔶 Warning 228
Extension class should be final and non-public 🔶 Warning 227
Unused symbol 🔶 Warning 209
Incorrect string capitalization 🔶 Warning 100
Companion object in extensions 🔶 Warning 61
Eager creation of action presentation 🔶 Warning 52
Redundant nullable return type 🔶 Warning 51
Redundant qualifier name 🔶 Warning 29
Component/Action not registered 🔶 Warning 28
Unresolved reference in KDoc 🔶 Warning 22
'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
Obvious explicit type 🔶 Warning 11
Deprecated API usage 🔶 Warning 9
Constant conditions 🔶 Warning 8
Leaking 'this' in constructor 🔶 Warning 8
Redundant SAM constructor 🔶 Warning 8
Redundant visibility modifier 🔶 Warning 7
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 6
Redundant receiver-based 'let' call 🔶 Warning 6
Use Darcula aware JBColor 🔶 Warning 6
Mismatch between light service level and its constructor 🔶 Warning 4
Redundant modality modifier 🔶 Warning 4
Redundant character escape 🔶 Warning 4
Use DPI-aware insets 🔶 Warning 3
Property is explicitly assigned to constructor parameter 🔶 Warning 2
Undesirable class usage 🔶 Warning 2
Unspecified action place 🔶 Warning 2
Possibly blocking call in non-blocking context 🔶 Warning 1
Control flow with empty body 🔶 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
Redundant call of conversion method 🔶 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 157
Accessor call that can be replaced with property access syntax ◽️ Notice 52
Const property naming convention ◽️ Notice 40
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 7
Call chain on collection type can be simplified ◽️ Notice 6
Cascade 'if' can be replaced with 'when' ◽️ Notice 5
Join declaration and assignment ◽️ Notice 5
Java methods should be replaced with Kotlin analog ◽️ Notice 5
Variable declaration could be moved inside 'when' ◽️ Notice 4
'if' condition can be replaced with lambda call ◽️ Notice 4
Boolean expression can be simplified ◽️ Notice 4
Return or assignment can be lifted out ◽️ Notice 3
Lambda argument inside parentheses ◽️ Notice 3
Property naming convention ◽️ Notice 3
Redundant 'with' call ◽️ Notice 3
Regular expression can be simplified ◽️ Notice 3
Size zero check can be replaced with 'isEmpty()' ◽️ 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
Assignment can be replaced with operator assignment ◽️ 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 property getter ◽️ Notice 1
Redundant 'requireNotNull' or 'checkNotNull' call ◽️ 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
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 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

Check warning on line 15 in plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/s3/bucketActions/CopyBucketNameAction.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/dynamic/editor/actions/SubmitResourceUpdateRequestAction.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/SubscribeSnsAction.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