translate_client 0.0.5 copy "translate_client: ^0.0.5" to clipboard
translate_client: ^0.0.5 copied to clipboard

A library translate_client.

0
likes
110/ 160
pub points
670
downloads

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 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.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: translate_client,
    • contains a version property, and,
    • does not contain a publish_to property.

Could not find any pubspec.yaml in the repository.

5/5 points: Provide a valid README.md

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

3 out of 57 API elements (5.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: language_translate, language_translate.languageTranslateType, language_translate.languageTranslateTypes, language_translate_core, language_translate_type.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:translate_client/translate_client.dart that imports:
  • package:translate_client/translate_client_core.dart that imports:
  • package:translate_client/translator.dart that imports:
  • package:translate_client/src/google_translator.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:translate_client/translate_client.dart that imports:
  • package:translate_client/translate_client_core.dart that imports:
  • package:translate_client/translator.dart that imports:
  • package:translate_client/src/google_translator.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/model/alternative_translation.dart:1:1

  ╷
1 │ part of google_transl;
  │ ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/src/model/definition.dart:1:1

  ╷
1 │ part of google_transl;
  │ ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
general_lib ^0.0.50 0.0.50 0.0.50
http ^1.2.2 1.2.2 1.2.2
path ^1.9.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
encrypt - 5.0.3 5.0.3
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
image - 4.5.2 4.5.2
io - 1.0.5 1.0.5
js - 0.7.1 0.7.1
mason_logger - 0.3.1 0.3.1
meta - 1.16.0 1.16.0
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
posix - 6.0.1 6.0.1
qr - 3.0.2 3.0.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.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
universal_io - 2.2.2 2.2.2
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3
zxing2 - 0.2.3 0.2.3

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.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
670
downloads

Publisher

unverified uploader

Weekly Downloads

A library translate_client.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com
github.com

License

unknown (license)

Dependencies

general_lib, http, path

More

Packages that depend on translate_client