indexed_set 1.0.0+2

IndexedSet is a Set implementation that computes an index for each of its elements and exposes this mapping through the [] operator.

0
likes
80 / 110
pub points
0 %
popularity

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

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/indexed_set.dart

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

  • 74 out of 80 API elements (92.5 %) have documentation comments.
Support multiple platforms
20 / 20

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

Pass static analysis
0 / 30

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

Found 7 issues. Showing the first 2:

ERROR: 'SupersetBuilder.add' ('void Function(E)') isn't a valid override of 'SetBuilder.add' ('bool Function(E)').

lib/src/superset.dart:338:8

    ╷
338 │   void add(E element) {
    │        ^^^
    ╵

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

INFO: DO use curly braces for all flow control structures.

lib/src/indexed_set.dart:86:7

   ╷
86 │       throw ArgumentError.value(base, 'base', 'The returned map must be empty');
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
built_collection^4.0.04.3.24.3.2
collection^1.4.01.14.131.14.13
meta^1.1.01.2.31.2.3
quiver^2.0.02.1.32.1.3
Transitive dependencies
PackageConstraintCompatibleLatest
matcher-0.12.90.12.9
path-1.7.01.7.0
stack_trace-1.9.51.9.5

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

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

0
likes
80
pub points
0%
popularity

IndexedSet is a Set implementation that computes an index for each of its elements and exposes this mapping through the [] operator.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

philippschiffmann93@gmail.com

License

MIT (LICENSE)

Dependencies

built_collection, collection, meta, quiver

More

Packages that depend on indexed_set