data_repository_generator 0.0.3+2
data_repository_generator: ^0.0.3+2 copied to clipboard
retrofit generator is an dio client generator using source_gen and inspired by Chopper and Retrofit.
We analyzed this package 2 days ago, and awarded it 95 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: data_repository_generator.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: data_repository_generator, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:1:8
╷
1 │ <p>See <a href="http://mings.in/retrofit.dart/">retrofit.dart</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 4 API elements (0.0 %) 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: generator, generator.dataSourceBuilder, generator.entitiesBuilder, generator.retrofitBuilder.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
SDK issues found:
Package is not compatible with the Dart SDK.
Because:
data_repository_generatorthat depends on:developer_supportthat is a package requiring flutter.
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:data_repository_generator/generator.dartthat imports:package:data_repository_generator/src/remote/retrofit/clone/retrofit_generator.dartthat imports:package:source_gen/source_gen.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:data_repository_generator/generator.dartthat imports:package:data_repository_generator/src/remote/retrofit/clone/retrofit_generator.dartthat imports:package:source_gen/source_gen.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform Web
Because:
package:data_repository_generator/generator.dartthat imports:package:data_repository_generator/src/remote/retrofit/clone/retrofit_generator.dartthat imports:package:source_gen/source_gen.dartthat imports:package:source_gen/src/utils.dartthat imports:package:build/build.dartthat imports:package:build/src/generate/run_post_process_builder.dartthat imports:package:build/src/builder/post_process_builder.dartthat imports:package:build/src/builder/builder.dartthat imports:package:build/src/builder/build_step.dartthat imports:package:build/src/asset/reader.dartthat imports:package:glob/glob.dartthat imports:package:glob/src/list_tree.dartthat imports:package:file/file.dartthat imports:package:file/src/interface.dartthat imports:package:file/src/io.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 99 issues. Showing the first 2:
WARNING: Unused import: 'package:analyzer/dart/element/element.dart'.
lib/src/data_repository/clone/data_source_generator.dart:1:8
╷
1 │ import 'package:analyzer/dart/element/element.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data_repository/clone/data_source_generator.dart
WARNING: Unused import: 'package:code_builder/code_builder.dart'.
lib/src/data_repository/clone/data_source_generator.dart:2:8
╷
2 │ import 'package:code_builder/code_builder.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data_repository/clone/data_source_generator.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
>=4.7.0 <6.0.0 |
5.13.0 | 10.0.2 | |
build |
^2.3.1 |
2.4.1 | 4.0.4 | |
build_config |
^1.0.0 |
1.2.0 | 1.2.0 | |
built_collection |
^5.1.1 |
5.1.1 | 5.1.1 | |
code_builder |
^4.3.0 |
4.11.1 | 4.11.1 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
dart_style |
^2.2.4 |
2.3.2 | 3.1.5 | |
data_repositories |
^0.0.3+1 |
0.0.3+3 | 0.0.3+3 | |
developer_support |
^0.0.2+5 |
0.0.2+5 | 0.0.2+9 | |
dio |
^4.0.6 |
4.0.6 | 5.9.1 | |
meta |
any |
1.17.0 | 1.18.1 | |
path |
any |
1.9.1 | 1.9.1 | |
source_gen |
^1.2.5 |
1.5.0 | 4.2.0 | |
stack_trace |
any |
1.12.1 | 1.12.1 | |
strings |
^0.2.1 |
0.2.2 | 4.0.1 | |
tuple |
^2.0.0 |
2.0.2 | 2.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 94.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
built_value |
- | 8.12.3 | 8.12.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
deep_collection |
- | 1.0.2 | 1.0.2 | |
effective_dart |
- | 1.3.2 | 1.3.2 | Discontinued |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
json_annotation |
- | 4.10.0 | 4.10.0 | |
lists |
- | 1.0.1 | 1.0.1 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
responsive_framework |
- | 1.0.0 | 1.5.1 | |
ripple_wave |
- | 0.0.2 | 0.1.5 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_common_ffi |
- | 2.4.0+2 | 2.4.0+2 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
sqlite3 |
- | 3.1.5 | 3.1.5 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 0.3.1 | 1.1.9 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `>=4.7.0 <6.0.0` on analyzer does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^2.3.1` on build does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions build 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.