esiur 1.0.1

Esiur #

Distributed Object Framework

Getting Started #

For help getting started with Esiur, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[1.0.0] - Release.

  • Initial release.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  esiur: ^1.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:esiur/esiur.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
33
Health:
Code health derived from static analysis. [more]
54
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

We analyzed this package on Aug 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/src/Net/IIP/DistributedConnection.dart. (-17.76 points)

Analysis of lib/src/Net/IIP/DistributedConnection.dart reported 39 hints, including:

line 92 col 15: The value of the field '_packet' isn't used.

line 102 col 14: The value of the field '_loginDate' isn't used.

line 108 col 44: The value of the field '_pathRequests' isn't used.

line 152 col 26: Don't explicitly initialize variables to null.

line 307 col 21: Unnecessary cast.

Fix lib/src/Resource/Instance.dart. (-7.24 points)

Analysis of lib/src/Resource/Instance.dart reported 15 hints, including:

line 2 col 8: Unused import: '../Data/DC.dart'.

line 16 col 8: Unused import: './Template/FunctionTemplate.dart'.

line 17 col 8: Unused import: './Template/EventTemplate.dart'.

line 57 col 28: Don't explicitly initialize variables to null.

line 70 col 30: Don't explicitly initialize variables to null.

Fix lib/src/Resource/Warehouse.dart. (-6.78 points)

Analysis of lib/src/Resource/Warehouse.dart reported 14 hints, including:

line 241 col 50: Don't explicitly initialize variables to null.

line 241 col 69: Don't explicitly initialize variables to null.

line 241 col 94: Don't explicitly initialize variables to null.

line 319 col 55: Don't explicitly initialize variables to null.

line 319 col 76: Don't explicitly initialize variables to null.

Fix additional 69 files with analysis or formatting issues. (-26.80 points)

