WC_Gateway_Valitor C

Total Complexity 101
Dependencies 4
Dependents 0
Total lines 738
Lines of code 565
Logical lines of code 299
Comment lines 115
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
get_valitor_args()
D
27
29 145
check_valitor_response()
B
34 17 90
init_form_fields()
A
35 2 106
generate_valitor_form()
S
42 5 52
get_discount()
S
63 7 10
get_translated_string()
S
57 4 17
secure_posted()
S
57 4 16
__construct()
S
46 2 37
log()
S
67 3 8
valitor_text_keys_to_translate()
S
68 3 7
tax_display()
S
74 3 4
process_payment()
S
63 2 11
admin_options()
S
64 2 11
currency_has_decimals()
S
70 2 6
round()
S
68 2 7
fee_tax_display()
S
75 2 4
receipt_page()
S
71 2 5
mismatched_totals()
S
76 2 3
maybe_wrong_held_duration()
S
72 2 5
is_valid_for_use()
S
69 2 6
get_tax_discount()
S
75 1 4
get_held_duration()
S
74 1 4
default_held_duration()
S
76 1 4
valitor_held_duration_notice()
S
79 1 3