samsung 1.0.1 copy "samsung: ^1.0.1" to clipboard
samsung: ^1.0.1 copied to clipboard

A Dart interface to SamsungTVs (control and monitor)

5
likes
90/ 140
pub points
7%
popularity

We analyzed this package 4 hours ago, and awarded it 90 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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/samsung 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

11 out of 24 API elements (45.8 %) have documentation comments.

Some symbols that are missing documentation: samsung.Samsung, samsung.Samsung.debug, samsung.Samsung.getHostInfo, samsung.Samsung.getPowerState, samsung.Samsung.powerPort.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:samsung/samsung.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:samsung/samsung.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:samsung/samsung.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:samsung/samsung.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:samsung/samsung.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.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: The value of the local variable 'response' isn't used.

lib/samsung.dart:108:22

    ╷
108 │       final Response response = await dio.get(url);
    │                      ^^^^^^^^
    ╵

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

INFO: Dangling library doc comment.

lib/samsung.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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
wake_on_lan ^2.0.1 2.0.3+2 4.1.1+3
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
convert - 3.1.1 3.1.1
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.

The constraint `^2.0.1` on wake_on_lan does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions wake_on_lan 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.

5
likes
90
pub points
7%
popularity

Publisher

unverified uploader

A Dart interface to SamsungTVs (control and monitor)

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

debug, dio, env_get, modus_json, statefulemitter, wake_on_lan

More

Packages that depend on samsung