Skip to content

fix(amazonq): add boundary check to UserModificationTracker to preven… #2677

fix(amazonq): add boundary check to UserModificationTracker to preven…

fix(amazonq): add boundary check to UserModificationTracker to preven… #2677

GitHub Actions / Qodana Community for JVM completed Feb 3, 2025 in 0s

6060 new problems found by Qodana Community for JVM

Qodana Community for JVM

6060 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 72
Unstable API Usage 🔴 Failure 50
Extension class is a Kotlin object 🔴 Failure 6
Kotlin object registered as extension 🔴 Failure 6
Incorrect service retrieving 🔴 Failure 3
Unresolved plugin configuration reference 🔴 Failure 3
Extension registered as service/component 🔴 Failure 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 4091
Unstable API Usage 🔶 Warning 274
Unused symbol 🔶 Warning 234
Extension class should be final and non-public 🔶 Warning 211
Incorrect string capitalization 🔶 Warning 120
Companion object in extensions 🔶 Warning 60
Redundant nullable return type 🔶 Warning 54
Eager creation of action presentation 🔶 Warning 52
A service can be converted to a light one 🔶 Warning 40
Component/Action not registered 🔶 Warning 28
Redundant qualifier name 🔶 Warning 28
Unresolved reference in KDoc 🔶 Warning 24
Constructor parameter is never used as a property 🔶 Warning 20
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 🔶 Warning 18
Unused import directive 🔶 Warning 15
Incorrect parentDisposable parameter 🔶 Warning 12
Obvious explicit type 🔶 Warning 11
Deprecated API usage 🔶 Warning 9
Constant conditions 🔶 Warning 9
Redundant SAM constructor 🔶 Warning 9
Leaking 'this' in constructor 🔶 Warning 8
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 6
Redundant visibility modifier 🔶 Warning 6
Redundant receiver-based 'let' call 🔶 Warning 6
Use Darcula aware JBColor 🔶 Warning 6
Method can only be overridden 🔶 Warning 5
Mismatch between light service level and its constructor 🔶 Warning 4
Redundant character escape 🔶 Warning 4
Use DPI-aware insets 🔶 Warning 4
ActionUpdateThread is missing 🔶 Warning 3
Nullability and data flow problems 🔶 Warning 2
'@Deferred' result is unused 🔶 Warning 2
Undesirable class usage 🔶 Warning 2
Unspecified action place 🔶 Warning 2
Useless call on collection type 🔶 Warning 2
Possibly blocking call in non-blocking context 🔶 Warning 1
Property is explicitly assigned to constructor parameter 🔶 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
Class, interface, or method should not be extended 🔶 Warning 1
Redundant '?: return null' 🔶 Warning 1
Redundant modality modifier 🔶 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
Multiple operators with different precedence 🔶 Warning 1
Use DPI-aware borders 🔶 Warning 1
Useless call on not-null type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 161
Accessor call that can be replaced with property access syntax ◽️ Notice 51
Const property naming convention ◽️ Notice 44
Function or property has platform type ◽️ Notice 43
Convert 'object' to 'data object' ◽️ Notice 41
Function naming convention ◽️ Notice 14
Nested lambda has shadowed implicit parameter ◽️ Notice 14
Unnecessary type argument ◽️ Notice 14
Class naming convention ◽️ Notice 12
Boolean literal argument without parameter name ◽️ Notice 10
Explicit 'get' or 'set' call ◽️ Notice 9
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
Cascade 'if' can be replaced with 'when' ◽️ Notice 6
Call chain on collection type can be simplified ◽️ Notice 6
Join declaration and assignment ◽️ Notice 5
Java methods should be replaced with Kotlin analog ◽️ Notice 5
Lambda argument inside parentheses ◽️ Notice 4
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
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
'map.put()' can be converted to assignment ◽️ 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
'when' that can be simplified by introducing an argument ◽️ Notice 1
Redundant overriding method ◽️ Notice 1
Might be 'const' ◽️ 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
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