WC_Gerencianet_Oficial_Gateway D

Total Complexity 219
Dependencies 9
Dependents 2
Total lines 2,065
Lines of code 1,552
Logical lines of code 747
Comment lines 238
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
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 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
process_payment_method()
A
48 7 35
gerencianet_get_installments()
A
47 7 35
save_pix_cert_dir()
S
54 6 21
is_available()
S
72 7 4
calculatePixDiscount()
S
54 3 21
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
74 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