WC_Gerencianet_Oficial_Gateway D

Total Complexity 221
Dependencies 9
Dependents 2
Total lines 2,075
Lines of code 1,578
Logical lines of code 769
Comment lines 236
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
generate_payment_page_options()
D
23
33 174
gerencianet_pay_billet()
C
25
24 170
gerencianet_pay_card()
B
30 14 129
admin_notices()
B
36 17 78
payment_fields()
B
29
12 135
init_form_fields()
A
25
1 259
__construct()
A
34 12 90
gerencianet_create_charge()
A
39 12 67
successful_request()
A
45 12 42
save_pix_cert_db()
A
45 9 43
process_refund()
A
43 8 49
process_payment()
A
45 8 43
gerencianet_get_installments()
A
46 7 37
process_payment_method()
A
48 7 35
calculateTotal()
S
48 6 36
save_pix_cert_dir()
S
54 6 21
is_available()
S
72 7 4
scripts()
S
53 2 23
generate_gn_thankyou_page()
S
48 1 33
admin_options()
S
53 1 23
generateRandomId()
S
63 2 10
woocommerce_instance()
S
68 2 8
validate_notification()
S
63 2 10
sandbox_active_message()
S
75 1 3
admin_url()
S
80 1 3
tls_incompatible()
S
66 1 8
payee_code_missing_message()
S
75 1 3
payment_option_missing_message()
S
75 1 3
credentials_missing_message()
S
75 1 3
on_update_options()
S
73 1 5
thankyou_page()
S
79 1 3
receipt_page()
S
80 1 3
using_supported_currency()
S
80 1 3
generate_gn_script()
S
77 1 4
gerencianet_validate_credentials()
S
74 1 4
add_error()
S
80 1 3
styles()
S
74 1 4
gn_price_format()
S
75 1 4
currency_not_supported_message()
S
76 1 3