WC_Gerencianet_Oficial_Gateway D

Total Complexity 210
Dependencies 4
Dependents 2
Total lines 1,989
Lines of code 1,490
Logical lines of code 699
Comment lines 235
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
generate_payment_page_options()
D
23
35 180
gerencianet_pay_billet()
C
26
24 164
payment_fields()
B
28
13 139
admin_notices()
B
36 17 78
gerencianet_pay_card()
B
31 14 122
init_form_fields()
A
25
1 259
__construct()
A
34 12 88
gerencianet_create_charge()
A
39 12 67
successful_request()
A
45 12 42
process_payment()
A
45 8 43
save_pix_cert_db()
A
45 8 41
gerencianet_get_installments()
A
47 7 35
process_payment_method()
A
48 7 35
save_pix_cert_dir()
S
54 6 21
is_available()
S
72 7 4
calculatePixDiscount()
S
54 3 21
scripts()
S
55 2 19
generate_gn_thankyou_page()
S
48 1 33
admin_options()
S
53 1 23
validate_notification()
S
63 2 10
woocommerce_instance()
S
68 2 8
gerencianet_validate_credentials()
S
74 1 4
credentials_missing_message()
S
75 1 3
payment_option_missing_message()
S
75 1 3
payee_code_missing_message()
S
75 1 3
tls_incompatible()
S
66 1 8
sandbox_active_message()
S
75 1 3
admin_url()
S
80 1 3
thankyou_page()
S
79 1 3
add_error()
S
80 1 3
receipt_page()
S
80 1 3
styles()
S
77 1 3
gn_price_format()
S
75 1 4
using_supported_currency()
S
80 1 3
generate_gn_script()
S
77 1 4
on_update_options()
S
74 1 5
currency_not_supported_message()
S
76 1 3