localization_bridge 1.2.0+1
localization_bridge: ^1.2.0+1 copied to clipboard
Convert localization json key to dart class, and generate localization json file from dart class.
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/XuQianInternational/localization_bridge was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
25 out of 211 API elements (11.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: localization_bridge, localization_bridge.ClassAndVariableVisitor.ClassAndVariableVisitor.new, localization_bridge.ClassAndVariableVisitor.codeStruct, localization_bridge.ClassAndVariableVisitor.visitAdjacentStrings, localization_bridge.ClassAndVariableVisitor.visitAnnotatedNode.
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:localization_bridge/localization_bridge.dartthat imports:package:localization_bridge/src/class_variable_visitor.dartthat imports:package:analyzer/dart/ast/visitor.dartthat imports:package:analyzer/dart/ast/ast.dartthat imports:package:analyzer/src/generated/source.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/error/listener.dartthat imports:package:analyzer/error/error.dartthat imports:package:analyzer/src/generated/parser.dartthat imports:package:analyzer/src/fasta/ast_builder.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/reference.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/dart/resolver/scope.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/dart/element/well_bounded.dartthat imports:package:analyzer/src/dart/element/type_algebra.dartthat imports:package:analyzer/src/summary2/record_type_builder.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/variance_builder.dartthat imports:package:analyzer/src/summary2/function_type_builder.dartthat imports:package:analyzer/src/dart/ast/extensions.dartthat imports:package:analyzer/src/dart/ast/ast.dartthat imports:package:analyzer/src/generated/resolver.dartthat imports:package:analyzer/src/generated/static_type_analyzer.dartthat imports:package:analyzer/src/dart/resolver/invocation_inference_helper.dartthat imports:package:analyzer/src/dart/resolver/invocation_inferrer.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/dart/analysis/session.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:analyzer/src/file_system/file_system.dartthat imports:package:analyzer/src/util/uri.dartthat imports:package:analyzer/src/summary/package_bundle_reader.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^4.1.0 |
4.7.0 | 10.0.1 | |
args |
^2.3.1 |
2.7.0 | 2.7.0 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
dart_style |
^2.2.3 |
2.2.4 | 3.1.4 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 47.0.0 | 93.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
meta |
- | 1.18.0 | 1.18.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.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 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.1.0` on analyzer does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^2.2.3` on dart_style does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions dart_style to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_GETTER-lib/src/class_variable_visitor.dart:29:28- The getter 'name2' isn't defined for the type 'ClassDeclaration'.UNDEFINED_GETTER-lib/src/class_variable_visitor.dart:46:41- The getter 'name2' isn't defined for the type 'VariableDeclaration'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.8, Dart 3.10.7.
Check the analysis log for details.