retrieval 1.0.0 copy "retrieval: ^1.0.0" to clipboard
retrieval: ^1.0.0 copied to clipboard

A trie data structure Dart implementation — useful for autocomplete.

6
likes
120/ 140
pub points
61%
popularity

We analyzed this package 6 days 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

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

OUT: Documenting retrieval... Discovering libraries... Linking elements... Precaching local docs for 137512 elements... Initialized dartdoc with 59 libraries Generating docs for library trie.dart from package:retrieval/trie.dart... Generating docs for library key_value_trie.dart from package:retrieval/key_value_trie.dart... Documented 2 public libraries in 29.3 seconds ERR: error: file already written at "retrieval/retrieval-library.html" for symbol retrieval: (file:///tmp/pana_VERPRB/lib/key_value_trie.dart:2:9) conflicting with file already generated by retrieval: (file:///tmp/pana_VERPRB/lib/trie.dart:2:9) Dartdoc generates a path and filename to write to for each symbol. 'retrieval' 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 directive in one symbol's documentation comment to hide it. error: file already written at "retrieval/retrieval-library-sidebar.html" [9 more lines]

10/10 points: Package has an example

OK
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
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/src/key_value_trie.dart:49:46

   ╷
49 │         foundWords.add(partialMatchNode.value!);
   │                                              ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/key_value_trie.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
characters ^1.1.0 1.3.0 1.3.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.4.0.

Check the analysis log for details.

6
likes
120
pub points
61%
popularity

Publisher

verified publisherrohanchandra.dev

A trie data structure Dart implementation — useful for autocomplete.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

characters

More

Packages that depend on retrieval