x_media_info 0.0.1
x_media_info: ^0.0.1 copied to clipboard
A Flutter plugin to get media info.
We analyzed this package 6 days ago, and awarded it 130 pub points (of a possible 160):
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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
13 out of 58 API elements (22.4 %) have documentation comments.
Some symbols that are missing documentation: x_media_info
, x_media_info.AV_CODEC_ID_APNG
, x_media_info.AV_CODEC_ID_BMP
, x_media_info.AV_CODEC_ID_DST
, x_media_info.AV_CODEC_ID_GIF
.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:x_media_info/x_media_info.dart
that imports:package:process_run/shell_run.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/dartbin_impl.dart
that imports:package:process_run/src/user_config.dart
that imports:package:process_run/src/shell_utils.dart
that imports:package:process_run/src/shell_utils_common.dart
that imports:package:process_run/src/platform/platform.dart
that imports:package:process_run/src/platform/platform_stub.dart
that imports:package:process_run/src/shell_context_common.dart
that imports:package:process_run/src/shell_common.dart
that imports:package:process_run/src/io/io_import.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:x_media_info/x_media_info.dart
that imports:package:process_run/shell_run.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/dartbin_impl.dart
that imports:package:process_run/src/user_config.dart
that imports:package:process_run/src/shell_utils.dart
that imports:package:process_run/src/shell_utils_common.dart
that imports:package:process_run/src/platform/platform.dart
that imports:package:process_run/src/platform/platform_stub.dart
that imports:package:process_run/src/shell_context_common.dart
that imports:package:process_run/src/shell_common.dart
that imports:package:process_run/src/io/io_import.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.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/x_media_info/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/x_media_info_web.dart:5:1
╷
5 │ import 'dart:html' as html show window;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/x_media_info_web.dart
/tmp/pana_ZDWYHA/lib/x_media_info.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
fast_gbk |
1.0.0 |
1.0.0 | 1.0.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
process_run |
^0.12.3+2 |
0.12.5+3 | 1.2.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.12.3+2` on process_run does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions process_run
to update the constraint.
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
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.