Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any code inpector like sonarqube for flutter

Tags:

flutter

Is there any code inspector like sonarqube for flutter.

As I am building a mobile app using flutter, I want my code quality very good. That's why I was searching sonarqube for flutter, but I was not able to find this.

like image 692
Pawanpreet Singh Avatar asked Nov 28 '18 13:11

Pawanpreet Singh


People also ask

Can SonarQube scan Flutter?

At the moment of writing, there is no official support for Dart and Flutter from SonarQube , but long live GitHub and the community. There is already a plugin/extension that can be downloaded at https://github.com/insideapp-oss/sonar-flutter.

How do you analyze a Flutter code?

To run flutter analyze , Codemagic specifies the analyze command in the Flutter analyze arguments field. You can pass additional arguments to customize static code analysis. For example, adding --write=analyzer-output. txt prints the results of static code analysis into a text file.


2 Answers

I just released a Flutter / Dart plugin for SonarQube. It is here : https://github.com/insideapp-oss/sonar-flutter

like image 113
zippy1978 Avatar answered Oct 25 '22 21:10

zippy1978


You can add analysis_options.yaml in the root of your project to enable extra checks and customize static analysis. You can read about it here

like image 43
Katarina Sheremet Avatar answered Oct 25 '22 19:10

Katarina Sheremet