Additional issues in the following files:

  • lib/src/Resource/Template/ResourceTemplate.dart (10 hints)
  • lib/src/Data/Codec.dart (7 hints)
  • lib/src/Data/BinaryList.dart (4 hints)
  • lib/src/Net/NetworkConnection.dart (4 hints)
  • lib/src/Security/Integrity/SHA256.dart (4 hints)
  • lib/src/Core/AsyncReply.dart (3 hints)
  • lib/src/Net/IIP/DistributedPropertyContext.dart (2 hints)
  • lib/src/Net/IIP/DistributedResource.dart (2 hints)
  • lib/src/Net/Sockets/IPEndPoint.dart (2 hints)
  • lib/src/Core/AsyncBag.dart (1 hint)
  • lib/src/Core/AsyncException.dart (1 hint)
  • lib/src/Core/AsyncQueue.dart (1 hint)
  • lib/src/Data/DC.dart (1 hint)
  • lib/src/Data/KeyList.dart (1 hint)
  • lib/src/Net/IIP/DistributedResourceQueueItem.dart (1 hint)
  • lib/src/Net/NetworkBuffer.dart (1 hint)
  • lib/src/Net/Packets/IIPPacket.dart (1 hint)
  • lib/src/Resource/Template/MemberTemplate.dart (1 hint)
  • lib/src/Resource/Template/PropertyTemplate.dart (1 hint)
  • lib/src/Security/Authority/Authentication.dart (1 hint)
  • lib/src/Security/Authority/ClientAuthentication.dart (1 hint)
  • lib/src/Security/Authority/CoHostAuthentication.dart (1 hint)
  • lib/src/Security/Authority/HostAuthentication.dart (1 hint)
  • lib/src/Security/Authority/Source.dart (1 hint)
  • lib/src/Security/Permissions/IPermissionsManager.dart (1 hint)
  • lib/esiur.dart (Run flutter format to format lib/esiur.dart.)
  • lib/src/Core/ErrorType.dart (Run flutter format to format lib/src/Core/ErrorType.dart.)
  • lib/src/Core/ExceptionCode.dart (Run flutter format to format lib/src/Core/ExceptionCode.dart.)
  • lib/src/Core/IDestructible.dart (Run flutter format to format lib/src/Core/IDestructible.dart.)
  • lib/src/Core/IEventHandler.dart (Run flutter format to format lib/src/Core/IEventHandler.dart.)
  • lib/src/Core/ProgressType.dart (Run flutter format to format lib/src/Core/ProgressType.dart.)
  • lib/src/Data/AutoList.dart (Run flutter format to format lib/src/Data/AutoList.dart.)
  • lib/src/Data/DataType.dart (Run flutter format to format lib/src/Data/DataType.dart.)
  • lib/src/Data/Guid.dart (Run flutter format to format lib/src/Data/Guid.dart.)
  • lib/src/Data/NotModified.dart (Run flutter format to format lib/src/Data/NotModified.dart.)
  • lib/src/Data/PropertyValue.dart (Run flutter format to format lib/src/Data/PropertyValue.dart.)
  • lib/src/Data/ResourceComparisonResult.dart (Run flutter format to format lib/src/Data/ResourceComparisonResult.dart.)
  • lib/src/Data/SizeObject.dart (Run flutter format to format lib/src/Data/SizeObject.dart.)
  • lib/src/Data/Structure.dart (Run flutter format to format lib/src/Data/Structure.dart.)
  • lib/src/Data/StructureComparisonResult.dart (Run flutter format to format lib/src/Data/StructureComparisonResult.dart.)
  • lib/src/Data/StructureMetadata.dart (Run flutter format to format lib/src/Data/StructureMetadata.dart.)
  • lib/src/Data/ValueObject.dart (Run flutter format to format lib/src/Data/ValueObject.dart.)
  • lib/src/Net/IIP/DistributedResourceQueueItemType.dart (Run flutter format to format lib/src/Net/IIP/DistributedResourceQueueItemType.dart.)
  • lib/src/Net/Packets/IIPAuthPacket.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacket.dart.)
  • lib/src/Net/Packets/IIPAuthPacketAction.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketAction.dart.)
  • lib/src/Net/Packets/IIPAuthPacketCommand.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketCommand.dart.)
  • lib/src/Net/Packets/IIPAuthPacketMethod.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketMethod.dart.)
  • lib/src/Net/Packets/IIPPacketAction.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketAction.dart.)
  • lib/src/Net/Packets/IIPPacketCommand.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketCommand.dart.)
  • lib/src/Net/Packets/IIPPacketEvent.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketEvent.dart.)
  • lib/src/Net/Packets/IIPPacketReport.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketReport.dart.)
  • lib/src/Net/SendList.dart (Run flutter format to format lib/src/Net/SendList.dart.)
  • lib/src/Net/Sockets/ISocket.dart (Run flutter format to format lib/src/Net/Sockets/ISocket.dart.)
  • lib/src/Net/Sockets/SocketState.dart (Run flutter format to format lib/src/Net/Sockets/SocketState.dart.)
  • lib/src/Net/Sockets/TCPSocket.dart (Run flutter format to format lib/src/Net/Sockets/TCPSocket.dart.)
  • lib/src/Resource/IResource.dart (Run flutter format to format lib/src/Resource/IResource.dart.)
  • lib/src/Resource/IStore.dart (Run flutter format to format lib/src/Resource/IStore.dart.)
  • lib/src/Resource/ResourceTrigger.dart (Run flutter format to format lib/src/Resource/ResourceTrigger.dart.)
  • lib/src/Resource/StorageMode.dart (Run flutter format to format lib/src/Resource/StorageMode.dart.)
  • lib/src/Resource/Template/EventTemplate.dart (Run flutter format to format lib/src/Resource/Template/EventTemplate.dart.)
  • lib/src/Resource/Template/FunctionTemplate.dart (Run flutter format to format lib/src/Resource/Template/FunctionTemplate.dart.)
  • lib/src/Resource/Template/MemberType.dart (Run flutter format to format lib/src/Resource/Template/MemberType.dart.)
  • lib/src/Resource/Template/PropertyPermission.dart (Run flutter format to format lib/src/Resource/Template/PropertyPermission.dart.)
  • lib/src/Security/Authority/AuthenticationState.dart (Run flutter format to format lib/src/Security/Authority/AuthenticationState.dart.)
  • lib/src/Security/Authority/AuthenticationType.dart (Run flutter format to format lib/src/Security/Authority/AuthenticationType.dart.)
  • lib/src/Security/Authority/Session.dart (Run flutter format to format lib/src/Security/Authority/Session.dart.)
  • lib/src/Security/Authority/SourceAttributeType.dart (Run flutter format to format lib/src/Security/Authority/SourceAttributeType.dart.)
  • lib/src/Security/Permissions/ActionType.dart (Run flutter format to format lib/src/Security/Permissions/ActionType.dart.)
  • lib/src/Security/Permissions/Ruling.dart (Run flutter format to format lib/src/Security/Permissions/Ruling.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

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

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and esiur.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
Dev dependencies
test ^1.0.0