rollbar_common 1.1.0 copy "rollbar_common: ^1.1.0" to clipboard
rollbar_common: ^1.1.0 copied to clipboard

Commons package used by the Rollbar Dart and Flutter SDKs for error reporting.

1
likes
100/ 160
pub points
602
downloads

We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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

83 out of 215 API elements (38.6 %) have documentation comments.

Some symbols that are missing documentation: rollbar_common, rollbar_common.BreadcrumbRecord, rollbar_common.BreadcrumbRecord.BreadcrumbRecord, rollbar_common.BreadcrumbRecord.BreadcrumbRecord.fromMap, rollbar_common.BreadcrumbRecord.breadcrumb.

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:rollbar_common/rollbar_common.dart that imports:
  • package:rollbar_common/src/table_set.dart that imports:
  • package:rollbar_common/src/extension/database.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rollbar_common/rollbar_common.dart that imports:
  • package:rollbar_common/src/table_set.dart that imports:
  • package:rollbar_common/src/extension/database.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and 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
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: The value of 'identity' should be used.

lib/src/extension/function.dart:58:16

   ╷
58 │ const isTrue = identity<bool>;
   │                ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/extension/function.dart

INFO: Dangling library doc comment.

lib/src/extension/function.dart:1:1

  ╷
1 │ /// A collection of combinators and pure functions.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/extension/function.dart

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

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

Package Constraint Compatible Latest
collection ^1.16.0 1.19.1 1.19.1
http ^0.13.0 0.13.6 1.2.2
meta ^1.7.0 1.16.0 1.16.0
sqlite3 ^1.7.0 1.11.2 2.5.0
uuid ^3.0.0 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

The constraint `^1.7.0` on sqlite3 does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions sqlite3 to update the constraint.

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - lib/src/data/breadcrumb_record.dart:117:23 - The method 'fromList' isn't defined for the type 'UuidValue'.
  • UNDEFINED_METHOD - lib/src/data/payload_record.dart:135:23 - The method 'fromList' isn't defined for the type 'UuidValue'.
  • UNDEFINED_METHOD - lib/src/identifiable.dart:17:25 - The method 'fromList' isn't defined for the type 'UuidValue'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
100
points
602
downloads

Publisher

unverified uploader

Weekly Downloads

Commons package used by the Rollbar Dart and Flutter SDKs for error reporting.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, http, meta, sqlite3, uuid

More

Packages that depend on rollbar_common