pip_services_sessions 1.1.1 copy "pip_services_sessions: ^1.1.1" to clipboard
pip_services_sessions: ^1.1.1 copied to clipboard

Sessions microservice for Pip.Services in Dart. It opens and closes user sessions and stores session data.

0
likes
100/ 140
pub points
0%
popularity

We analyzed this package 19 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/pip-services-users/pip-services-sessions-dart was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

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: pip_services_sessions,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

144 out of 223 API elements (64.6 %) have documentation comments.

Some symbols that are missing documentation: pip_services_sessions, pip_services_sessions.ISessionsController, pip_services_sessions.ISessionsController.ISessionsController, pip_services_sessions.ISessionsPersistence, pip_services_sessions.ISessionsPersistence.ISessionsPersistence.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:pip_services_sessions/pip_services_sessions.dart that imports:
  • package:pip_services_sessions/src/build/build.dart that imports:
  • package:pip_services_sessions/src/build/SessionsServiceFactory.dart that imports:
  • package:pip_services_sessions/src/services/version1/SessionsHttpServiceV1.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:pip_services_sessions/pip_services_sessions.dart that imports:
  • package:pip_services_sessions/src/build/build.dart that imports:
  • package:pip_services_sessions/src/build/SessionsServiceFactory.dart that imports:
  • package:pip_services_sessions/src/services/version1/SessionsHttpServiceV1.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:pip_services_sessions/pip_services_sessions.dart that imports:
  • package:pip_services_sessions/src/build/build.dart that imports:
  • package:pip_services_sessions/src/build/SessionsServiceFactory.dart that imports:
  • package:pip_services_sessions/src/services/version1/SessionsHttpServiceV1.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 43 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/persistence/SessionsMemoryPersistence.dart:86:23

   ╷
86 │       if (item.active != null &&
   │                       ^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/persistence/SessionsMongoDbPersistence.dart:103:16

    ╷
103 │     if (result != null && result['ok'] == 1.0) {
    │                ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
http ^0.13.3 0.13.6 1.2.1
pip_services3_commons ^1.1.5 1.1.7 1.1.7
pip_services3_components ^1.2.0 1.2.4 1.2.4
pip_services3_container ^1.1.1 1.1.2 1.1.2
pip_services3_data ^1.1.2 1.1.2 1.1.2
pip_services3_grpc ^1.1.1 1.1.1 1.1.1
pip_services3_mongodb ^1.1.0 1.1.4 1.1.4
pip_services3_rpc ^1.2.0 1.2.5 1.2.5
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 31.0.0 67.0.0
analyzer - 2.8.0 6.4.1
archive - 3.4.10 3.4.10
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
basic_utils - 5.5.4 5.7.0
bson - 3.0.1 5.0.4
buffer - 1.2.3 1.2.3
cli_util - 0.3.5 0.4.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
decimal - 2.3.3 2.3.3
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
glob - 2.1.2 2.1.2
googleapis_auth - 1.4.1 1.6.0
grpc - 3.2.4 3.2.4
http2 - 2.3.0 2.3.0
http_methods - 1.1.1 1.1.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
meta - 1.14.0 1.14.0
mongo_dart - 0.8.2 0.10.1
mongo_dart_query - 3.0.0 5.0.0
package_config - 2.1.0 2.1.0
packages_extensions - 0.1.0 0.1.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pip_services3_expressions - 1.0.1 1.0.1
pointycastle - 3.9.0 3.9.0
pool - 1.5.1 1.5.1
power_extensions - 0.2.2 0.2.2
protobuf - 2.1.0 3.1.0
pub_semver - 2.1.4 2.1.4
rational - 2.2.2 2.2.2
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
shelf - 1.4.1 1.4.1
shelf_router - 1.1.4 1.1.4
source_span - 1.10.0 1.10.0
sprintf - 6.0.2 7.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
uuid - 3.0.7 4.4.0
vy_string_utils - 0.4.5 0.4.5
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.