better_protoc_plugin 1.2.2 copy "better_protoc_plugin: ^1.2.2" to clipboard
better_protoc_plugin: ^1.2.2 copied to clipboard

An opinionated, "new and improved" protobuf protoc compiler plugin used to generate Dart code with real Dart enums, message interfaces, automatic DateTime/Duration conversion, etc.

1
likes
120/ 140
pub points
0%
popularity

We analyzed this package 18 hours ago, and awarded it 120 pub points (of a possible 140):

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

151 out of 341 API elements (44.3 %) have documentation comments.

Some symbols that are missing documentation: const_generator, indenting_writer, indenting_writer.IndentingWriter.addAnnotatedBlock, indenting_writer.IndentingWriter.printAnnotated, indenting_writer.IndentingWriter.printlnAnnotated.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:better_protoc_plugin/protoc.dart that imports:
  • package:better_protoc_plugin/src/shared.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

INFO: The type name 'Dart_options' isn't an UpperCamelCase identifier.

lib/src/generated/dart_options.pb.dart:175:7

    ╷
175 │ class Dart_options {
    │       ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/dart_options.pb.dart

INFO: The type name 'DescriptorProto_ExtensionRange' isn't an UpperCamelCase identifier.

lib/src/generated/descriptor.pb.dart:290:7

    ╷
290 │ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage {
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/descriptor.pb.dart

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

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
fixnum ^1.0.0 1.1.0 1.1.0
path ^1.8.0 1.9.0 1.9.0
protobuf ^3.1.0 3.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

1
likes
120
pub points
0%
popularity

Publisher

verified publisherdra11y.com

An opinionated, "new and improved" protobuf protoc compiler plugin used to generate Dart code with real Dart enums, message interfaces, automatic DateTime/Duration conversion, etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, fixnum, path, protobuf

More

Packages that depend on better_protoc_plugin