efipay 1.0.6 copy "efipay: ^1.0.6" to clipboard
efipay: ^1.0.6 copied to clipboard

A dart library for integration with payment services provided by Efi.

110/ 160
pub points
277
downloads

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 2 links are insecure.

README.md:9:29

  ╷
9 │ Para mais informações sobre <a href="http://sejaefi.com.br/api">parâmetros</a> e <a href="http://sejaefi.com.br/tarifas">valores/tarifas</a> consulte nosso site.</p>
  │                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1 out of 5 API elements (20.0 %) have documentation comments.

Some symbols that are missing documentation: EfiPay, EfiPay.EfiPay.EfiPay.new, EfiPay.EfiPay.call, EfiPay.EfiPay.isMobileDevice.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:efipay/efipay.dart that imports:
  • package:efipay/src/efiPay.dart that imports:
  • package:efipay/src/end_points.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:efipay/efipay.dart that imports:
  • package:efipay/src/efiPay.dart that imports:
  • package:efipay/src/end_points.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 27 issues. Showing the first 2:

WARNING: The value of the field '_pixCert' isn't used.

lib/src/auth.dart:15:10

   ╷
15 │   String _pixCert = '';
   │          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/api_request.dart:29:9

   ╷
29 │         await this._auth?.authorize();
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_request.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
encrypt ^5.0.0 5.0.3 5.0.3
pointycastle ^3.2.0 3.9.1 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
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 `^3.2.0` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
110
points
277
downloads

Publisher

verified publisherefipay.com.br

Weekly Downloads

A dart library for integration with payment services provided by Efi.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

encrypt, flutter, pointycastle

More

Packages that depend on efipay