Analysis flutter/dart

"Hello, I am analyzing the source code of an iOS application written in the Dart programming language. While searching for references, I came across the following documentation: sonar-flutter . I followed the instructions to install and configure the prerequisites mentioned there.

During my execution, it indicates “EXECUTION SUCCESS”; however, in the overview, it states: “The main branch has no lines of code,” and in the Code section, it also tells me that “The main branch has no lines of code.”

Furthermore, I searched for other projects on the internet and found the following: sonarqube-flutter-sample. Surprisingly, it yielded the same results. Could someone please help me? Can you provide guidance on the configuration settings I should apply to properly analyze the Dart code?"

I share the sonar.properties configuration:
sonar.projectKey=test
sonar.projectName=test
sonar.projectVersion=1.0
sonar.language=dart

sonar.sources=lib

sonar.token=sqa_xxxx
sonar.host.url=http://localhost:9000
sonar.sourceEncoding=UTF-8
sonar.scm.disabled=true

Hey there!

Assumign sonar.sources is set correctly, probably your best bet is to open an issue on the GitHub of GitHub - insideapp-oss/sonar-flutter: SonarQube plugin for Flutter / Dart. Providing them with DEBUG level scanner logs (sonar-scanner -X) will probably help a lot.

Hello, you can solve it now, update to the latest version of the plugin: 0.5.2-SNAPSHOT

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.