prestashop_api 0.1.1 prestashop_api: ^0.1.1 copied to clipboard
A Dart package designed to simplify interaction with PrestaShop websites by providing streamlined API integration, automatic model generation, data serialization, and exception handling.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/MouradJEMAIL/prestashop_api/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
263 out of 597 API elements (44.1 %) have documentation comments.
Some symbols that are missing documentation: prestashop_api.BaseConfig
, prestashop_api.BaseConfig.BaseConfig
, prestashop_api.BaseConfig.apiKey
, prestashop_api.BaseConfig.baseUrl
, prestashop_api.BaseConfig.protocol
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:prestashop_api/prestashop_api.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:prestashop_api/prestashop_api.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:prestashop_api/prestashop_api.dart
that declares support for platforms:Android
,iOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:prestashop_api/prestashop_api.dart
that imports:package:prestashop_api/src/product/model/product.dart
that imports:package:prestashop_api/src/common/shared/utils.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/file_output_stub.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 114 issues. Showing the first 2:
WARNING: The annotation 'JsonKey' can only be used on fields or getters.
lib/src/category/dto/category_associations_dto.dart:15:6
╷
15 │ @JsonKey(name: 'categories', fromJson: _listOfIdDTOsFromJson)
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/category/dto/category_associations_dto.dart
WARNING: The annotation 'JsonKey' can only be used on fields or getters.
lib/src/category/dto/category_associations_dto.dart:17:6
╷
17 │ @JsonKey(name: 'products', fromJson: _listOfIdDTOsFromJson)
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/category/dto/category_associations_dto.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dart_code_metrics |
^5.7.6 |
5.7.6 | 5.7.6 |
dio |
^5.4.2+1 |
5.4.3+1 | 5.4.3+1 |
freezed_annotation |
^2.4.1 |
2.4.1 | 2.4.1 |
injectable |
^2.4.1 |
2.4.1 | 2.4.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
logger |
^2.2.0 |
2.2.0 | 2.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 68.0.0 |
analyzer |
- | 5.13.0 | 6.5.0 |
analyzer_plugin |
- | 0.11.2 | 0.11.3 |
ansicolor |
- | 2.0.2 | 2.0.2 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
csslib |
- | 1.0.0 | 1.0.0 |
dart_code_metrics_presets |
- | 1.8.0 | 2.11.0 |
dart_style |
- | 2.3.2 | 2.3.6 |
file |
- | 6.1.4 | 7.0.0 |
get_it |
- | 7.7.0 | 7.7.0 |
glob |
- | 2.1.2 | 2.1.2 |
html |
- | 0.15.4 | 0.15.4 |
http |
- | 0.13.6 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
meta |
- | 1.11.0 | 1.14.0 |
package_config |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.0 | 1.9.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.4 | 3.1.4 |
process |
- | 4.2.4 | 5.0.2 |
pub_semver |
- | 2.1.4 | 2.1.4 |
pub_updater |
- | 0.3.0 | 0.4.0 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 3.0.7 | 4.4.0 |
watcher |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
yaml |
- | 3.1.2 | 3.1.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.3.4
.
Check the analysis log for details.