How I can take coverage from lcov.info file in Flutter project?

My config:

sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
sonar.organization=tagme
sonar.projectKey=tagsource_mobile-b2c-app
sonar.host.url=https://sonarcloud.io
sonar.coverage.jacoco.xmlReportPaths =-

Hey there.

You’ll need to provide some more details – I don’t understand the question you’re trying to ask. Log messages, screenshots, etc. are usually helpful.

Hi
I have Flutter (Dart) project. After test running with coverage I got lcov.info file. How I should configure sonarcloud.property for see this report in admin panel

I suspect that if you check the Code tab of your project, you won’t see Fluter (Dart) code – SonarCloud doesn’t support Flutter, and you won’t be able to report coverage on that code.

This is highly requested and on our roadmap – you can add your voice there as well.

1 Like

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