cowpay 0.0.4 cowpay: ^0.0.4 copied to clipboard
Cowpay is a payment gateway package using for online payment.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://cowpay.me
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-2-Clause-Patent
.
0/10 points: 20% or more of the public API has dartdoc comments
372 out of 3339 API elements (11.1 %) 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: add_card_bloc
, add_card_bloc.AddCardBloc
, add_card_bloc.AddCardBloc.AddCardBloc
, add_card_bloc.AddCardBloc.generateSignatureUseCase
, add_card_bloc.AddCardBloc.getFees
.
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:cowpay/cowpay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:cowpay/cowpay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:cowpay/cowpay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:cowpay/cowpay.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:cowpay/cowpay.dart
that imports:package:cowpay/scr/cowpay.dart
that imports:package:cowpay/scr/di/injection_container.dart
that imports:package:cowpay/features/payment_methods/payment_methods.dart
that imports:package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/screens/payment_methods_screen.dart
that imports:package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/payment_options_extension.dart
that imports:package:cowpay/routers/routers.dart
that imports:package:cowpay/routers/src/card_payment_router.dart
that imports:package:cowpay/features/card_payment/card_payment.dart
that imports:package:cowpay/features/card_payment/src/card_payment_presentation/card_payment_ui/screens/webview_screen.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:cowpay/cowpay.dart
that imports:package:cowpay/scr/cowpay.dart
that imports:package:cowpay/scr/di/injection_container.dart
that imports:package:cowpay/features/payment_methods/payment_methods.dart
that imports:package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/screens/payment_methods_screen.dart
that imports:package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/payment_options_extension.dart
that imports:package:cowpay/routers/routers.dart
that imports:package:cowpay/routers/src/card_payment_router.dart
that imports:package:cowpay/features/card_payment/card_payment.dart
that imports:package:cowpay/features/card_payment/src/card_payment_presentation/card_payment_ui/screens/webview_screen.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cowpay/cowpay.dart
that imports:package:cowpay/scr/cowpay.dart
that imports:package:cowpay/scr/di/injection_container.dart
that imports:package:cowpay/payment_domain/payment_domain.dart
that imports:package:cowpay/payment_domain/src/payment_di/payment_di.dart
that imports:package:cowpay/payment_domain/src/payment_domain/payment_repositories/payment_repository.dart
that imports:package:cowpay/failures/failures.dart
that imports:package:cowpay/failures/src/failure/failure_handler.dart
that 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 47 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/ui_components/src/enums.dart:19:7
╷
19 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ui_components/src/enums.dart
WARNING: This default clause is covered by the previous cases.
lib/ui_components/src/enums.dart:34:7
╷
34 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ui_components/src/enums.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
auto_size_text |
^3.0.0 |
3.0.0 | 3.0.0 |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 |
dio |
^5.0.0 |
5.7.0 | 5.7.0 |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^8.1.2 |
8.1.6 | 8.1.6 |
flutter_screenutil |
^5.6.1 |
5.9.3 | 5.9.3 |
flutter_spinkit |
^5.2.0 |
5.2.1 | 5.2.1 |
flutter_svg |
^2.0.2 |
2.0.16 | 2.0.16 |
fluttertoast |
^8.2.2 |
8.2.10 | 8.2.10 |
get_it |
^7.2.0 |
7.7.0 | 8.0.3 |
jwt_decode |
^0.3.1 |
0.3.1 | 0.3.1 |
mask_text_input_formatter |
^2.5.0 |
2.9.0 | 2.9.0 |
pretty_dio_logger |
^1.3.1 |
1.4.0 | 1.4.0 |
webview_flutter |
^4.2.2 |
4.9.0 | 4.10.0 |
webview_flutter_android |
^3.9.2 |
3.16.9 | 4.2.0 |
webview_flutter_wkwebview |
^3.7.2 |
3.16.3 | 3.16.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
bloc |
- | 8.1.4 | 8.1.4 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.2 | 4.1.2 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.1 | 1.9.1 |
path_parsing |
- | 1.1.0 | 1.1.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
provider |
- | 6.1.2 | 6.1.2 |
sky_engine |
- | 0.0.0 | 0.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 |
vector_graphics |
- | 1.1.15 | 1.1.15 |
vector_graphics_codec |
- | 1.1.12 | 1.1.12 |
vector_graphics_compiler |
- | 1.1.16 | 1.1.16 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
to update the constraint.
The constraint `^3.9.2` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android
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 11 errors:
BODY_MIGHT_COMPLETE_NORMALLY
-lib/network/src/network.dart:29:13
- The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOrNON_TYPE_IN_CATCH_CLAUSE
-lib/network/src/network.dart:61:10
- The name 'DioException' isn't a type and can't be used in an on-catch clause.UNDEFINED_IDENTIFIER
-lib/network/src/network.dart:62:25
- Undefined name 'DioExceptionType'.
Run flutter pub downgrade
and then flutter 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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.