cbl_generator 0.3.0 cbl_generator: ^0.3.0 copied to clipboard
Code generator for Couchbase Lite, which is an embedded, NoSQL JSON Document Style database.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 3 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: cbl_generator
, cbl_generator.typedDataBuilder
, cbl_generator.typedDatabaseBuilder
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:cbl_generator/cbl_generator.dart
that imports:package:cbl_generator/src/builder.dart
that imports:package:cbl_generator/src/generator.dart
that imports:package:cbl_generator/src/typed_database_code_builder.dart
that imports:package:source_helper/source_helper.dart
that imports:package:source_helper/src/dart_type_extension.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:cbl_generator/cbl_generator.dart
that imports:package:cbl_generator/src/builder.dart
that imports:package:cbl_generator/src/generator.dart
that imports:package:cbl_generator/src/typed_database_code_builder.dart
that imports:package:source_helper/source_helper.dart
that imports:package:source_helper/src/dart_type_extension.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Web
Because:
package:cbl_generator/cbl_generator.dart
that imports:package:cbl_generator/src/builder.dart
that imports:package:cbl_generator/src/generator.dart
that imports:package:cbl_generator/src/typed_database_code_builder.dart
that imports:package:cbl_generator/src/model.dart
that imports:package:cbl/cbl.dart
that imports:package:cbl/src/typed_data.dart
that imports:package:cbl/src/typed_data/helpers.dart
that imports:package:cbl/src/typed_data/conversion.dart
that imports:package:cbl/src/typed_data/collection.dart
that imports:package:cbl/src/errors.dart
that imports:package:cbl/src/service/channel.dart
that imports:package:cbl/src/service/serialization/serialization_codec.dart
that imports:package:cbl/src/service/serialization/serialization.dart
that imports:package:cbl/src/bindings.dart
that imports:package:cbl/src/bindings/utils.dart
that imports:package:cbl/src/bindings/slice.dart
that imports:package:cbl/src/bindings/global.dart
that imports:package:cbl/src/bindings/fleece.dart
that imports:package:cbl/src/bindings/data.dart
that imports:dart:isolate
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.
lib/src/analysis.dart:82:41
╷
82 │ return typeValue.getDisplayString(withNullability: true);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/analysis.dart
INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.
lib/src/analyzer.dart:476:46
╷
476 │ final typeName = type.getDisplayString(withNullability: false);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/analyzer.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
^6.0.0 |
6.5.0 | 6.5.0 |
build |
^2.3.0 |
2.4.1 | 2.4.1 |
build_config |
^1.0.0 |
1.1.1 | 1.1.1 |
cbl |
^3.0.0 |
3.0.0 | 3.0.0 |
collection |
^1.15.0 |
1.18.0 | 1.18.0 |
meta |
^1.7.0 |
1.15.0 | 1.15.0 |
source_gen |
^1.2.2 |
1.5.0 | 1.5.0 |
source_helper |
^1.3.2 |
1.3.4 | 1.3.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 68.0.0 | 68.0.0 |
_macros |
- | 0.1.0 | 0.1.0 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
cbl_libcblite_api |
- | 3.1.6 | 3.1.6 |
cbl_libcblitedart_api |
- | 7.1.0 | 7.1.0 |
characters |
- | 1.3.0 | 1.3.0 |
checked_yaml |
- | 2.0.3 | 2.0.3 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
dart_style |
- | 2.3.6 | 2.3.6 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
json_annotation |
- | 4.9.0 | 4.9.0 |
logging |
- | 1.2.0 | 1.2.0 |
macros |
- | 0.1.0-main.0 | 0.1.0-main.5 |
package_config |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.0 | 1.9.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
pubspec_parse |
- | 1.2.3 | 1.2.3 |
source_span |
- | 1.10.0 | 1.10.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
synchronized |
- | 3.1.0+1 | 3.1.0+1 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
watcher |
- | 1.1.0 | 1.1.0 |
web |
- | 0.5.1 | 0.5.1 |
web_socket_channel |
- | 2.4.5 | 3.0.0 |
yaml |
- | 3.1.2 | 3.1.2 |
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
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.