bravia 1.0.2 bravia: ^1.0.2 copied to clipboard
A Dart interface to Sony Bravia TVs (control and monitor)
We analyzed this package 22 hours ago, and awarded it 90 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/ModusLabs/dart-samples/RoboDomo/pkg/bravia
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
19 out of 36 API elements (52.8 %) have documentation comments.
Some symbols that are missing documentation: bravia.Bravia.accessControl
, bravia.Bravia.appControl
, bravia.Bravia.audio
, bravia.Bravia.avContent
, bravia.Bravia.browser
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:bravia/bravia.dart
that imports:package:debug/debug.dart
that imports:package:dart_console/dart_console.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:bravia/bravia.dart
that imports:package:debug/debug.dart
that imports:package:dart_console/dart_console.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:bravia/bravia.dart
that imports:package:debug/debug.dart
that imports:package:dart_console/dart_console.dart
that declares support for platforms:Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Linux`.
Because:
package:bravia/bravia.dart
that imports:package:debug/debug.dart
that imports:package:dart_console/dart_console.dart
that imports:package:dart_console/src/console.dart
that imports:package:dart_console/src/ffi/win/termlib_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:bravia/bravia.dart
that imports:package:debug/debug.dart
that imports:package:dart_console/dart_console.dart
that imports:package:dart_console/src/console.dart
that imports:package:dart_console/src/ffi/win/termlib_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: Unused import: 'dart:io'.
lib/bravia.dart:7:8
╷
7 │ import 'dart:io';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/bravia.dart
WARNING: The value of the field '_timeout' isn't used.
lib/bravia.dart:107:14
╷
107 │ late final _timeout;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/bravia.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
debug |
^1.0.0 |
1.0.0 | 1.0.0 |
dio |
^4.0.0 |
4.0.6 | 5.4.3+1 |
env_get |
^1.0.0 |
1.0.0 | 1.0.0 |
modus_json |
^1.0.0 |
1.0.0 | 1.0.0 |
statefulemitter |
^1.0.2 |
1.0.2 | 1.0.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
dart_console |
- | 1.2.0 | 4.0.2 |
eventify |
- | 1.0.1 | 1.0.1 |
ffi |
- | 2.1.2 | 2.1.2 |
http_parser |
- | 4.0.2 | 4.0.2 |
intl |
- | 0.18.1 | 0.19.0 |
meta |
- | 1.14.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
win32 |
- | 5.4.0 | 5.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.