xmpp_stone 0.4.4-dev.7 copy "xmpp_stone: ^0.4.4-dev.7" to clipboard
xmpp_stone: ^0.4.4-dev.7 copied to clipboard

Xmpp Stone is lightweight XMPP client library written completely in Dart.

70
likes
130/ 160
pub points
76%
popularity

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

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: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

18 out of 376 API elements (4.8 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: xmpp_stone, xmpp_stone.AbstractStanza, xmpp_stone.AbstractStanza.AbstractStanza, xmpp_stone.AbstractStanza.fromJid, xmpp_stone.AbstractStanza.getRandomId.

10/10 points: Package has 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:xmpp_stone/xmpp_stone.dart that imports:
  • package:xmpp_stone/src/roster/RosterManager.dart that imports:
  • package:xmpp_stone/src/Connection.dart that imports:
  • package:xmpp_stone/src/connection/XmppWebsocketHtml.dart that imports:
  • package:xmpp_stone/src/connection/XmppWebsocketApi.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:xmpp_stone/xmpp_stone.dart that imports:
  • package:xmpp_stone/src/roster/RosterManager.dart that imports:
  • package:xmpp_stone/src/Connection.dart that imports:
  • package:xmpp_stone/src/connection/XmppWebsocketApi.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 120 issues. Showing the first 2:

WARNING: Missing case clause for 'null'.

lib/src/presence/PresenceManager.dart:138:7

    ╷
138 │       switch (presenceStanza.type) {
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The file name 'Connection.dart' isn't a lower_case_with_underscores identifier.

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

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

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

Package Constraint Compatible Latest
collection ^1.18.0 1.19.0 1.19.0
console ^4.1.0 4.1.0 4.1.0
crypto ^3.0.5 3.0.5 3.0.5
cryptoutils ^0.5.0 0.5.0 0.5.0
image ^4.2.0 4.2.0 4.2.0
intl ^0.19.0 0.19.0 0.19.0
quiver ^3.2.2 3.2.2 3.2.2
synchronized ^3.2.0 3.3.0+2 3.3.0+2
tuple ^2.0.2 2.0.2 2.0.2
universal_io ^2.2.2 2.2.2 2.2.2
unorm_dart ^0.3.0 0.3.0 0.3.0
web_socket_channel ^3.0.1 3.0.1 3.0.1
xml ^6.5.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
clock - 1.1.1 1.1.1
matcher - 0.12.16+1 0.12.16+1
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
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.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 1.0.0 1.0.0
web_socket - 0.1.6 0.1.6

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Dart 3.5.2.

Check the analysis log for details.

70
likes
130
pub points
76%
popularity

Publisher

unverified uploader

Xmpp Stone is lightweight XMPP client library written completely in Dart.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, console, crypto, cryptoutils, image, intl, quiver, synchronized, tuple, universal_io, unorm_dart, web_socket_channel, xml

More

Packages that depend on xmpp_stone