WC_Gerencianet_Oficial_Gateway D

Total Complexity 220
Dependencies 9
Dependents 2
Total lines 2,034
Lines of code 1,534
Logical lines of code 762
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
27
22 156
gerencianet_pay_card()
B
30 14 129
admin_notices()
B
36 17 78
payment_fields()
B
29
12 135
__construct()
A
35 12 86
gerencianet_create_charge()
A
39 12 67
init_form_fields()
A
27
1 229
successful_request()
A
43 13 46
save_pix_cert_db()
A
45 9 43
process_refund()
A
42 8 50
process_payment()
A
45 8 43
gerencianet_get_installments()
A
46 7 37
process_payment_method()
A
48 7 35
calculateTotal()
S
47 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
49 1 32
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
generate_gn_script()
S
77 1 4
thankyou_page()
S
79 1 3
receipt_page()
S
80 1 3
on_update_options()
S
73 1 5
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
using_supported_currency()
S
80 1 3
currency_not_supported_message()
S
76 1 3