measures 1.1.0 copy "measures: ^1.1.0" to clipboard
measures: ^1.1.0 copied to clipboard

A package intended to help developers improve readability and unambiguity of code, while dealing with commonly used units of measure.

5
likes
150/ 160
pub points
63
downloads

We analyzed this package 8 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

212 out of 306 API elements (69.3 %) have documentation comments.

Some symbols that are missing documentation: measures.Acceleration.operator *, measures.Acceleration.operator +, measures.Acceleration.operator -, measures.Acceleration.operator /, measures.Acceleration.operator <.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The variable name 'FL' isn't a lowerCamelCase identifier.

lib/src/altitude.dart:45:14

45double get FL => (_metres / mPerFL + 0.5).truncateToDouble();
   │              ^^
   ╵
copied to clipboard

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

INFO: The variable name 'FLGrid5' isn't a lowerCamelCase identifier.

lib/src/altitude.dart:49:14

49double get FLGrid5 => (FL / 5.0 + 1.0).truncateToDouble() * 5.0;
   │              ^^^^^^^
   ╵
copied to clipboard

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 10Aug 7Sep 4Oct 2Oct 30Nov 27Dec 25Jan 22Feb 19Mar 1905101520253035>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
5
likes
150
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.25 - 2025.04.09

A package intended to help developers improve readability and unambiguity of code, while dealing with commonly used units of measure.

Repository

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on measures