WC_Pagarme_API D

Total Complexity 147
Dependencies 2
Dependents 2
Total lines 957
Lines of code 562
Logical lines of code 326
Comment lines 218
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
generate_transaction_data()
C
33 27 85
do_refund()
A
42 14 52
process_order_status()
A
41 12 54
generate_checkout_data()
A
47 10 34
process_regular_payment()
A
45 9 41
get_installments()
A
46 8 38
cancel_transaction()
A
50 8 28
do_transaction()
A
50 8 28
get_customer_data_from_checkout_pay_page()
A
49 7 31
get_transaction_data()
S
52 7 24
save_order_meta_fields()
S
48 4 33
process_successful_ipn()
S
57 5 15
do_request()
S
52 4 24
check_fingerprint()
S
64 5 9
ipn_handler()
S
60 4 12
get_max_installment()
S
62 3 12
get_card_brand_name()
S
58 2 14
get_smallest_installment()
S
78 2 3
get_interest_rate()
S
80 1 3
get_api_url()
S
82 1 3
only_numbers()
S
79 1 3
using_supported_currency()
S
80 1 3
get_checkout_js_url()
S
82 1 3
get_js_url()
S
82 1 3
send_email()
S
74 1 4
__construct()
S
81 1 3