insideapp-oss / sonar-flutter

SonarQube plugin for Flutter / Dart
Other
443 stars 83 forks source link

sonar-scanner failing without message and never sends result to Sonarqube #177

Closed 73VW closed 1 year ago

73VW commented 1 year ago

Hey there!

I have installed the plugin on server with v10.0 of Sonarqube.

When running sonar-scanner, the execution fails with the following output:

INFO: Command 'flutter analyze --no-fatal-warnings --no-fatal-infos' finished (exit 1)
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:19.696s
ERROR: Error during SonarScanner execution
INFO: Final Memory: 41M/140M
INFO: ------------------------------------------------------------------------
java.lang.IllegalStateException: Error while running 'flutter analyze --no-fatal-warnings --no-fatal-infos' (exit 1): Downloading Dart SDK from Flutter engine 57d3bac3dd5cb5b0e464ab70e7bc8a0d8cf083ab...
Building flutter tool...
7895 issues found. (ran in 15.1s)

        at fr.insideapp.sonarqube.dart.lang.issues.dartanalyzer.executable.AnalyzerExecutable.maybeThrowException(AnalyzerExecutable.java:103)
        at fr.insideapp.sonarqube.dart.lang.issues.dartanalyzer.executable.AnalyzerExecutable.analyze(AnalyzerExecutable.java:91)
        at fr.insideapp.sonarqube.dart.lang.issues.dartanalyzer.DartAnalyzerSensor.execute(DartAnalyzerSensor.java:67)
        at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:61)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
        at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
        at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
        at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
        at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
        at com.sun.proxy.$Proxy0.execute(Unknown Source)
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
        at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
        at org.sonarsource.scanner.cli.Main.main(Main.java:62)
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

flutter analyze --no-fatal-warnings --no-fatal-infos returns a non-zero exit code when there are errors and prevents the scanner from finishing. No result is sent to Sonarqube.

flutter version in the docker image used to scan : 2.10.5.

If you want to easily reproduce the case, you can use our Docker image and run manually the following code in one of your flutter project.

docker run --rm -v $(pwd):/usr/src -e SONAR_HOST_URL='XXX' -e SONAR_TOKEN='XXX' vnvsa/sonar-scanner-cli-for-flutter:flutter-2.10.5 sonar-scanner

Can you help me with this?

zippy1978 commented 1 year ago

Hi @73VW,

Thanks for the feedback. Yes it is related to the exit code of the analyze command. If possible, could you give me the output of 'flutter analyze --no-fatal-warnings --no-fatal-infos' from your project ?

In the meantime, you can switch to 'manual' analysis as described in the README (this way, the plugin does not try to run the command itself).

73VW commented 1 year ago

Hey @zippy1978,

Thanks for your answer. Here's the output:

$ docker run --rm -v $(pwd):/usr/src -e SONAR_HOST_URL='XXX' -e SONAR_TOKEN='XXX' vnvsa/sonar-scanner-cli-for-flutter:flutter-2.10.5 bash -c "flutter analyze --no-fatal-warnings --no-fatal-infos; echo $?;"

Downloading Dart SDK from Flutter engine 57d3bac3dd5cb5b0e464ab70e7bc8a0d8cf083ab...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  211M  100  211M    0     0  4578k      0  0:00:47  0:00:47 --:--:-- 4936k
Building flutter tool...

  ╔════════════════════════════════════════════════════════════════════════════╗
  ║                 Welcome to Flutter! - https://flutter.dev                  ║
  ║                                                                            ║
  ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
  ║ statistics and basic crash reports. This data is used to help improve      ║
  ║ Flutter tools over time.                                                   ║
  ║                                                                            ║
  ║ Flutter tool analytics are not sent on the very first run. To disable      ║
  ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
  ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
  ║ event will be sent, and then no further information will be sent by the    ║
  ║ Flutter tool.                                                              ║
  ║                                                                            ║
  ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
  ║ Note: The Google Privacy Policy describes how data is handled in this      ║
  ║ service.                                                                   ║
  ║                                                                            ║
  ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
  ║ crash reports to Google.                                                   ║
  ║                                                                            ║
  ║ Read about data we send with crash reports:                                ║
  ║ https://flutter.dev/docs/reference/crash-reporting                         ║
  ║                                                                            ║
  ║ See Google's privacy policy:                                               ║
  ║ https://policies.google.com/privacy                                        ║
  ╚════════════════════════════════════════════════════════════════════════════╝

