mysql5_client 0.4.0 copy "mysql5_client: ^0.4.0" to clipboard
mysql5_client: ^0.4.0 copied to clipboard

mysql5.x driver

2
likes
75/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
15 / 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: mysql5_client,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

1 out of 65 API elements (1.5 %) 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.

Some symbols that are missing documentation: mysql_client.ColumnDefinition, mysql_client.ColumnDefinition.ColumnDefinition, mysql_client.ColumnDefinition.name, mysql_client.ColumnDefinition.type, mysql_client.CommandResult.

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 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:mysql5_client/mysql5_client.dart that imports:
  • package:mysql5_client/src/connection.dart that imports:
  • package:mysql5_client/src/connection/connection_impl.dart that imports:
  • package:mysql5_client/src/protocol.dart that imports:
  • package:mysql5_client/src/data.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 31 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/connection/connection_impl.dart:504:14

    ╷
504 │     if (type != null && _parameterTypes[index] != type) {
    │              ^^^^^^^
    ╵

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

WARNING: Dead code.

lib/src/protocol/protocol.dart:279:26

    ╷
279 │       if (isEOFDeprecated) {
    │ ┌──────────────────────────^
280 │ │       return __completeSuccessResponsePacket(
281 │ │           new EOFPacket(_sequenceId, _payloadLength)) as EOFPacket;
282 │ │     } else {
    │ └─────^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/protocol/protocol.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
crypto ^3.0.0 3.0.3 3.0.3
decimal ^1.2.0 1.5.0 2.3.3
pool ^1.5.0 1.5.1 1.5.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
rational - 1.2.1 2.2.2
stack_trace - 1.11.1 1.11.1
typed_data - 1.3.2 1.3.2

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

The constraint `^1.2.0` on decimal does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions decimal to update the constraint.

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

Analyzed with Pana 0.22.2, Dart 3.3.3.

Check the analysis log for details.

2
likes
75
pub points
0%
popularity

Publisher

unverified uploader

mysql5.x driver

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

crypto, decimal, pool

More

Packages that depend on mysql5_client