WC_Gerencianet_Oficial_Gateway D

Total Complexity 192
Dependencies 3
Dependents 1
Total lines 1,763
Lines of code 1,304
Logical lines of code 630
Comment lines 208
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
generate_payment_page_options()
D
24
35 172
gerencianet_pay_billet()
D
25
27 178
gerencianet_pay_card()
B
29 17 136
payment_fields()
B
29 13 126
admin_notices()
B
36 16 78
process_payment()
A
40 12 67
gerencianet_create_charge()
A
39 12 67
__construct()
A
37 10 73
successful_request()
A
45 12 42
init_form_fields()
A
29
1 194
gerencianet_get_installments()
A
47 7 35
is_available()
S
72 7 4
scripts()
S
55 2 19
admin_options()
S
53 1 23
generate_gn_thankyou_page()
S
54 1 19
validate_notification()
S
63 2 10
woocommerce_instance()
S
68 2 8
tls_incompatible()
S
66 1 8
payee_code_missing_message()
S
75 1 3
payment_option_missing_message()
S
75 1 3
admin_url()
S
80 1 3
credentials_missing_message()
S
75 1 3
sandbox_active_message()
S
75 1 3
generate_gn_script()
S
77 1 4
thankyou_page()
S
79 1 3
receipt_page()
S
80 1 3
gerencianet_validate_credentials()
S
74 1 4
add_error()
S
80 1 3
styles()
S
77 1 3
gn_price_format()
S
75 1 4
using_supported_currency()
S
80 1 3
currency_not_supported_message()
S
76 1 3