djangoflow_sync_drift_odoo 0.2.0 copy "djangoflow_sync_drift_odoo: ^0.2.0" to clipboard
djangoflow_sync_drift_odoo: ^0.2.0 copied to clipboard

Odoo Sync package for Flutter using Drift

0
likes
90/ 160
pub points
32
downloads

We analyzed this package 1 hour ago, and awarded it 90 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

267 out of 583 API elements (45.8 %) have documentation comments.

Some symbols that are missing documentation: djangoflow_sync_drift_odoo, djangoflow_sync_drift_odoo.$$BaseTableTableAnnotationComposer, djangoflow_sync_drift_odoo.$$BaseTableTableAnnotationComposer.$$BaseTableTableAnnotationComposer, djangoflow_sync_drift_odoo.$$BaseTableTableAnnotationComposer.backendId, djangoflow_sync_drift_odoo.$$BaseTableTableAnnotationComposer.createDate.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:djangoflow_sync_drift_odoo/djangoflow_sync_drift_odoo.dart that imports:
  • package:djangoflow_sync_drift_odoo/src/src.dart that imports:
  • package:djangoflow_sync_drift_odoo/src/sync/drift_odoo_sync_strategy.dart that imports:
  • package:djangoflow_sync_drift_odoo/src/backends/odoo_backend.dart that imports:
  • package:djangoflow_sync_foundation/djangoflow_sync_foundation.dart that imports:
  • package:djangoflow_sync_foundation/src/src.dart that imports:
  • package:djangoflow_sync_foundation/src/utils/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

ERROR: Too many positional arguments: 1 expected, but 3 found.

lib/src/backends/odoo_backend.dart:86:63

   ╷
86 │                 'Failed to convert record to $modelName: $e', e, stackTrace);
   │                                                               ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/backends/odoo_backend.dart

ERROR: Too many positional arguments: 1 expected, but 3 found.

lib/src/repositories/drift_odoo_sync_repository.dart:39:64

   ╷
39 │         logger.e('Error fetching items from primary backend:', e, strackTrace);
   │                                                                ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/repositories/drift_odoo_sync_repository.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
djangoflow_sync_foundation ^0.1.0+1 0.1.0+2 0.1.0+2
drift ^2.21.0 2.22.1 2.22.1
flutter flutter 0.0.0 0.0.0
odoo_rpc ^0.5.8 0.5.8 0.5.8
recase ^4.1.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_bloc - 8.1.6 8.1.6
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
logger - 2.5.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
provider - 6.1.2 6.1.2
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqlite3 - 2.5.0 2.5.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.