Merge pull request #5151 from aws/rli/staging-port #1749
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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor
github-actions / Qodana Community for JVM
Eager creation of action presentation
Action presentation instantiated in the constructor