Hi all
I am using Sonarsource cloud (paid) version .
I try to analyze dart code, but I get the error:
Some files were not analyzed. The following language is not included in your current plan: DART. To analyze these files, please contact your account manager.
How to enable this?
Pascal
Log
10:20:40.360 INFO Scanner configuration file: /Users/pascal/.sonar/sonar-scanner-6.2.1.4610-macosx-x64/conf/sonar-scanner.properties
10:20:40.374 INFO Project root configuration file: /Users/pascal/work/company/erbe/flutter_demo/sonar-project.properties
10:20:40.412 INFO SonarScanner CLI 6.2.1.4610
10:20:40.420 INFO Java 17.0.12 Eclipse Adoptium (64-bit)
10:20:40.421 INFO Mac OS X 15.1 x86_64
10:20:40.476 INFO User cache: /Users/pascal/.sonar/cache
10:20:41.317 INFO JRE provisioning: os[macos], arch[x86_64]
10:20:42.340 INFO Communicating with SonarCloud
10:20:42.966 INFO Starting SonarScanner Engine...
10:20:42.967 INFO Java 17.0.11 Eclipse Adoptium (64-bit)
10:20:44.172 INFO Load global settings
10:20:44.545 INFO Load global settings (done) | time=374ms
10:20:44.552 INFO Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
10:20:44.821 INFO Loading required plugins
10:20:44.822 INFO Load plugins index
10:20:44.916 INFO Load plugins index (done) | time=95ms
10:20:44.918 INFO Load/download plugins
10:20:44.962 INFO Load/download plugins (done) | time=44ms
10:20:45.359 INFO Load project settings for component key: 'arcondis_erbe-flutter-demo'
10:20:45.462 INFO Load project settings for component key: 'arcondis_erbe-flutter-demo' (done) | time=103ms
10:20:45.476 INFO Process project properties
10:20:45.487 INFO Project key: arcondis_erbe-flutter-demo
10:20:45.487 INFO Base dir: /Users/pascal/work/company/erbe/flutter_demo
10:20:45.488 INFO Working dir: /Users/pascal/work/company/erbe/flutter_demo/.scannerwork
10:20:45.498 INFO Load project branches
10:20:45.643 INFO Load project branches (done) | time=145ms
10:20:45.647 INFO Check ALM binding of project 'arcondis_erbe-flutter-demo'
10:20:45.712 INFO Detected project binding: NOT_BOUND
10:20:45.713 INFO Check ALM binding of project 'arcondis_erbe-flutter-demo' (done) | time=65ms
10:20:45.715 INFO Load project pull requests
10:20:45.795 INFO Load project pull requests (done) | time=79ms
10:20:45.800 INFO Load branch configuration
10:20:45.803 INFO Load branch configuration (done) | time=4ms
10:20:45.831 INFO Load quality profiles
10:20:46.509 INFO Load quality profiles (done) | time=678ms
10:20:46.521 INFO Load active rules
10:20:51.108 INFO Load active rules (done) | time=4585ms
10:20:51.144 WARN SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
10:20:51.230 INFO Organization key: arcondis
10:20:51.259 INFO Preprocessing files...
10:20:51.297 INFO 1 language detected in 2 preprocessed files
10:20:51.298 INFO 0 files ignored because of inclusion/exclusion patterns
10:20:51.400 INFO Loading plugins for detected languages
10:20:51.400 INFO Load/download plugins
10:20:51.404 INFO Load/download plugins (done) | time=7ms
10:20:51.461 INFO Load project repositories
10:20:51.549 INFO Load project repositories (done) | time=89ms
10:20:51.552 INFO Indexing files...
10:20:51.552 INFO Project configuration:
10:20:51.555 INFO Excluded sources: **/build-wrapper-dump.json
10:20:51.577 INFO 2 files indexed
10:20:51.585 INFO Quality profile for dart: Sonar way
10:20:51.585 INFO ------------- Run sensors on module Flutter Demo Project
10:20:51.624 INFO Load metrics repository
10:20:51.691 INFO Load metrics repository (done) | time=69ms
10:20:51.708 INFO Sensor cache enabled
10:20:52.012 INFO Load sensor cache
10:20:52.403 INFO Load sensor cache (404) | time=392ms
10:20:52.714 INFO Sensor JaCoCo XML Report Importer [jacoco]
10:20:52.716 INFO 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
10:20:52.717 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
10:20:52.717 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
10:20:52.718 INFO Sensor Java Config Sensor [iac]
10:20:52.744 INFO 0 source files to be analyzed
10:20:52.752 INFO 0/0 source files have been analyzed
10:20:52.752 INFO Sensor Java Config Sensor [iac] (done) | time=34ms
10:20:52.752 INFO Sensor IaC Docker Sensor [iac]
10:20:52.851 INFO 0 source files to be analyzed
10:20:52.851 INFO 0/0 source files have been analyzed
10:20:52.851 INFO Sensor IaC Docker Sensor [iac] (done) | time=99ms
10:20:52.851 INFO Sensor Dart [dart]
10:20:54.597 INFO Sensor Dart [dart] (done) | time=1744ms
10:20:54.597 INFO Sensor TextAndSecretsSensor [text]
10:20:54.597 INFO Available processors: 12
10:20:54.598 INFO Using 12 threads for analysis.
10:20:55.097 INFO The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
* The filename starts with "test"
* The filename contains "test." or "tests."
* Any directory in the file path is named: "doc", "docs", "test" or "tests"
* Any directory in the file path has a name ending in "test" or "tests"
10:20:55.189 INFO Using git CLI to retrieve untracked files
10:20:55.236 WARN Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
10:20:55.259 INFO 1 source file to be analyzed
10:20:55.270 INFO 1/1 source file has been analyzed
10:20:55.271 INFO Sensor TextAndSecretsSensor [text] (done) | time=674ms
10:20:55.275 INFO ------------- Run sensors on project
10:20:55.369 INFO Sensor Zero Coverage Sensor
10:20:55.375 INFO Sensor Zero Coverage Sensor (done) | time=6ms
10:20:55.376 INFO SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
10:20:55.378 INFO CPD Executor Calculating CPD for 0 files
10:20:55.378 INFO CPD Executor CPD calculation finished (done) | time=0ms
10:20:55.862 INFO Analysis report generated in 480ms, dir size=263 KB
10:20:55.875 INFO Analysis report compressed in 13ms, zip size=52 KB
10:20:56.084 INFO Analysis report uploaded in 208ms
10:20:56.095 INFO ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=arcondis_erbe-flutter-demo
10:20:56.095 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
10:20:56.095 INFO More about the report processing at https://sonarcloud.io/api/ce/task?id=AZJwXeqLrXQJPlWUz1qy
10:20:56.157 INFO Analysis total time: 11.073 s
10:20:56.158 INFO SonarScanner Engine completed successfully
10:20:56.612 INFO EXECUTION SUCCESS
10:20:56.616 INFO Total time: 16.259s