enzona 0.0.1+1
enzona: ^0.0.1+1 copied to clipboard
SDK para las APIs de Enzona.
We analyzed this package 36 hours ago, and awarded it 110 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.
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: BSD-2-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
28 out of 410 API elements (6.8 %) 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: enzona, enzona.EResponse.EResponse.new, enzona.EResponse.extraData, enzona.Enzona.Enzona.new, enzona.Enzona.accessTokenUrl.
10/10 points: Package has 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:enzona/enzona.dartthat imports:package:http/io_client.dartthat imports:package:http/src/io_streamed_response.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
WARNING: Dead code.
lib/src/base_api/dio_oauth2_client.dart:110:46
╷
110 │ if(/*credentials.canRefresh*/ false) {
│ ┌──────────────────────────────────────────────^
111 │ │ ///Fixme: implement credentials refresh using Dio
112 │ │ _refreshingFuture = credentials.refresh(
113 │ │ identifier: identifier,
114 │ │ secret: secret,
115 │ │ newScopes: newScopes,
116 │ │ basicAuth: _basicAuth,
117 │ │ // httpClient: _httpClient,
118 │ │ );
119 │ │ } else { /// Here a new clientCredentialsGrant is forced to get new credentials with new expiration date
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/base_api/dio_oauth2_client.dart
INFO: Missing type annotation.
lib/src/base_api/custom_chopper_client.dart:9:5
╷
9 │ baseUrl = '',
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/base_api/custom_chopper_client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
chopper |
^4.0.1 |
4.0.6 | 8.5.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
dio |
^4.0.0 |
4.0.6 | 5.9.1 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
json_annotation |
^4.1.0 |
4.10.0 | 4.10.0 | |
meta |
^1.7.0 |
1.18.1 | 1.18.1 | |
oauth2 |
^2.0.0 |
2.0.2 | 2.0.5 | |
retrofit |
^2.0.1 |
2.2.0 | 4.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
logging |
- | 1.3.0 | 1.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^4.0.1` on chopper does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions chopper to update the constraint.
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.
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.9, Dart 3.11.0.
Check the analysis log for details.