mysql5_client 0.3.1 mysql5_client: ^0.3.1 copied to clipboard
mysql5.x driver
We analyzed this package 28 hours ago, and awarded it 80 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.
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.
- contains
pubspec.yaml
from the repository defines publish_to
, thus, we are unable to verify the package is published from here.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:12:49
╷
12 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 64 API elements (3.1 %) 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.
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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
WARNING: Dead code.
lib/src/protocol/protocol.dart:276:26
╷
276 │ if (isEOFDeprecated) {
│ ┌──────────────────────────^
277 │ │ return __completeSuccessResponsePacket(
278 │ │ new EOFPacket(_sequenceId, _payloadLength)) as EOFPacket;
279 │ │ } else {
│ └─────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/protocol/protocol.dart
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/src/connection/connection_impl.dart:256:23
╷
256 │ var hasColumn = columns.length > 0;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/connection/connection_impl.dart
10/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 |
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.15.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
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
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.