dartness_server 0.6.1 copy "dartness_server: ^0.6.1" to clipboard
dartness_server: ^0.6.1 copied to clipboard

Dartness is a framework for building efficient, scalable dart server-side applications. It provides an easy and quick way to develop modern standalone server.

11
likes
130/ 160
pub points
0%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/RicardoRB/dartness/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

188 out of 210 API elements (89.5 %) have documentation comments.

Some symbols that are missing documentation: dartness.InstanceRegister, dartness.InstanceRegister.instance, dartness.InstanceRegister.register, dartness.InstanceRegister.resolve, route.Controller.path.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dartness_server/dartness.dart that imports:
  • package:dartness_server/src/dartness.dart that imports:
  • package:dartness_server/src/server/log_requests_interceptor.dart that imports:
  • package:dartness_server/src/server/dartness_response.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dartness_server/dartness.dart that imports:
  • package:dartness_server/src/dartness.dart that imports:
  • package:dartness_server/src/server/log_requests_interceptor.dart that imports:
  • package:dartness_server/src/server/dartness_response.dart that imports:
  • dart:io

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

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

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/schedule/time_unit.dart:1:1

  ╷
1 │ ┌ /// A TimeUnit represents time durations at a given unit of granularity and provides utility methods 
2 │ │ /// to convert across units, and to perform timing and delay operations in these units. 
3 │ │ /// A TimeUnit does not maintain time information, but only helps organize and use time representations 
4 │ │ /// that may be maintained separately across various contexts. A nanosecond is defined as one thousandth of a microsecond, 
5 │ │ /// a microsecond as one thousandth of a millisecond, a millisecond as one thousandth of a second, a minute as sixty seconds, 
  │ └────────────────────────────────────────────────────────────────────────────────────────────^
  ╵

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

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/string_extension.dart:68:49

   ╷
68 │       stringToIterable((e) => bool.tryParse(e)).whereNotNull();
   │                                                 ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.19.1 1.19.1
injector ^3.0.0 3.0.0 4.0.0
shelf ^1.4.1 1.4.2 1.4.2
shelf_plus ^1.7.0 1.10.0 1.10.0
shelf_router ^1.1.4 1.1.4 1.1.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
hotreloader - 4.2.0 4.2.0
http_methods - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
mime_type - 1.0.1 1.0.1
path - 1.9.1 1.9.1
shelf_hotreload - 1.5.0 1.5.0
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 2.0.0 2.0.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vm_service - 14.3.1 14.3.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1

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

The constraint `^3.0.0` on injector does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions injector to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

11
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Dartness is a framework for building efficient, scalable dart server-side applications. It provides an easy and quick way to develop modern standalone server.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, injector, shelf, shelf_plus, shelf_router

More

Packages that depend on dartness_server