efipay_custom 1.0.1 copy "efipay_custom: ^1.0.1" to clipboard
efipay_custom: ^1.0.1 copied to clipboard

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

85/ 160
pub points
45
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: efipay_custom.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: efipay_custom,
    • contains a version property, and,
    • does not contain a publish_to property.

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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

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 4 API elements (25.0 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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_custom/efipay.dart that imports:
  • package:efipay_custom/src/efiPay.dart that imports:
  • package:efipay_custom/src/end_points.dart that imports:
  • package:efipay_custom/src/api_request.dart that imports:
  • package:efipay_custom/src/request.dart that imports:
  • dart:io
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 22 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

WARNING: Unused import: 'package:flutter/services.dart'.

lib/src/request.dart:7:8

  ╷
7 │ import 'package:flutter/services.dart' show rootBundle;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
dio any 5.9.2 5.9.2
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
async - 2.13.0 2.13.0
characters - 1.4.1 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.7 3.0.7
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
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
web - 1.1.1 1.1.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • INSTANTIATE_ABSTRACT_CLASS - lib/src/request.dart:115:30 - Abstract classes can't be instantiated.

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.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
85
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

dio, encrypt, flutter, pointycastle

More

Packages that depend on efipay_custom