detekt #1599
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]
- 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
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.
github-actions / Qodana Community for JVM
Extension class should be final and non-public
Extension class should not be public
github-actions / Qodana Community for JVM
Unused symbol
Property "mapper" is never used
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