dim_client 0.7.7 copy "dim_client: ^0.7.7" to clipboard
dim_client: ^0.7.7 copied to clipboard

DIM demo.

50/ 160
pub points
540
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

client/pubspec.yaml from the repository URL mismatch: expected https://github.com/dimchat/demo-dart but got https://github.com/dimpart/demo-dart.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dim_client,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting dim_client... Discovering libraries... Linking elements... Precaching local docs for 791396 elements... Initialized dartdoc with 996 libraries Generating docs for library ok.dart from package:dim_client/ok.dart... Generating docs for library client.dart from package:dim_client/client.dart... Generating docs for library sdk.dart from package:dim_client/sdk.dart... Generating docs for library sqlite.dart from package:dim_client/sqlite.dart... Generating docs for library group.dart from package:dim_client/group.dart... [6 more lines] ERR: warning: dim_client has no library level documentation comments from dim_client: (file:///tmp/pana_DFHAYM/lib/ok.dart:1:1) warning: dim_client has no library level documentation comments from dim_client: (file:///tmp/pana_DFHAYM/lib/client.dart:1:1) error: file already written at "dim_client/index.html" for symbol dim_client: (file:///tmp/pana_DFHAYM/lib/client.dart:1:1) conflicting with file already generated by dim_client: (file:///tmp/pana_DFHAYM/lib/ok.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'dim_client' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [107 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

ERROR: No associated positional super constructor parameter.

lib/src/network/gate.dart:42:23

   ╷
42 │   AckEnableGate(super.keeper);
   │                       ^^^^^^
   ╵

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

ERROR: Undefined class 'StreamHub'.

lib/src/network/keeper.dart:64:3

   ╷
64 │   StreamHub createHub(ConnectionDelegate delegate, SocketAddress remote) {
   │   ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
dim_plugins ^1.2.2 1.2.2 2.2.1
dimsdk ^1.2.2 1.2.2 2.2.1
lnc ^1.0.0 1.2.2 1.2.2
object_key ^1.0.0 1.1.1 1.1.1
stargate ^1.0.0 1.2.0 1.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
basic_utils - 5.7.0 5.8.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dimp - 1.2.2 2.2.2
dkd - 1.2.2 2.2.2
encrypt - 5.0.3 5.0.3
fast_base58 - 0.2.1 0.2.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.11.0 4.11.0
logging - 1.3.0 1.3.0
meta - 1.18.1 1.18.1
mkm - 1.2.2 2.2.2
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
source_span - 1.10.2 1.10.2
startrek - 1.2.0 1.2.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

The constraint `^1.2.2` on dim_plugins does not support the stable version `2.0.0`.

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

The constraint `^1.2.2` on dimsdk does not support the stable version `2.0.0`.

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

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.23.10, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
50
points
540
downloads

Publisher

unverified uploader

Weekly Downloads

DIM demo.

Documentation

API reference

License

MIT (license)

Dependencies

dim_plugins, dimsdk, lnc, object_key, stargate

More

Packages that depend on dim_client