interceptable 0.0.2

Interceptable #

A light-weight interceptable sub-class generator based on renderable.dart

This is designed to provide aop lower-api for rua.dart

1.0.0 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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


dependencies:
  interceptable: ^0.0.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


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

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

  • Dart: 2.5.0
  • pana: 0.12.21

Platforms

Detected platforms: other

Primary library: package:interceptable/interceptable.dart with components: io, mirrors.

Health suggestions

Fix lib/src/interceptor/accessor_interceptor.dart. (-0.50 points)

Analysis of lib/src/interceptor/accessor_interceptor.dart reported 1 hint:

line 4 col 8: Unused import: 'package:renderable/renderable.dart'.

Format lib/src/converter/interceptable_element_converter.dart.

Run dartfmt to format lib/src/converter/interceptable_element_converter.dart.

Format lib/src/manager/interceptable_manager.dart.

Run dartfmt to format lib/src/manager/interceptable_manager.dart.

Format lib/src/util/parameter_util.dart.

Run dartfmt to format lib/src/util/parameter_util.dart.

Maintenance suggestions

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 interceptable.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The package description is too short. (-8 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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
renderable ^0.1.13 0.1.13
Transitive dependencies
analyzer 0.37.1+1 0.38.3
args 1.5.2
async 2.3.0
build 1.1.6
build_config 0.4.1+1
build_daemon 2.1.0
build_resolvers 1.0.7
build_runner 1.6.9 1.7.0
build_runner_core 3.1.1 4.0.0
built_collection 4.2.2
built_value 6.7.1
charcode 1.1.2
checked_yaml 1.0.2
code_builder 3.2.0
collection 1.14.12
convert 2.1.1
crypto 2.1.3
csslib 0.16.1
dart_style 1.2.10
fixnum 0.10.9
front_end 0.1.21+1 0.1.25
glob 1.1.7
graphs 0.2.0
html 0.14.0+2
http 0.12.0+2
http_multi_server 2.1.0
http_parser 3.1.3
io 0.3.3
js 0.6.1+1
json_annotation 3.0.0
kernel 0.3.21+1 0.3.25
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
mime 0.9.6+3
mustache4dart 3.0.0-dev.1.0
package_config 1.1.0
package_resolver 1.0.10
path 1.6.4
pedantic 1.8.0+1
pool 1.4.0
pub_semver 1.4.2
pubspec_parse 0.1.5
quiver 2.0.5
reflectable 2.1.0
shelf 0.7.5
shelf_web_socket 0.2.3
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
stream_transform 0.0.19
string_scanner 1.0.5
term_glyph 1.1.0
timing 0.1.1+2
typed_data 1.1.6
watcher 0.9.7+12
web_socket_channel 1.0.15
yaml 2.2.0
Dev dependencies
test ^1.0.0