mysql5_client 0.4.0
mysql5_client: ^0.4.0 copied to clipboard
mysql5.x driver
We analyzed this package 8 hours ago, and awarded it 95 pub points (of a possible 160):
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 50 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:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: mysql5_client, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: mysql_client.ColumnDefinition, mysql_client.ColumnDefinition.ColumnDefinition.new, 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.dartthat imports:package:mysql5_client/src/connection.dartthat imports:package:mysql5_client/src/connection/connection_impl.dartthat imports:package:mysql5_client/src/protocol.dartthat imports:package:mysql5_client/src/data.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 48 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: The declaration '_readFixedLengthUTF8String' isn't referenced.
lib/src/protocol/protocol.dart:94:11
╷
94 │ String? _readFixedLengthUTF8String(int length) =>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/protocol/protocol.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.0 |
3.0.7 | 3.0.7 | |
decimal |
^1.2.0 |
1.5.0 | 3.2.4 | |
pool |
^1.5.0 |
1.5.2 | 1.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
rational |
- | 1.2.1 | 2.2.3 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.2, Dart 3.10.0.
Check the analysis log for details.