rmi 0.0.4

Dart native js
Flutter Android iOS web

Remote Method Invocation without reflection but basd on code generation. This library is the runtime dependency. Additionally add `rmi__generator` as dev dependency.

0
likes
70 / 110
pub points
0 %
popularity

We analyzed this package on Sep 29, 2020, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package has a git dependency.

pubspec.yaml:17:5

   ╷
17 │ ┌     git: 
18 │ │       url: https://github.com/MatzeS/json_serializable
19 │ │       ref: feature/blackbird
20 │ │       path: json_serialization
21 │ └   
   ╵

The pub site doesn't allow git dependencies.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/example.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
  warning: ambiguous reexport of implementation.generateUUID, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.generateUUID: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:8:8)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
            Use {@canonicalFor implementation.generateUUID} in the desired library's documentation to resolve
            the ambiguity and/or override dartdoc's decision, or structure your package 
            so the reexport is less ambiguous.  The symbol will still be referenced in 
            all candidates -- this only controls the location where it will be written 
            and which library will be displayed in navigation for the relevant pages.
            The flag --ambiguous-reexport-scorer-min-confidence allows you to set the
            threshold at which this warning will appear.
  warning: ambiguous reexport of implementation.internalGetRemoteFromStub, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.internalGetRemoteFromStub: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:146:8)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
  warning: ambiguous reexport of implementation.internalProvideRemote, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.internalProvideRemote: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:90:11)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
  warning: ambiguous reexport of implementation.FutureImplementation, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.FutureImplementation: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:215:7)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
  warning: ambiguous reexport of implementation.RmiProxyHandler, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.RmiProxyHandler: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:10:7)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
  warning: ambiguous reexport of implementation.StreamImplementation, canonicalization candidates: (rmi, rmi) -> rmi (confidence 0.000)
    from implementation.StreamImplementation: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/src/implementation.dart:283:7)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
        rmi: 0.2110 - name is long (+0.01000), element location shares parts with name (+0.2000), element location parts start with parts of name (+0.001000)
  warning: rmi has no library level documentation comments, from rmi: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/remote_method_invocation.dart:1:9)
  error: failed to write file at: rmi/rmi-library.html
    for symbol rmi: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/remote_method_invocation.dart:1:9)
    conflicting with file already generated by rmi: (file:///tmp/pub-dartlang-dartdocBPAXRH/pkg/lib/rmi.dart:1:1)
            Dartdoc generates a path and filename to write to for each symbol.
            rmi conflicts with another symbol in the generated path, and
            therefore can not be written out.  Changing the name, library name, or
            class name (if appropriate) of one of the conflicting items can resolve
            the conflict.   Alternatively, use the @nodoc tag in one symbol's
            documentation comments to hide it.
found 7 warnings and 1 error
Unhandled exception:
dartdoc encountered 1 errors while processing.
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:232:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

Found 18 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/remote_method_invocation.dart:38:37

   ╷
38 │   JsonSerialization serialization = new JsonSerialization();
   │                                     ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/remote_method_invocation.dart

INFO: Unnecessary new keyword.

lib/src/implementation.dart:8:26

  ╷
8 │ String generateUUID() => new Uuid().v1();
  │                          ^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/implementation.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
json_annotationany3.1.03.1.0
json_serializationfeature/blackbird0.0.10.0.1
uuid^1.0.31.0.32.2.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
typed_data-1.2.01.2.0

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

The constraint `^1.0.3` on uuid does not support the latest published version `2.2.2`

pubspec.yaml:14:9

   ╷
14 │   uuid: ^1.0.3
   │         ^^^^^^
   ╵

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

0
likes
70
pub points
0%
popularity

Remote Method Invocation without reflection but basd on code generation. This library is the runtime dependency. Additionally add `rmi__generator` as dev dependency.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

matthias.sokolowski@googlemail.com

License

BSD (LICENSE)

Dependencies

json_annotation, json_serialization, uuid

More

Packages that depend on rmi