devtools_app 0.1.11

  • Readme
  • Changelog
  • Installing
  • 22

Build Status

What is this? #

This is a companion repo to the main Flutter repo. It contains the source code for a suite of performance tools for Dart and Flutter. All of the core logic for the devtools app is in package:devtools_app with package:devtools just serving as a container to serve precompiled versions of the app for easy use with pub global activate.

Getting started #

For documentation on installing and trying out DevTools, please see our docs.

Feedback #

Feedback and issues are best reported at https://github.com/flutter/devtools/issues. Thanks for trying out DevTools!

Terms and Privacy #

By using Dart DevTools, you agree to the Google Terms of Service.

See the changelog for package:devtools which should list all changes to package:devtools_app as it is the user visible package for this work.

Use this package as a library

1. Depend on it

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


dependencies:
  devtools_app: ^0.1.11

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:devtools_app/debugger_html_plugin.dart';
import 'package:devtools_app/devtools.dart';
import 'package:devtools_app/html_main.dart';
import 'package:devtools_app/main.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
45
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
40
Overall:
Weighted score of the above. [more]
22
Learn more about scoring.

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

  • Dart: 2.6.1
  • pana: 0.13.1+4
  • Flutter: 1.12.13+hotfix.2

Health issues and suggestions

Fix platform conflict in lib/debugger_html_plugin.dart. (-25 points)

Make sure that the imported libraries are not in conflict. Detected components: flutter, html, js, io, isolate.

Fix platform conflict in lib/html_main.dart. (-25 points)

Make sure that the imported libraries are not in conflict. Detected components: flutter, html, js, io, isolate.

Fix lib/src/service_manager.dart. (-2.96 points)

Analysis of lib/src/service_manager.dart reported 6 hints, including:

line 109 col 34: Close instances of dart.core.Sink.

line 150 col 40: Close instances of dart.core.Sink.

line 559 col 11: Close instances of dart.core.Sink.

line 681 col 51: Close instances of dart.core.Sink.

line 723 col 34: Close instances of dart.core.Sink.

Fix lib/src/table_data.dart. (-1.49 points)

Analysis of lib/src/table_data.dart reported 3 hints:

line 79 col 44: Close instances of dart.core.Sink.

line 454 col 29: Close instances of dart.core.Sink.

line 459 col 29: Close instances of dart.core.Sink.

Fix lib/src/service.dart. (-0.50 points)

Analysis of lib/src/service.dart reported 1 hint:

line 120 col 29: Close instances of dart.core.Sink.

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

References Flutter, but has conflicting libraries: package:devtools_app/debugger_html_plugin.dart (components: flutter, html, js, io, isolate), package:devtools_app/html_main.dart (components: flutter, html, js, io, isolate).

Support latest dependencies. (-30 points)

The version constraint in pubspec.yaml does not support the latest published versions for 3 dependencies (flutter_icons, sse, vm_service).

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 devtools_app.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.6.0 <3.0.0
ansi_up ^0.0.1 0.0.1+4.0.4
ansicolor ^1.0.2 1.0.2
codemirror ^0.5.10 0.5.12+5.49.2
collection ^1.14.11 1.14.11 1.14.12
devtools_server 0.1.12 0.1.12
flutter 0.0.0
flutter_icons ^0.3.1 0.3.1 1.0.0+1
flutter_web_plugins 0.0.0
flutter_widgets ^0.1.6 0.1.7+1
html_shim ^0.0.2 0.0.2
http ^0.12.0+1 0.12.0+2
intl ^0.16.0 0.16.0
js ^0.6.1+1 0.6.1+1
meta ^1.1.0 1.1.8
octicons_css ^0.0.1 0.0.1
path ^1.6.0 1.6.4
pedantic ^1.7.0 1.9.0
platform_detect ^1.3.5 1.4.0
plotly_js ^0.0.2 0.0.2
polymer_css ^0.0.1 0.0.1
primer_css ^0.0.2 0.0.2
split ^0.0.7 0.0.7
sse ^2.0.0 2.1.2 3.0.0
vm_service ^1.2.0 1.2.0 2.1.3
web_socket_channel ^1.1.0 1.1.0
Transitive dependencies
args 1.5.2
async 2.4.0
browser_launcher 0.1.5
charcode 1.1.2
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
html 0.14.0+3
http_multi_server 2.1.0
http_parser 3.1.3
logging 0.11.3+2
mime 0.9.6+3
pub_semver 1.4.2
quiver 2.1.2+1
shelf 0.7.5
shelf_static 0.2.8
sky_engine 0.0.99
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
usage 3.4.1
uuid 2.0.4
vector_math 2.0.8
Dev dependencies
build_runner ^1.3.0
build_test ^0.10.0
build_web_compilers >=2.6.2 <3.0.0
devtools
devtools_testing
flutter_test
matcher ^0.12.3 0.12.6
mockito ^4.0.0
test ^1.0.0
webkit_inspection_protocol ^0.5.0 0.5.0