Which is your preferred static analysis tool for A...
# android
s
Which is your preferred static analysis tool for Android/Kotlin?
c
IDEA/AS Hopefully with Qodana we'll get a CLI/CI version, I haven't looked into it yet
j
j
• android lint • ktlint • detekt
☝️ 1
s
@Jeremy Do you use all of them? Don't they do the same thing with varying degree of functionalities?
i
Spotless with ktlint
j
There is no overlap. ktlint is just style guide, android lint is android specific apis, detekt is kotlin only
spotless is similar to ktlint afaik
s
So for kotlin only apps do klint and detekt overlap?
j
ktlint and detekt have no overlap. ktlint checks against the style guide (indents, spacing etc). detekt looks at things like unused variables, code paths that could be simplified, code smells etc
s
What do you think of Android lint?
👍 1