Scanning Flutter projects


You will find descriptions of the issue below:

  • SonarQube version used: * Community Edition Version 9.9 (build 65466
    *How is SonarQube deployed:Docker (locally)
  • what are you trying to achieve: run SonarQube reports for Flutter applications
  • what have you tried so far to achieve this: standard SonarQube reports, lint plugin.

You will see on the picture attached that the Flutter projects aren’t being scanned properly as only 110 lines are being detected while there are much more. I don’t see this issue for the React project.

I understand Flutter scanning is a limitation in SonarQube.

Can you please advise or/and share your experience on scanning Flutter apps in SonarQube?

Many thanks!


Flutter is not natively supported by SonarQube.

You might find this community-supported plugin useful: GitHub - insideapp-oss/sonar-flutter: SonarQube plugin for Flutter / Dart