datadog_logger_plug 0.0.4+3 copy "datadog_logger_plug: ^0.0.4+3" to clipboard
datadog_logger_plug: ^0.0.4+3 copied to clipboard

A DataDog Logger Plugin for Pluggable

105/ 160
pub points
168
downloads

We analyzed this package 8 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

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

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Failed check 0/5 points: Provide a valid README.md

`README.md` is empty.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

22 out of 39 API elements (56.4 %) have documentation comments.

Some symbols that are missing documentation: datadog_logger_plug, datadog_logger_plug.DataDogAnalyticsPlug, datadog_logger_plug.DataDogAnalyticsPlug.DataDogAnalyticsPlug.new, datadog_logger_plug.DataDogAnalyticsPlug.apiRequest, datadog_logger_plug.DataDogAnalyticsPlug.baseRequest.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:datadog_logger_plug/datadog_logger_plug.dart that imports:
  • package:datadog_logger_plug/src/datadog_plug.dart that imports:
  • package:datadog_logger_plug/src/models/models.dart that imports:
  • package:datadog_logger_plug/src/models/log_request.dart that imports:
  • package:datadog_logger_plug/src/models/http_details.dart that imports:
  • package:pluggable/pluggable.dart that imports:
  • package:pluggable/src/http/pluggable_http.dart that imports:
  • package:pluggable/src/http/models/p_form_file.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:datadog_logger_plug/datadog_logger_plug.dart that imports:
  • package:datadog_logger_plug/src/datadog_plug.dart that imports:
  • package:datadog_logger_plug/src/models/models.dart that imports:
  • package:datadog_logger_plug/src/models/log_request.dart that imports:
  • package:datadog_logger_plug/src/models/http_details.dart that imports:
  • package:pluggable/pluggable.dart that imports:
  • package:pluggable/src/http/pluggable_http.dart that imports:
  • package:pluggable/src/http/models/p_form_file.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: Don't invoke 'print' in production code.

lib/src/datadog_plug.dart:473:7

    ╷
473 │       print('Error logging outbound request error: $e');
    │       ^^^^^
    ╵

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

INFO: Don't invoke 'print' in production code.

lib/src/datadog_plug.dart:509:7

    ╷
509 │       print('Error logging outbound request: $e');
    │       ^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection any 1.19.1 1.19.1
dart_frog ^1.0.0 1.2.4 1.2.4
dio ^5.1.1 5.9.0 5.9.0
http ^1.2.1 1.5.0 1.5.0
pluggable 0.0.1-pre.12 0.0.1-pre.12 0.0.1-pre.12
shelf ^1.4.2 1.4.2 1.4.2
synchronized ^3.1.0+1 3.4.0 3.4.0
universal_io ^2.2.2 2.2.2 2.2.2
uuid any 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cartographer_mapper_plug - 0.0.1-pre.13 0.0.1-pre.13
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.1 2.1.1
event_bus - 2.0.1 2.0.1
expire_cache - 2.0.1 2.0.1
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 3.1.0
get_it - 8.2.0 8.2.0
hotreloader - 4.3.0 4.3.0
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
in_memory_storage_plug - 0.0.1-pre.12 0.0.1-pre.12
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
pluggable_di_getit - 0.0.1-pre.12 0.0.1-pre.12
rxdart - 0.28.0 0.28.0
shelf_hotreload - 1.6.0 1.6.0
shelf_static - 1.1.3 1.1.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
use_case - 1.2.2 1.2.2
vm_service - 15.0.2 15.0.2
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_CLASS - lib/src/datadog_plug.dart:448:16 - Undefined class 'DioException'.
  • UNDEFINED_METHOD - lib/src/mappers/dio/dio_form_file_mapper.dart:16:14 - The method 'clone' isn't defined for the type 'MultipartFile'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
168
downloads

Publisher

unverified uploader

Weekly Downloads

A DataDog Logger Plugin for Pluggable

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

collection, dart_frog, dio, http, pluggable, shelf, synchronized, universal_io, uuid

More

Packages that depend on datadog_logger_plug