Downloading Material fonts...                                      981ms
Downloading Gradle Wrapper...                                      160ms
Downloading package sky_engine...                                  467ms
Downloading flutter_patched_sdk tools...                           754ms
Downloading flutter_patched_sdk_product tools...                   693ms
Downloading linux-x64 tools...                                      6.1s
Downloading linux-x64/font-subset tools...                         245ms
Analyzing src...

  error • Target of URI doesn't exist: 'package:google_fonts/google_fonts.dart' • lib/core/constants/constants.dart:3:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/constants/constants.dart:4:8 • uri_does_not_exist
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:33:51 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:39:48 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:46:29 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:54:32 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:62:37 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:70:40 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:81:34 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:89:33 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:97:36 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:108:48 • undefined_identifier
  error • Undefined name 'GoogleFonts' • lib/core/constants/constants.dart:116:47 • undefined_identifier
  error • Undefined class 'LocationData' • lib/core/constants/constants.dart:197:16 • undefined_class
  error • Undefined name 'LocationData' • lib/core/constants/constants.dart:198:7 • undefined_identifier
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/activity.dart:3:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/activity.dart:7:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/activity.dart:12:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/activity.dart:14:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/activity.dart:16:3 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/base_model.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/base_model.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/collaborator.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/collaborator.dart:5:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/collaborator.dart:11:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/collaborator.dart:14:3 • undefined_annotation
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/domain.dart:12:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/domain.dart:13:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/models/domain.dart:14:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/domain.dart:18:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/domain.dart:29:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/domain.dart:32:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/domain.dart:35:3 • undefined_annotation
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/domain.dart:36:7 • non_type_as_type_argument
  error • Undefined class 'LatLng' • lib/core/models/domain.dart:84:33 • undefined_class
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/event.dart:7:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/models/event.dart:8:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/event.dart:12:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/field.dart:13:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/field.dart:14:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/field.dart:21:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:26:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:44:3 • undefined_annotation
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:45:7 • non_type_as_type_argument
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:46:9 • non_type_as_type_argument
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:46:35 • non_type_as_type_argument
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:53:3 • undefined_annotation
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:54:7 • non_type_as_type_argument
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:57:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:60:3 • undefined_annotation
  error • The name 'Marker' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:61:7 • non_type_as_type_argument
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:66:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:69:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/field.dart:72:3 • undefined_annotation
  error • The name 'Marker' isn't a type so it can't be used as a type argument • lib/core/models/field.dart:75:8 • non_type_as_type_argument
  error • The method 'Marker' isn't defined for the type 'Field' • lib/core/models/field.dart:77:7 • undefined_method
  error • The method 'MarkerId' isn't defined for the type 'Field' • lib/core/models/field.dart:78:19 • undefined_method
  error • The method 'LatLng' isn't defined for the type 'Field' • lib/core/models/field.dart:80:13 • undefined_method
  error • The getter 'latitude' isn't defined for the type 'RowVertice' • lib/core/models/field.dart:80:39 • undefined_getter
  error • The getter 'longitude' isn't defined for the type 'RowVertice' • lib/core/models/field.dart:80:68 • undefined_getter
  error • Undefined name 'BitmapDescriptor' • lib/core/models/field.dart:81:15 • undefined_identifier
  error • The method 'Marker' isn't defined for the type 'Field' • lib/core/models/field.dart:86:7 • undefined_method
  error • The method 'MarkerId' isn't defined for the type 'Field' • lib/core/models/field.dart:87:19 • undefined_method
  error • The method 'LatLng' isn't defined for the type 'Field' • lib/core/models/field.dart:89:13 • undefined_method
  error • The getter 'latitude' isn't defined for the type 'RowVertice' • lib/core/models/field.dart:89:38 • undefined_getter
  error • The getter 'longitude' isn't defined for the type 'RowVertice' • lib/core/models/field.dart:89:66 • undefined_getter
  error • Undefined name 'BitmapDescriptor' • lib/core/models/field.dart:90:15 • undefined_identifier
  error • The method 'LatLng' isn't defined for the type 'Field' • lib/core/models/field.dart:124:9 • undefined_method
  error • Undefined class 'LatLng' • lib/core/models/field.dart:166:31 • undefined_class
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/field_group.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/field_group.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/firmware_revision.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/firmware_revision.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/geo_data.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/geo_data.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/kml_layer.dart:4:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/kml_layer.dart:5:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/models/kml_layer.dart:6:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/kml_layer.dart:11:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/kml_layer.dart:17:3 • undefined_annotation
  error • The name 'LatLngBounds' isn't a type so it can't be used as a type argument • lib/core/models/kml_layer.dart:18:8 • non_type_as_type_argument
  error • Undefined class 'LatLng' • lib/core/models/kml_layer.dart:45:11 • undefined_class
  error • The method 'LatLng' isn't defined for the type 'KMLLayer' • lib/core/models/kml_layer.dart:45:30 • undefined_method
  error • Undefined class 'LatLng' • lib/core/models/kml_layer.dart:46:11 • undefined_class
  error • The method 'LatLng' isn't defined for the type 'KMLLayer' • lib/core/models/kml_layer.dart:46:30 • undefined_method
  error • Undefined class 'LatLngBounds' • lib/core/models/kml_layer.dart:47:11 • undefined_class
  error • The method 'LatLngBounds' isn't defined for the type 'KMLLayer' • lib/core/models/kml_layer.dart:48:15 • undefined_method
  error • Undefined class 'LatLng' • lib/core/models/kml_layer.dart:62:20 • undefined_class
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/label_of_origin.dart:2:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/label_of_origin.dart:6:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:flutter_secure_storage/flutter_secure_storage.dart' • lib/core/models/login.dart:5:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/models/login.dart:6:8 • uri_does_not_exist
  error • The method 'FlutterSecureStorage' isn't defined for the type 'Login' • lib/core/models/login.dart:26:20 • undefined_method
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/mark.dart:9:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/mark.dart:13:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:22:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:24:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:28:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:31:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:33:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/mark.dart:41:3 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/product.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/product.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/product_dosage.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/product_dosage.dart:6:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/root_stocks.dart:2:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/root_stocks.dart:6:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/row.dart:4:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/row.dart:5:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:maps_toolkit/maps_toolkit.dart' • lib/core/models/row.dart:8:8 • uri_does_not_exist
  error • Classes can only extend other classes • lib/core/models/row.dart:10:19 • extends_non_class
  error • Undefined class 'Polyline' • lib/core/models/row.dart:16:3 • undefined_class
  error • The method 'Polyline' isn't defined for the type 'Row' • lib/core/models/row.dart:16:28 • undefined_method
  error • The method 'PolylineId' isn't defined for the type 'Row' • lib/core/models/row.dart:17:21 • undefined_method
  error • The getter 'latitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:25:22 • undefined_getter
  error • The getter 'latitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:25:48 • undefined_getter
  error • The getter 'longitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:26:22 • undefined_getter
  error • The getter 'longitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:26:49 • undefined_getter
  error • Undefined class 'LatLng' • lib/core/models/row.dart:28:19 • undefined_class
  error • The getter 'latitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:31:41 • undefined_getter
  error • The getter 'longitude' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:31:57 • undefined_getter
  error • Couldn't infer type parameter 'T'.

Tried to infer 'dynamic' for 'T' which doesn't work:
  Type parameter 'T' is declared to extend 'num' producing 'num'.
The type 'dynamic' was inferred from:
  Function type declared as 'T Function<T extends num>(T, T)'
                used where  'dynamic Function(dynamic, dynamic)' is required.

