refactor: remove q related codes and jobs #6164
1378 new problems found by Qodana for JVM
Qodana for JVM
1378 new problems were found
| Inspection name | Severity | Problems |
|---|---|---|
Usage of API marked for removal |
🔴 Failure | 130 |
Unstable API Usage |
🔴 Failure | 31 |
Extension class is a Kotlin object |
🔴 Failure | 6 |
Kotlin object registered as extension |
🔴 Failure | 6 |
Unresolved plugin configuration reference |
🔴 Failure | 2 |
Extension registered as service/component |
🔴 Failure | 1 |
Unstable API Usage |
🔶 Warning | 198 |
Unused symbol |
🔶 Warning | 153 |
Extension class should be final and non-public |
🔶 Warning | 147 |
Incorrect string capitalization |
🔶 Warning | 97 |
Redundant 'Companion' reference |
🔶 Warning | 79 |
Redundant nullable return type |
🔶 Warning | 51 |
Companion object in extensions |
🔶 Warning | 45 |
A service can be converted to a light one |
🔶 Warning | 32 |
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 |
🔶 Warning | 18 |
Redundant qualifier name |
🔶 Warning | 18 |
Constructor parameter is never used as a property |
🔶 Warning | 13 |
Incorrect parentDisposable parameter |
🔶 Warning | 10 |
Deprecated API usage |
🔶 Warning | 9 |
Method can only be overridden |
🔶 Warning | 9 |
Java default methods are not overridden by delegation |
🔶 Warning | 7 |
Redundant SAM constructor |
🔶 Warning | 7 |
Redundant visibility modifier |
🔶 Warning | 7 |
Redundant 'inner' modifier |
🔶 Warning | 6 |
Redundant character escape |
🔶 Warning | 4 |
Redundant receiver-based 'let' call |
🔶 Warning | 4 |
Unused variable |
🔶 Warning | 4 |
Use DPI-aware insets |
🔶 Warning | 3 |
Assigned value is never read |
🔶 Warning | 2 |
Component/Action not registered |
🔶 Warning | 2 |
'@Deferred' result is unused |
🔶 Warning | 2 |
Constant conditions |
🔶 Warning | 2 |
Unreachable code |
🔶 Warning | 2 |
ActionUpdateThread is missing |
🔶 Warning | 2 |
Redundant 'return' keyword |
🔶 Warning | 2 |
'runBlocking' inside suspend function |
🔶 Warning | 2 |
Unspecified action place |
🔶 Warning | 2 |
Use Darcula aware JBColor |
🔶 Warning | 2 |
Redundant call on collection type |
🔶 Warning | 2 |
Possibly blocking call in non-blocking context |
🔶 Warning | 1 |
'CoroutineContext' can contain 'Job' element |
🔶 Warning | 1 |
Private data class constructor is exposed via the 'copy' method |
🔶 Warning | 1 |
Nullability and data flow problems |
🔶 Warning | 1 |
Field can be local variable |
🔶 Warning | 1 |
Nullable type argument in Java collection that doesn't support nulls |
🔶 Warning | 1 |
Unused import directive |
🔶 Warning | 1 |
Class, interface, or method should not be extended |
🔶 Warning | 1 |
Potentially ambiguous 'kotlin.coroutine.coroutineContext' usage |
🔶 Warning | 1 |
Redundant '?: return null' |
🔶 Warning | 1 |
Redundant modality modifier |
🔶 Warning | 1 |
Redundant 'suspend' modifier |
🔶 Warning | 1 |
Redundant upper bound 'Any?' |
🔶 Warning | 1 |
Begin or end anchor in unexpected position |
🔶 Warning | 1 |
Unnecessary non-capturing group |
🔶 Warning | 1 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 1 |
Multiple operators with different precedence |
🔶 Warning | 1 |
Use DPI-aware borders |
🔶 Warning | 1 |
Variable initializer is redundant |
🔶 Warning | 1 |
Variable is never read |
🔶 Warning | 1 |
Accessor call that can be replaced with property access syntax |
◽️ Notice | 47 |
Function or property has platform type |
◽️ Notice | 28 |
Redundant interpolation prefix |
◽️ Notice | 18 |
Const property naming convention |
◽️ Notice | 18 |
Duplicated code fragment |
◽️ Notice | 17 |
Function naming convention |
◽️ Notice | 14 |
Nested lambda has shadowed implicit parameter |
◽️ Notice | 14 |
Unnecessary type argument |
◽️ Notice | 9 |
Call chain on collection type can be simplified |
◽️ Notice | 8 |
Java Map.forEach method call should be replaced with Kotlin's forEach |
◽️ Notice | 7 |
Redundant 'if' statement |
◽️ Notice | 5 |
Explicit 'get' or 'set' call |
◽️ Notice | 5 |
Size check can be replaced with 'isNotEmpty()' |
◽️ Notice | 4 |
Lambda argument inside parentheses |
◽️ Notice | 3 |
Redundant 'with' call |
◽️ Notice | 3 |
Regular expression can be simplified |
◽️ Notice | 3 |
Redundant escaped dollar characters in string literals |
◽️ Notice | 2 |
Cascade 'if' can be replaced with 'when' |
◽️ Notice | 2 |
If-Then foldable to '?:' |
◽️ Notice | 2 |
Join declaration and assignment |
◽️ Notice | 2 |
Redundant overriding method |
◽️ Notice | 2 |
Return or assignment can be lifted out |
◽️ Notice | 2 |
Non-distinguishable logging calls |
◽️ Notice | 2 |
Private property naming convention |
◽️ Notice | 2 |
'if' condition can be replaced with lambda call |
◽️ Notice | 2 |
'map.put()' can be converted to assignment |
◽️ Notice | 2 |
Boolean expression can be simplified |
◽️ Notice | 2 |
Redundant argument-based 'let' call |
◽️ Notice | 1 |
Two comparisons should be converted to a range check |
◽️ Notice | 1 |
'filterIsInstance' call with a class literal argument |
◽️ Notice | 1 |
Might be 'const' |
◽️ Notice | 1 |
Variable declaration could be moved into 'when' |
◽️ Notice | 1 |
'protected' visibility is effectively 'private' in a final class |
◽️ Notice | 1 |
Redundant 'asSequence' call |
◽️ Notice | 1 |
Redundant property getter |
◽️ Notice | 1 |
Java methods should be replaced with Kotlin analog |
◽️ 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 |
Verbose nullability and emptiness check |
◽️ 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 qodana-support@jetbrains.com
- 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 for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code