qiniu_sdk_base 0.7.3
qiniu_sdk_base: ^0.7.3 copied to clipboard
The sdk basic of Qiniu products
We analyzed this package 8 hours ago, and awarded it 120 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.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
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.
`CHANGELOG.md` does not contain reference to the current version ("0.7.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
91 out of 223 API elements (40.8 %) have documentation comments.
Some symbols that are missing documentation: qiniu_sdk_base, qiniu_sdk_base.Auth.Auth.new, qiniu_sdk_base.BucketRegionsQuery, qiniu_sdk_base.BucketRegionsQuery.BucketRegionsQuery.new, qiniu_sdk_base.BucketRegionsQuery.create.
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:qiniu_sdk_base/qiniu_sdk_base.dartthat imports:package:qiniu_sdk_base/src/storage/storage.dartthat imports:package:qiniu_sdk_base/src/storage/resource/resource.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:qiniu_sdk_base/qiniu_sdk_base.dartthat imports:package:qiniu_sdk_base/src/storage/storage.dartthat imports:package:qiniu_sdk_base/src/storage/task/request_task.dartthat imports:package:qiniu_sdk_base/src/util/user_agent/user_agent.dartthat imports:package:qiniu_sdk_base/src/util/user_agent/user_agent/app.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: The constant name 'Http' isn't a lowerCamelCase identifier.
lib/src/storage/config/protocol.dart:3:17
╷
3 │ enum Protocol { Http, Https }
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/config/protocol.dart
INFO: The constant name 'Https' isn't a lowerCamelCase identifier.
lib/src/storage/config/protocol.dart:3:23
╷
3 │ enum Protocol { Http, Https }
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/config/protocol.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
dio |
^5.8.0+1 |
5.9.0 | 5.9.0 | |
meta |
^1.15.0 |
1.17.0 | 1.17.0 | |
mutex |
^3.1.0 |
3.1.0 | 3.1.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
platform_info |
^4.0.0 |
4.0.2 | 5.0.0 | |
singleflight |
^1.0.2 |
1.0.2 | 1.0.2 | |
version |
^3.0.2 |
3.0.2 | 3.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.0` on platform_info does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions platform_info 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.0, Dart 3.9.4.
Check the analysis log for details.