Consider passing explicit type argument(s) to the generic.

 • lib/core/models/row.dart:59:21 • could_not_infer
  error • The method 'toJson' isn't defined for the type 'RowVertice' • lib/core/models/row.dart:80:43 • undefined_method
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/row_group.dart:2:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/row_group.dart:3:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/row_group.dart:7:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/row_group.dart:12:3 • undefined_annotation
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/models/row_group.dart:13:7 • non_type_as_type_argument
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/models/row_vertice.dart:1:8 • uri_does_not_exist
  error • Classes can only extend other classes • lib/core/models/row_vertice.dart:3:26 • extends_non_class
  error • Too many positional arguments: 0 expected, but 2 found • lib/core/models/row_vertice.dart:4:57 • extra_positional_arguments
   info • Unused import: 'dart:convert' • lib/core/models/task.dart:1:8 • unused_import
   info • Unused import: 'dart:developer' • lib/core/models/task.dart:2:8 • unused_import
   info • Unused import: 'package:app_digivitis/core/constants/app_url.dart' • lib/core/models/task.dart:4:8 • unused_import
   info • Unused import: 'package:app_digivitis/core/models/login.dart' • lib/core/models/task.dart:9:8 • unused_import
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/models/task.dart:14:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/task.dart:15:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/task.dart:28:1 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/task.dart:42:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/task.dart:53:3 • undefined_annotation
  error • Undefined name 'JsonKey' used as an annotation • lib/core/models/task.dart:63:3 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/tool.dart:1:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/tool.dart:5:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/user.dart:3:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/user.dart:7:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/varietal.dart:2:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/varietal.dart:6:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:json_annotation/json_annotation.dart' • lib/core/models/varietal_clone.dart:2:8 • uri_does_not_exist
  error • Undefined name 'JsonSerializable' used as an annotation • lib/core/models/varietal_clone.dart:6:1 • undefined_annotation
  error • Target of URI doesn't exist: 'package:flutter_secure_storage/flutter_secure_storage.dart' • lib/core/providers/authentication_provider.dart:14:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:http/http.dart' • lib/core/providers/authentication_provider.dart:15:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/providers/authentication_provider.dart:16:8 • uri_does_not_exist
  error • Undefined class 'FlutterSecureStorage' • lib/core/providers/authentication_provider.dart:21:9 • undefined_class
  error • The method 'FlutterSecureStorage' isn't defined for the type 'AuthenticationProvider' • lib/core/providers/authentication_provider.dart:21:41 • undefined_method
  error • Undefined class 'LocationData' • lib/core/providers/authentication_provider.dart:186:11 • undefined_class
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/providers/digivitis_tile_provider.dart:12:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/providers/digivitis_tile_provider.dart:13:8 • uri_does_not_exist
  error • Classes and mixins can only implement other classes and mixins • lib/core/providers/digivitis_tile_provider.dart:15:40 • implements_non_class
  error • Undefined class 'Tile' • lib/core/providers/digivitis_tile_provider.dart:20:3 • undefined_class
  error • The method 'Tile' isn't defined for the type 'DigivitisTileProvider' • lib/core/providers/digivitis_tile_provider.dart:20:26 • undefined_method
  error • Undefined name 'Provider' • lib/core/providers/digivitis_tile_provider.dart:41:27 • undefined_identifier
  error • The method 'Tile' isn't defined for the type 'DigivitisTileProvider' • lib/core/providers/digivitis_tile_provider.dart:58:23 • undefined_method
  error • The name 'Tile' isn't a type so it can't be used as a type argument • lib/core/providers/digivitis_tile_provider.dart:62:10 • non_type_as_type_argument
   info • The method doesn't override an inherited method • lib/core/providers/digivitis_tile_provider.dart:62:16 • override_on_non_overriding_member
  error • Undefined class 'LatLng' • lib/core/providers/digivitis_tile_provider.dart:63:5 • undefined_class
  error • The method 'Tile' isn't defined for the type 'DigivitisTileProvider' • lib/core/providers/digivitis_tile_provider.dart:75:16 • undefined_method
  error • Undefined class 'LatLng' • lib/core/providers/digivitis_tile_provider.dart:85:22 • undefined_class
  error • Undefined class 'LatLng' • lib/core/providers/digivitis_tile_provider.dart:98:3 • undefined_class
  error • The method 'LatLng' isn't defined for the type 'DigivitisTileProvider' • lib/core/providers/digivitis_tile_provider.dart:142:12 • undefined_method
  error • Target of URI doesn't exist: 'package:device_info_plus/device_info_plus.dart' • lib/core/providers/uuid_provider.dart:3:8 • uri_does_not_exist
  error • Undefined class 'DeviceInfoPlugin' • lib/core/providers/uuid_provider.dart:9:9 • undefined_class
  error • The method 'DeviceInfoPlugin' isn't defined for the type 'UUIDProvider' • lib/core/providers/uuid_provider.dart:9:46 • undefined_method
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/core/services/ble_location_service.dart:6:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/services/ble_location_service.dart:8:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/core/services/ble_location_service.dart:44:3 • undefined_class
  error • The name 'BluetoothDeviceState' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:50:22 • non_type_as_type_argument
  error • The name 'BluetoothService' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:53:13 • non_type_as_type_argument
  error • Undefined class 'BluetoothService' • lib/core/services/ble_location_service.dart:54:8 • undefined_class
  error • The name 'BluetoothCharacteristic' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:55:13 • non_type_as_type_argument
  error • Undefined class 'BluetoothCharacteristic' • lib/core/services/ble_location_service.dart:56:8 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/ble_location_service.dart:58:3 • undefined_class
  error • The name 'BluetoothService' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:83:22 • non_type_as_type_argument
  error • The name 'BluetoothService' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:85:10 • non_type_as_type_argument
  error • Undefined class 'BluetoothService' • lib/core/services/ble_location_service.dart:86:17 • undefined_class
  error • Undefined class 'BluetoothService' • lib/core/services/ble_location_service.dart:92:18 • undefined_class
  error • The name 'BluetoothCharacteristic' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:97:29 • non_type_as_type_argument
  error • The name 'BluetoothCharacteristic' isn't a type so it can't be used as a type argument • lib/core/services/ble_location_service.dart:99:10 • non_type_as_type_argument
  error • Undefined class 'BluetoothCharacteristic' • lib/core/services/ble_location_service.dart:107:25 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/core/services/ble_location_service.dart:121:3 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/core/services/ble_location_service.dart:122:14 • undefined_class
  error • Undefined name 'BluetoothDeviceState' • lib/core/services/ble_location_service.dart:133:28 • undefined_identifier
  error • Undefined name 'BluetoothDeviceState' • lib/core/services/ble_location_service.dart:139:24 • undefined_identifier
  error • Undefined name 'BluetoothDeviceState' • lib/core/services/ble_location_service.dart:147:24 • undefined_identifier
  error • Undefined class 'BluetoothDevice' • lib/core/services/ble_location_service.dart:230:34 • undefined_class
  error • Undefined class 'FlutterBluePlus' • lib/core/services/ble_location_service.dart:261:5 • undefined_class
  error • Undefined name 'FlutterBluePlus' • lib/core/services/ble_location_service.dart:261:32 • undefined_identifier
  error • Undefined name 'BluetoothDeviceState' • lib/core/services/ble_location_service.dart:265:26 • undefined_identifier
  error • Undefined class 'LocationData' • lib/core/services/ble_location_service.dart:305:5 • undefined_class
  error • Undefined name 'LocationData' • lib/core/services/ble_location_service.dart:305:33 • undefined_identifier
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/services/location_changed_mixin.dart:4:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:rxdart/rxdart.dart' • lib/core/services/location_changed_mixin.dart:5:8 • uri_does_not_exist
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_changed_mixin.dart:9:25 • non_type_as_type_argument
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_changed_mixin.dart:10:10 • non_type_as_type_argument
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_changed_mixin.dart:11:10 • non_type_as_type_argument
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_changed_mixin.dart:12:32 • non_type_as_type_argument
  error • The method 'BehaviorSubject' isn't defined for the type 'LocationChangedMixin' • lib/core/services/location_changed_mixin.dart:24:32 • undefined_method
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_changed_mixin.dart:24:48 • non_type_as_type_argument
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/services/location_service.dart:8:8 • uri_does_not_exist
  error • Undefined class 'Location' • lib/core/services/location_service.dart:14:9 • undefined_class
  error • The method 'Location' isn't defined for the type 'LocationService' • lib/core/services/location_service.dart:14:43 • undefined_method
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_service.dart:28:27 • non_type_as_type_argument
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/core/services/location_service.dart:29:22 • non_type_as_type_argument
  error • Undefined class 'LocationData' • lib/core/services/location_service.dart:31:3 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/location_service.dart:32:3 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/location_service.dart:34:3 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/location_service.dart:62:32 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/location_service.dart:69:29 • undefined_class
  error • Undefined name 'PermissionStatus' • lib/core/services/location_service.dart:103:42 • undefined_identifier
  error • Undefined name 'LocationAccuracy' • lib/core/services/location_service.dart:124:17 • undefined_identifier
   info • Unused import: 'package:app_digivitis/ui/utils/field_icon_painter.dart' • lib/core/services/marker_icon_bytes_mixin.dart:4:8 • unused_import
  error • Target of URI doesn't exist: 'package:mqtt_client/mqtt_client.dart' • lib/core/services/mqtt_message_sender_service.dart:8:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:mqtt_client/mqtt_server_client.dart' • lib/core/services/mqtt_message_sender_service.dart:9:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/services/mqtt_message_sender_service.dart:10:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:connectivity_plus/connectivity_plus.dart' • lib/core/services/mqtt_message_sender_service.dart:12:8 • uri_does_not_exist
  error • The name 'ConnectivityResult' isn't a type so it can't be used as a type argument • lib/core/services/mqtt_message_sender_service.dart:22:22 • non_type_as_type_argument
  error • Undefined class 'MqttServerClient' • lib/core/services/mqtt_message_sender_service.dart:24:8 • undefined_class
  error • The method 'Connectivity' isn't defined for the type 'MqttMessageSenderService' • lib/core/services/mqtt_message_sender_service.dart:37:9 • undefined_method
  error • The method 'MqttServerClient' isn't defined for the type 'MqttMessageSenderService' • lib/core/services/mqtt_message_sender_service.dart:42:9 • undefined_method
  error • Undefined name 'MqttConnectionState' • lib/core/services/mqtt_message_sender_service.dart:47:46 • undefined_identifier
  error • Undefined class 'ConnectivityResult' • lib/core/services/mqtt_message_sender_service.dart:55:38 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/mqtt_message_sender_service.dart:60:42 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/mqtt_message_sender_service.dart:65:41 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/mqtt_message_sender_service.dart:70:41 • undefined_class
  error • Undefined class 'LocationData' • lib/core/services/mqtt_message_sender_service.dart:76:44 • undefined_class
  error • The method 'MqttClientPayloadBuilder' isn't defined for the type 'MqttMessageSenderService' • lib/core/services/mqtt_message_sender_service.dart:91:21 • undefined_method
  error • Undefined name 'MqttQos' • lib/core/services/mqtt_message_sender_service.dart:102:16 • undefined_identifier
  error • Target of URI doesn't exist: 'package:shared_preferences/shared_preferences.dart' • lib/core/services/timer_service.dart:4:8 • uri_does_not_exist
  error • Undefined class 'SharedPreferences' • lib/core/services/timer_service.dart:22:3 • undefined_class
  error • Undefined name 'SharedPreferences' • lib/core/services/timer_service.dart:34:40 • undefined_identifier
  error • Undefined name 'SharedPreferences' • lib/core/services/timer_service.dart:52:40 • undefined_identifier
   info • Unused import: 'package:app_digivitis/ui/widgets/widgets.dart' • lib/core/utils/loading_center.dart:1:8 • unused_import
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/core/viewmodels/base_view_model.dart:5:8 • unnecessary_import
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/viewmodels/base_view_model.dart:7:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/core/viewmodels/base_view_model.dart:26:9 • undefined_identifier
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/viewmodels/screens/collaborators_view_model.dart:13:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/core/viewmodels/screens/collaborators_view_model.dart:47:21 • undefined_identifier
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/viewmodels/screens/events_view_model.dart:13:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/core/viewmodels/screens/events_view_model.dart:31:21 • undefined_identifier
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/core/viewmodels/screens/marks_map_view_model.dart:19:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/core/viewmodels/screens/marks_map_view_model.dart:20:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/viewmodels/screens/marks_map_view_model.dart:21:8 • uri_does_not_exist
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/core/viewmodels/screens/marks_map_view_model.dart:36:7 • non_type_as_type_argument
  error • Undefined name 'Provider' • lib/core/viewmodels/screens/marks_map_view_model.dart:49:21 • undefined_identifier
  error • Undefined class 'LocationData' • lib/core/viewmodels/screens/marks_map_view_model.dart:104:7 • undefined_class
  error • Undefined class 'LocationData' • lib/core/viewmodels/screens/marks_map_view_model.dart:209:29 • undefined_class
  error • Undefined class 'LocationData' • lib/core/viewmodels/screens/marks_map_view_model.dart:209:50 • undefined_class
   info • Unused import: 'dart:collection' • lib/core/viewmodels/screens/splash_screen_view_model.dart:1:8 • unused_import
  error • Target of URI doesn't exist: 'package:device_info_plus/device_info_plus.dart' • lib/core/viewmodels/screens/splash_screen_view_model.dart:7:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:permission_handler/permission_handler.dart' • lib/core/viewmodels/screens/splash_screen_view_model.dart:9:8 • uri_does_not_exist
  error • Undefined class 'DeviceInfoPlugin' • lib/core/viewmodels/screens/splash_screen_view_model.dart:16:3 • undefined_class
  error • The method 'DeviceInfoPlugin' isn't defined for the type 'SplashScreenViewModel' • lib/core/viewmodels/screens/splash_screen_view_model.dart:16:39 • undefined_method
  error • Undefined name 'Permission' • lib/core/viewmodels/screens/splash_screen_view_model.dart:19:12 • undefined_identifier
  error • The method 'request' isn't defined for the type 'List' • lib/core/viewmodels/screens/splash_screen_view_model.dart:19:33 • undefined_method
  error • Undefined name 'Permission' • lib/core/viewmodels/screens/splash_screen_view_model.dart:20:12 • undefined_identifier
  error • The method 'request' isn't defined for the type 'List' • lib/core/viewmodels/screens/splash_screen_view_model.dart:20:34 • undefined_method
  error • Undefined name 'Permission' • lib/core/viewmodels/screens/splash_screen_view_model.dart:23:14 • undefined_identifier
  error • The method 'request' isn't defined for the type 'List' • lib/core/viewmodels/screens/splash_screen_view_model.dart:23:43 • undefined_method
  error • Undefined name 'Permission' • lib/core/viewmodels/screens/splash_screen_view_model.dart:24:14 • undefined_identifier
  error • The method 'request' isn't defined for the type 'List' • lib/core/viewmodels/screens/splash_screen_view_model.dart:24:40 • undefined_method
  error • Target of URI doesn't exist: 'package:shared_preferences/shared_preferences.dart' • lib/core/viewmodels/screens/task_view_model.dart:13:8 • uri_does_not_exist
  error • Undefined name 'SharedPreferences' • lib/core/viewmodels/screens/task_view_model.dart:122:25 • undefined_identifier
  error • Undefined name 'SharedPreferences' • lib/core/viewmodels/screens/task_view_model.dart:150:25 • undefined_identifier
  error • Undefined name 'SharedPreferences' • lib/core/viewmodels/screens/task_view_model.dart:172:25 • undefined_identifier
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/core/viewmodels/screens/tasks_view_model.dart:13:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/core/viewmodels/screens/tasks_view_model.dart:79:21 • undefined_identifier
  error • Target of URI doesn't exist: 'package:google_fonts/google_fonts.dart' • lib/main.dart:9:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/main.dart:10:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:sentry_flutter/sentry_flutter.dart' • lib/main.dart:11:8 • uri_does_not_exist
  error • Undefined name 'SentryFlutter' • lib/main.dart:16:9 • undefined_identifier
  error • The method 'MultiProvider' isn't defined for the type '_MyAppState' • lib/main.dart:38:12 • undefined_method
  error • The method 'ChangeNotifierProvider' isn't defined for the type '_MyAppState' • lib/main.dart:40:9 • undefined_method
  error • The method 'ChangeNotifierProvider' isn't defined for the type '_MyAppState' • lib/main.dart:43:9 • undefined_method
  error • The method 'ChangeNotifierProvider' isn't defined for the type '_MyAppState' • lib/main.dart:47:9 • undefined_method
  error • Undefined name 'GoogleFonts' • lib/main.dart:64:22 • undefined_identifier
   info • Unused import: 'package:app_digivitis/ui/widgets/device_screen.dart' • lib/ui/screens/ble.dart:5:8 • unused_import
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/screens/ble.dart:13:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/screens/ble.dart:15:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/ble.dart:21:47 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/ble.dart:32:29 • undefined_class
  error • Case expressions must be constant • lib/ui/screens/ble.dart:35:14 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/screens/ble.dart:35:14 • undefined_identifier
  error • Case expressions must be constant • lib/ui/screens/ble.dart:39:14 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/screens/ble.dart:39:14 • undefined_identifier
  error • Case expressions must be constant • lib/ui/screens/ble.dart:41:14 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/screens/ble.dart:41:14 • undefined_identifier
  error • Case expressions must be constant • lib/ui/screens/ble.dart:44:14 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/screens/ble.dart:44:14 • undefined_identifier
  error • Undefined name 'Provider' • lib/ui/screens/ble.dart:59:9 • undefined_identifier
  error • The name 'BluetoothState' isn't a type so it can't be used as a type argument • lib/ui/screens/ble.dart:75:27 • non_type_as_type_argument
  error • Undefined name 'FlutterBluePlus' • lib/ui/screens/ble.dart:76:17 • undefined_identifier
  error • Undefined name 'BluetoothState' • lib/ui/screens/ble.dart:77:22 • undefined_identifier
  error • Undefined name 'BluetoothState' • lib/ui/screens/ble.dart:80:24 • undefined_identifier
  error • The name 'Guid' isn't a type so it can't be used as a type argument • lib/ui/screens/ble.dart:83:30 • non_type_as_type_argument
  error • The method 'Guid' isn't defined for the type 'BLEView' • lib/ui/screens/ble.dart:84:17 • undefined_method
   info • Unused import: 'package:app_digivitis/core/utils/loading_center.dart' • lib/ui/screens/collaborators.dart:4:8 • unused_import
   info • Unused import: 'package:app_digivitis/ui/widgets/dropdown_form_field.dart' • lib/ui/screens/dfu.dart:17:8 • unused_import
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/screens/dfu.dart:22:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:nordic_dfu/nordic_dfu.dart' • lib/ui/screens/dfu.dart:23:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:path_provider/path_provider.dart' • lib/ui/screens/dfu.dart:24:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/screens/dfu.dart:25:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:sn_progress_dialog/sn_progress_dialog.dart' • lib/ui/screens/dfu.dart:26:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/dfu.dart:29:9 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/dfu.dart:45:9 • undefined_class
  error • The method 'getApplicationDocumentsDirectory' isn't defined for the type '_DfuViewState' • lib/ui/screens/dfu.dart:52:30 • undefined_method
  error • Undefined name 'FlutterBluePlus' • lib/ui/screens/dfu.dart:89:11 • undefined_identifier
  error • Undefined class 'ProgressDialog' • lib/ui/screens/dfu.dart:98:5 • undefined_class
  error • The method 'ProgressDialog' isn't defined for the type '_DfuViewState' • lib/ui/screens/dfu.dart:98:37 • undefined_method
   info • The value of the local variable 's' isn't used • lib/ui/screens/dfu.dart:100:13 • unused_local_variable
  error • The method 'NordicDfu' isn't defined for the type '_DfuViewState' • lib/ui/screens/dfu.dart:100:23 • undefined_method
  error • Undefined name 'ProgressType' • lib/ui/screens/dfu.dart:109:27 • undefined_identifier
  error • Undefined name 'ValuePosition' • lib/ui/screens/dfu.dart:112:28 • undefined_identifier
  error • The method 'Completed' isn't defined for the type '_DfuViewState' • lib/ui/screens/dfu.dart:113:24 • undefined_method
  error • Undefined name 'Provider' • lib/ui/screens/dfu.dart:190:9 • undefined_identifier
  error • The method 'NordicDfu' isn't defined for the type '_DfuViewState' • lib/ui/screens/dfu.dart:241:27 • undefined_method
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/screens/dfu_device_list.dart:15:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/screens/dfu_device_list.dart:16:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/dfu_device_list.dart:33:29 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/screens/dfu_device_list.dart:42:29 • undefined_class
  error • Undefined class 'BluetoothDeviceState' • lib/ui/screens/dfu_device_list.dart:43:5 • undefined_class
  error • Undefined name 'BluetoothDeviceState' • lib/ui/screens/dfu_device_list.dart:44:24 • undefined_identifier
  error • Undefined name 'Provider' • lib/ui/screens/dfu_device_list.dart:58:9 • undefined_identifier
  error • The name 'BluetoothState' isn't a type so it can't be used as a type argument • lib/ui/screens/dfu_device_list.dart:73:27 • non_type_as_type_argument
  error • Undefined name 'FlutterBluePlus' • lib/ui/screens/dfu_device_list.dart:74:17 • undefined_identifier
  error • Undefined name 'BluetoothState' • lib/ui/screens/dfu_device_list.dart:75:22 • undefined_identifier
  error • Undefined name 'BluetoothState' • lib/ui/screens/dfu_device_list.dart:78:24 • undefined_identifier
  error • Undefined class 'ScanResult' • lib/ui/screens/dfu_device_list.dart:81:24 • undefined_class
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/screens/dfu_device_tutorial.dart:12:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/ui/screens/dfu_device_tutorial.dart:22:9 • undefined_identifier
   info • Unused import: 'dart:io' • lib/ui/screens/dfu_device_type.dart:1:8 • unused_import
   info • Unused import: 'package:app_digivitis/core/constants/app_url.dart' • lib/ui/screens/dfu_device_type.dart:3:8 • unused_import
   info • Unused import: 'package:app_digivitis/ui/screens/dfu_device_list.dart' • lib/ui/screens/dfu_device_type.dart:8:8 • unused_import
   info • The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/ui/screens/dfu_device_type.dart:15:8 • unnecessary_import
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/screens/dfu_device_type.dart:17:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:nordic_dfu/nordic_dfu.dart' • lib/ui/screens/dfu_device_type.dart:18:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:path_provider/path_provider.dart' • lib/ui/screens/dfu_device_type.dart:19:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/screens/dfu_device_type.dart:20:8 • uri_does_not_exist
  error • Undefined name 'Provider' • lib/ui/screens/dfu_device_type.dart:41:9 • undefined_identifier
  error • Target of URI doesn't exist: 'package:flutter_svg/flutter_svg.dart' • lib/ui/screens/login.dart:8:8 • uri_does_not_exist
  error • Undefined name 'SvgPicture' • lib/ui/screens/login.dart:65:7 • undefined_identifier
  error • Target of URI doesn't exist: 'package:google_maps_flutter/google_maps_flutter.dart' • lib/ui/screens/marks_map.dart:18:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/ui/screens/marks_map.dart:19:8 • uri_does_not_exist
  error • Undefined class 'GoogleMapController' • lib/ui/screens/marks_map.dart:28:8 • undefined_class
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:29:3 • undefined_class
  error • The name 'TileOverlay' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:34:8 • non_type_as_type_argument
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:38:3 • undefined_class
  error • Undefined class 'Marker' • lib/ui/screens/marks_map.dart:40:3 • undefined_class
  error • The name 'Marker' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:41:8 • non_type_as_type_argument
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:42:7 • non_type_as_type_argument
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:42:33 • non_type_as_type_argument
  error • The name 'LocationData' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:47:22 • non_type_as_type_argument
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:49:3 • undefined_class
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:63:27 • undefined_class
  error • The method 'Marker' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:64:22 • undefined_method
  error • The method 'MarkerId' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:65:17 • undefined_method
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:66:17 • undefined_method
  error • Undefined name 'BitmapDescriptor' • lib/ui/screens/marks_map.dart:67:13 • undefined_identifier
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:82:26 • undefined_class
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:86:28 • undefined_method
  error • The method 'TileOverlay' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:100:16 • undefined_method
  error • The method 'TileOverlayId' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:102:15 • undefined_method
  error • Undefined class 'GoogleMapController' • lib/ui/screens/marks_map.dart:110:7 • undefined_class
  error • Undefined name 'CameraUpdate' • lib/ui/screens/marks_map.dart:117:7 • undefined_identifier
  error • The method 'CameraPosition' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:117:38 • undefined_method
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:118:19 • undefined_method
  error • Undefined class 'LocationData' • lib/ui/screens/marks_map.dart:124:8 • undefined_class
  error • Undefined name 'CameraUpdate' • lib/ui/screens/marks_map.dart:127:7 • undefined_identifier
  error • The method 'CameraPosition' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:127:38 • undefined_method
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:128:19 • undefined_method
  error • The name 'TileOverlay' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:152:9 • non_type_as_type_argument
  error • The name 'Marker' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:159:30 • non_type_as_type_argument
  error • The name 'Marker' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:161:18 • non_type_as_type_argument
  error • The name 'Marker' isn't a type, so it can't be used in an 'as' expression • lib/ui/screens/marks_map.dart:165:69 • cast_to_non_type
  error • The name 'Polyline' isn't a type so it can't be used as a type argument • lib/ui/screens/marks_map.dart:168:21 • non_type_as_type_argument
  error • The method 'GoogleMap' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:179:15 • undefined_method
  error • The method 'CameraPosition' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:182:40 • undefined_method
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:183:27 • undefined_method
  error • Undefined name 'MapType' • lib/ui/screens/marks_map.dart:187:26 • undefined_identifier
  error • Undefined class 'CameraPosition' • lib/ui/screens/marks_map.dart:197:32 • undefined_class
  error • Undefined class 'Marker' • lib/ui/screens/marks_map.dart:243:3 • undefined_class
  error • The name 'Marker' isn't a class • lib/ui/screens/marks_map.dart:245:18 • creation_with_non_type
  error • The method 'MarkerId' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:246:19 • undefined_method
  error • The method 'LatLng' isn't defined for the type '_MarksMapState' • lib/ui/screens/marks_map.dart:247:19 • undefined_method
  error • Undefined name 'BitmapDescriptor' • lib/ui/screens/marks_map.dart:248:15 • undefined_identifier
  error • Target of URI doesn't exist: 'package:flutter_svg/flutter_svg.dart' • lib/ui/screens/splash_screen.dart:6:8 • uri_does_not_exist
  error • The method 'addPostFrameCallback' can't be unconditionally invoked because the receiver can be 'null' • lib/ui/screens/splash_screen.dart:19:33 • unchecked_use_of_nullable_value
  error • Undefined name 'SvgPicture' • lib/ui/screens/splash_screen.dart:32:22 • undefined_identifier
  error • Target of URI doesn't exist: 'package:sliding_up_panel/sliding_up_panel.dart' • lib/ui/screens/task.dart:15:8 • uri_does_not_exist
  error • Undefined class 'PanelController' • lib/ui/screens/task.dart:26:3 • undefined_class
  error • The name 'PanelController' isn't a class • lib/ui/screens/task.dart:26:29 • creation_with_non_type
  error • The method 'SlidingUpPanel' isn't defined for the type '_TaskViewState' • lib/ui/screens/task.dart:49:21 • undefined_method
  error • Target of URI doesn't exist: 'package:provider/provider.dart' • lib/ui/shared/view_model_provider.dart:3:8 • uri_does_not_exist
  error • The name 'ChangeNotifierProvider' isn't a class • lib/ui/shared/view_model_provider.dart:13:12 • creation_with_non_type
  error • The method 'Consumer' isn't defined for the type 'ViewModelProvider' • lib/ui/shared/view_model_provider.dart:15:14 • undefined_method
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/utils/bluetooth_device_list_item_action_delegate.dart:2:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/utils/bluetooth_device_list_item_action_delegate.dart:5:53 • undefined_class
  error • Target of URI doesn't exist: 'package:location/location.dart' • lib/ui/utils/helper_functions.dart:1:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:vector_math/vector_math.dart' • lib/ui/utils/helper_functions.dart:2:8 • uri_does_not_exist
  error • Undefined class 'LocationData' • lib/ui/utils/helper_functions.dart:8:5 • undefined_class
  error • Undefined class 'LocationData' • lib/ui/utils/helper_functions.dart:8:26 • undefined_class
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/widgets/ble_find_devices.dart:10:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:permission_handler/permission_handler.dart' • lib/ui/widgets/ble_find_devices.dart:11:8 • uri_does_not_exist
  error • The name 'Guid' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:16:14 • non_type_as_type_argument
  error • Undefined class 'ScanResult' • lib/ui/widgets/ble_find_devices.dart:17:23 • undefined_class
  error • Undefined class 'FlutterBluePlus' • lib/ui/widgets/ble_find_devices.dart:32:9 • undefined_class
  error • Undefined name 'FlutterBluePlus' • lib/ui/widgets/ble_find_devices.dart:32:39 • undefined_identifier
  error • The name 'ScanResult' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:33:22 • non_type_as_type_argument
  error • The name 'ScanResult' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:34:8 • non_type_as_type_argument
  error • The name 'ScanResult' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:34:35 • non_type_as_type_argument
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/ble_find_devices.dart:72:29 • undefined_class
  error • The name 'BluetoothDevice' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:96:15 • non_type_as_type_argument
  error • The name 'BluetoothDevice' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:97:10 • non_type_as_type_argument
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/ble_find_devices.dart:98:16 • undefined_class
  error • The name 'BluetoothDevice' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:99:10 • non_type_as_type_argument
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/ble_find_devices.dart:102:26 • undefined_identifier
  error • Undefined class 'ScanResult' • lib/ui/widgets/ble_find_devices.dart:108:27 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/ble_find_devices.dart:114:24 • undefined_class
  error • The name 'ScanResult' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:132:34 • non_type_as_type_argument
  error • The name 'BluetoothDevice' isn't a type so it can't be used as a type argument • lib/ui/widgets/ble_find_devices.dart:149:34 • non_type_as_type_argument
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/ble_find_devices.dart:155:26 • undefined_class
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/widgets/bluetooth_off.dart:5:8 • uri_does_not_exist
  error • Undefined class 'BluetoothState' • lib/ui/widgets/bluetooth_off.dart:10:9 • undefined_class
  error • Case expressions must be constant • lib/ui/widgets/bluetooth_off.dart:16:12 • non_constant_case_expression
  error • Undefined name 'BluetoothState' • lib/ui/widgets/bluetooth_off.dart:16:12 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/bluetooth_off.dart:19:12 • non_constant_case_expression
  error • Undefined name 'BluetoothState' • lib/ui/widgets/bluetooth_off.dart:19:12 • undefined_identifier
  error • Target of URI doesn't exist: 'package:syncfusion_flutter_datepicker/datepicker.dart' • lib/ui/widgets/date_range_selector.dart:8:8 • uri_does_not_exist
  error • Undefined class 'DateRangePickerController' • lib/ui/widgets/date_range_selector.dart:34:9 • undefined_class
  error • The method 'DateRangePickerController' isn't defined for the type '_DateRangeSelectorState' • lib/ui/widgets/date_range_selector.dart:34:49 • undefined_method
  error • Undefined class 'DateRangePickerController' • lib/ui/widgets/date_range_selector.dart:107:9 • undefined_class
  error • Undefined class 'PickerDateRange' • lib/ui/widgets/date_range_selector.dart:131:3 • undefined_class
  error • Undefined class 'DateRangePickerSelectionChangedArgs' • lib/ui/widgets/date_range_selector.dart:133:28 • undefined_class
  error • The name 'PickerDateRange' isn't defined, so it can't be used in an 'is' expression • lib/ui/widgets/date_range_selector.dart:134:23 • type_test_with_undefined_name
  error • The name 'PickerDateRange' isn't a type, so it can't be used in an 'as' expression • lib/ui/widgets/date_range_selector.dart:135:24 • cast_to_non_type
  error • The name 'PickerDateRange' isn't a type, so it can't be used in an 'as' expression • lib/ui/widgets/date_range_selector.dart:136:24 • cast_to_non_type
  error • The method 'SfDateRangePicker' isn't defined for the type '_DateRangeSelectorModalState' • lib/ui/widgets/date_range_selector.dart:177:20 • undefined_method
  error • Undefined name 'DateRangePickerSelectionMode' • lib/ui/widgets/date_range_selector.dart:178:30 • undefined_identifier
  error • The method 'DateRangePickerHeaderStyle' isn't defined for the type '_DateRangeSelectorModalState' • lib/ui/widgets/date_range_selector.dart:187:28 • undefined_method
   info • Unused import: 'package:app_digivitis/core/services/ble_location_service.dart' • lib/ui/widgets/device_card.dart:3:8 • unused_import
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/widgets/device_card.dart:8:8 • uri_does_not_exist
  error • Target of URI doesn't exist: 'package:signal_strength_indicator/signal_strength_indicator.dart' • lib/ui/widgets/device_card.dart:9:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:14:9 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:27:9 • undefined_class
  error • The name 'BluetoothDeviceState' isn't a type so it can't be used as a type argument • lib/ui/widgets/device_card.dart:45:32 • non_type_as_type_argument
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_card.dart:47:26 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_card.dart:50:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_card.dart:50:22 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_card.dart:55:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_card.dart:55:22 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_card.dart:59:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_card.dart:59:22 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_card.dart:63:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_card.dart:63:22 • undefined_identifier
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:79:9 • undefined_class
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:127:37 • undefined_class
  error • Undefined name 'SignalStrengthIndicator' • lib/ui/widgets/device_card.dart:151:37 • undefined_identifier
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:176:40 • undefined_class
  error • Undefined name 'SignalStrengthIndicator' • lib/ui/widgets/device_card.dart:189:16 • undefined_identifier
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_card.dart:212:41 • undefined_class
  error • Target of URI doesn't exist: 'package:flutter_blue_plus/flutter_blue_plus.dart' • lib/ui/widgets/device_screen.dart:6:8 • uri_does_not_exist
  error • Undefined class 'BluetoothDevice' • lib/ui/widgets/device_screen.dart:11:9 • undefined_class
  error • The name 'BluetoothService' isn't a type so it can't be used as a type argument • lib/ui/widgets/device_screen.dart:23:40 • non_type_as_type_argument
  error • The name 'BluetoothDeviceState' isn't a type so it can't be used as a type argument • lib/ui/widgets/device_screen.dart:64:25 • non_type_as_type_argument
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_screen.dart:66:26 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_screen.dart:71:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_screen.dart:71:22 • undefined_identifier
  error • Case expressions must be constant • lib/ui/widgets/device_screen.dart:75:22 • non_constant_case_expression
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_screen.dart:75:22 • undefined_identifier
  error • The name 'BluetoothDeviceState' isn't a type so it can't be used as a type argument • lib/ui/widgets/device_screen.dart:110:27 • non_type_as_type_argument
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_screen.dart:112:28 • undefined_identifier
  error • Undefined name 'BluetoothDeviceState' • lib/ui/widgets/device_screen.dart:114:44 • undefined_identifier
  error • The name 'BluetoothService' isn't a type so it can't be used as a type argument • lib/ui/widgets/device_screen.dart:157:32 • non_type_as_type_argument
  error • Undefined class 'BluetoothService' • lib/ui/widgets/device_screen.dart:174:9 • undefined_class
  error • Undefined class 'BluetoothCharacteristic' • lib/ui/widgets/device_screen.dart:208:9 • undefined_class
  error • Undefined class 'BluetoothDescriptor' • lib/ui/widgets/device_screen.dart:358:9 • undefined_class
   info • Unused import: 'package:app_digivitis/ui/screens/dfu_device_list.dart' • lib/ui/widgets/drawer.dart:9:8 • unused_import
  error • Undefined name 'Matrix4' • lib/ui/widgets/expandable_fab.dart:76:20 • undefined_identifier
   info • The operand can't be null, so the condition is always true • lib/ui/widgets/floating_map_menu.dart:61:41 • unnecessary_null_comparison

