naumen_smp_rest 1.0.3
naumen_smp_rest: ^1.0.3

Dart js
Flutter web

Sinple future-based library for Naumen SMP REST API. Looks like internal Groovy methods.

0
likes
80 / 110
pub points
0 %
popularity

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

Follow Dart file conventions
10 / 20

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:13:49

   ╷
13 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/naumen_smp_rest_example.dart

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

  • 9 out of 9 API elements (100.0 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package not compatible with runtime native

Because:

  • package:naumen_smp_rest/naumen_smp_rest.dart that imports:
  • package:naumen_smp_rest/src/naumen_smp_rest_base.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • dart:html
Pass static analysis
20 / 30

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

INFO: Use isNotEmpty instead of length

lib/src/naumen_smp_rest_base.dart:34:12

   ╷
34 │     return data.length > 0 ? data.first : {};
   │            ^^^^^^^^^^^^^^^
   ╵

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

lib/src/naumen_smp_rest_base.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
http^0.12.00.12.20.12.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
http_parser-3.1.43.1.4
meta-1.2.41.2.4
path-1.7.01.7.0
pedantic-1.9.21.9.2
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0

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

Sinple future-based library for Naumen SMP REST API. Looks like internal Groovy methods.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

qutask@gmail.com

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on naumen_smp_rest