Interesting reading: Detecting Antipatterns in Android Apps. Geoffrey Hecht, Romain Rouvoy, Naouel Moha, Laurence Duchien https://hal.inria.fr/hal-01122754v2/document