expressions 0.2.5+1 copy "expressions: ^0.2.5+1" to clipboard
expressions: ^0.2.5+1 copied to clipboard

A library to parse and evaluate simple dart and javascript like expressions.

77
likes
105/ 140
pub points
93%
popularity

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

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:8:29

  ╷
8 │ <p>It is partly inspired by <a href="http://jsep.from.so/">jsep</a>.</p>
  │                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

3 out of 81 API elements (3.7 %) 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: expressions, expressions.AnyMemberAccessor, expressions.BinaryExpression, expressions.BinaryExpression.BinaryExpression, expressions.BinaryExpression.left.

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
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/expressions.dart:59:17

   ╷
59 │   bool operator ==(dynamic other) => other is Literal && other.value == value;
   │                 ^^
   ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/expressions.dart:147:17

    ╷
147 │   bool operator ==(dynamic other) =>
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/expressions.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
meta ^1.3.0 1.14.0 1.14.0
petitparser >=5.0.0 <7.0.0 6.0.2 6.0.2
quiver ^3.0.0 3.2.1 3.2.1
rxdart ^0.27.0 0.27.7 0.27.7
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1

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.3.

Check the analysis log for details.

77
likes
105
pub points
93%
popularity

Publisher

verified publisherappsup.be

A library to parse and evaluate simple dart and javascript like expressions.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

meta, petitparser, quiver, rxdart

More

Packages that depend on expressions