yumeeting_app_upgrade 1.2.0
yumeeting_app_upgrade: ^1.2.0 copied to clipboard
App 升级功能
We analyzed this package 3 days 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
Homepage URL doesn't exist.
At the time of the analysis http://laomengit.com/plugin/upgrade.html was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:2:9
╷
2 │ <p>官网地址:<a href="http://laomengit.com/plugin/upgrade.html">http://laomengit.com/plugin/upgrade.html</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
`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.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
29 out of 48 API elements (60.4 %) have documentation comments.
Some symbols that are missing documentation: yumeeting_app_upgrade, yumeeting_app_upgrade.AppInfo, yumeeting_app_upgrade.AppInfo.AppInfo.new, yumeeting_app_upgrade.AppInfo.packageName, yumeeting_app_upgrade.AppInfo.versionCode.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:yumeeting_app_upgrade/yumeeting_app_upgrade.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:yumeeting_app_upgrade/yumeeting_app_upgrade.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:yumeeting_app_upgrade/yumeeting_app_upgrade.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:yumeeting_app_upgrade/yumeeting_app_upgrade.dartthat declares support for platforms:Android,iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/yumeeting_app_upgrade/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/app_upgrade.dart:70:26
╷
70 │ if (appUpgradeInfo != null && appUpgradeInfo.title != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app_upgrade.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/app_upgrade.dart:70:58
╷
70 │ if (appUpgradeInfo != null && appUpgradeInfo.title != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app_upgrade.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.9.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.