Search code examples
androidsonarqubelint

SonarQube Android-Lint repository does not contain all the android-lint official rules?


In sonarqube Android-lint repository i could find only 158 rules,but there are 281 rules in android-lint officially. Do you have any clues why the remaining 123 rules are not available on Sonarqube Lint repository ?


Solution

  • The latest version of the plugin was released in 2015 & the version of Android Lint embedded in it is probably quite old now. Without a list of the missing rules, it's difficult to verity but it is likely that these rules were added since the latest plugin release.

    Note that the plugin is no longer maintained by SonarSource. It is a repository in search of a maintainer.

    This answer was was given by one of the sonarqube officials. When I posted it on their official Google Group. It's a very relevant question so I re-posted it here.

    For confirmation refer the below link you will find the discussion: