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

dead.fish

07/20/2020, 1:39 PM
Hi all! Are there any more sophisticated complexity checks that somebody wrote based on Detekt?
ComplexMethod
only works on single methods, but I’m looking for class and inter-class complexity calculation. Is this even possible with Detekt?
g

gammax

07/20/2020, 1:45 PM
I’m not aware of any 3-rd party developed rules on this area. To answer your “is possible question”
but I’m looking for class
This is definitely possible
and inter-class complexity
This could be harder to develop but not impossible imho
👍 3
s

schalkms

07/22/2020, 8:32 PM
Both cases are possible. Do you have any existing metrics in mind that you want to share? @dead.fish
2 Views