487 issues found. (ran in 14.7s)
0

What's weird is that this seems to terminate with an exit code 0 when ran "manually".

I won't be able to switch to manual scan because it concerns a certain number of projects already but I will keep this in mind.

Let me know if you need any more data!

zippy1978 commented 1 year ago

Thanks, Strange that the exit code is 0... Another thing that may explain the problem is that, the project does not seem to compile at all (there are errors)... And I don't usually test with project that don't build.

I will try to reproduce and fix it as soon as possible.

73VW commented 1 year ago

Thanks!!

Keep me updated and let me know if I can help!

zippy1978 commented 1 year ago

Hi, As I thought, the error is related to analyzer reporting compilation / syntax errors. I made a fix. You can try it with the snapshot release (https://github.com/insideapp-oss/sonar-flutter/releases/tag/0.5.1-SNAPSHOT)

73VW commented 1 year ago

Hey!

This seem to have fix the bug that I had!

I will quickly try with other projects as well and let you know how thing went!

Thank you very much for your reactivity!

73VW commented 1 year ago

Hey, I've tried with the same project as above and another and I don't get coverage. Is that normal that sonar-scanner doesn't report coverage?

EDIT: my fault not following the doc.

Removed content of this comment as it was flooding the content of the issue.

zippy1978 commented 1 year ago

Hi,

As mentioned in the README, you need to run tests with coverage if you want to get coverage (the plugin does not do it four you).

# Download dependencies 
flutter pub get 
# Run tests with User feedback (in case some test are failing)
flutter test
# Run tests without user feedback regeneration tests.output and coverage/lcov.info
flutter test --machine --coverage > tests.output 

# Run the analysis and publish to the SonarQube server
sonar-scanner
zippy1978 commented 1 year ago

By the way, As the initial issue is fixed, I close it.

If you have other issues to discuss, please open another issue.

tahitiangabriel commented 1 year ago

I had the same problem with 0.5.0 and the latest flutter stable version 3.13.5. It is fixed with the 0.5.1-snapshot.

c4tz commented 9 months ago

Can also confirm the 0.5.1-SNAPSHOT fixed this issue for me. I think it should become a stable release, @zippy1978

Kaspary commented 2 months ago

If you're encountering this error, it might be helpful to check whether Flutter is installed on your host machine. I faced a similar issue and discovered that the error was due to Flutter not being installed on the host where I was running the SonarScanner. Once I installed Flutter, the problem was resolved.