WC_Iugu_API D

Total Complexity 302
Dependencies 11
Dependents 4
Total lines 1,390
Lines of code 1,024
Logical lines of code 627
Comment lines 419
Methods 47
Properties 4

Methods 47

Method Rating Maintainability Complexity Lines of code
addSplit()
D
30 49 81
process_payment()
D
26
37 150
get_invoice_data()
D
25
34 166
update_order_status()
B
38 16 70
create_charge()
A
46 12 36
create_customer()
A
44 10 43
get_charge_data()
A
48 10 31
get_max_installments()
A
53 10 23
get_cpf_cnpj()
A
54 10 20
notification_handler()
A
49 9 28
build_api_params()
A
53 9 22
refund_order()
A
52 9 21
create_customer_payment_method()
S
50 7 27
validation_customer_id()
S
51 7 26
get_customer_id()
S
54 7 22
get_invoice_by_id()
S
55 6 18
create_invoice()
S
56 5 16
get_phone_number()
S
58 4 16
do_request()
S
51 3 28
set_wc_payment_method()
S
55 3 19
is_a_company()
S
65 4 8
clearAllCreditCardsCurrentUser()
S
66 4 8
get_invoice_status()
S
61 3 11
get_billing_number()
S
66 3 9
send_email()
S
64 3 9
get_wc_request_url()
S
66 3 8
cancel_invoice()
S
64 2 9
empty_cart()
S
74 2 5
logger_identifier()
S
69 2 8
get_invoice_due_date()
S
67 2 7
create_iugu_webhook()
S
62 1 11
get_payment_methods()
S
79 1 3
only_alfa()
S
79 1 3
settings()
S
81 1 3
set_default_payment_method()
S
64 1 10
logger_add()
S
79 1 3
get_cents()
S
78 1 3
get_iugu_customer()
S
69 1 6
get_iugu_customer_payment_methods()
S
69 1 6
delete_customer_payment_method()
S
69 1 6
add_error()
S
80 1 3
only_numbers()
S
79 1 3
using_supported_currency()
S
80 1 3
get_js_url()
S
82 1 3
get_api_url()
S
82 1 3
__construct()
S
77 1 4
get_iugu_webhook()
S
69 1 6