https://kotlinlang.org logo
#detekt
Title
# detekt
v

Venkat , Bangalore , India

09/14/2020, 3:18 PM
Hi Everyone, Could you please help me on how Detekt is different from Android lint. would be helpful for me to a deeper knowledge .. I mean what kind of issues Detekt uniquely reports compared to AndroidLint
z

Zach Klippenstein (he/him) [MOD]

09/14/2020, 3:27 PM
Detekt reports things like methods that are too complex, code that has too many cumulative issues (e.g. maybe 1 super long file is OK, but 20 super long files is not). It’s also not android-specific.
e

ephemient

09/14/2020, 3:57 PM
but most of the rules are about correct use of Android APIs (in build.gradle, *.java, *.kotlin, and *.xml), whereas Detekt rules are mostly about standard Kotlin style and general usage
v

Venkat , Bangalore , India

09/15/2020, 4:53 AM
@Zach Klippenstein (he/him) [MOD] @ephemient thanks for your prompt responses. Appreciate it 👍
@ephemient the above link is not working.. m curious to check that out.. do u have any alternative
2 Views