opentracing 1.0.11
opentracing: ^1.0.11 copied to clipboard
This library is the Open Tracing API written in Dart. It is intended for use both on the server and in the browser.
We analyzed this package 18 hours ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 3 links are insecure.
README.md:4:80
╷
4 │ <p>To fully understand this platform API, it's helpful to be familiar with the <a href="http://opentracing.io">OpenTracing project</a> and
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
116 out of 123 API elements (94.3 %) have documentation comments.
Some symbols that are missing documentation: opentracing_dart.AbstractTracer.AbstractTracer.new
, opentracing_dart.Scope.Scope.new
, opentracing_dart.ScopeManager.ScopeManager.new
, opentracing_dart.Span.Span.new
, opentracing_noop.NoopSpan.NoopSpan.new
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: 'Future.value' shouldn't be called with a 'null' argument for the non-nullable type argument 'Span'.
lib/src/noop_span.dart:65:31
╷
65 │ return Future<Span>.value(null);
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/noop_span.dart
INFO: The import of 'package:opentracing/src/abstract_scope_manager.dart' is unnecessary because all of the used elements are also provided by the import of 'package:opentracing/opentracing.dart'.
lib/src/abstract_tracer.dart:18:8
╷
18 │ import 'package:opentracing/src/abstract_scope_manager.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/abstract_tracer.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
meta |
^1.6.0 |
1.16.0 | 1.16.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.