WC_Gateway_Valitor B

Total Complexity 88
Dependencies 3
Dependents 0
Total lines 622
Lines of code 496
Logical lines of code 263
Comment lines 82
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_valitor_args()
D
27
29 145
check_valitor_response()
B
38 15 64
init_form_fields()
A
35 2 106
generate_valitor_form()
S
44 5 46
get_discount()
S
63 7 10
get_translated_string()
S
57 4 17
__construct()
S
47 2 36
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
receipt_page()
S
71 2 5
currency_has_decimals()
S
70 2 6
fee_tax_display()
S
75 2 4
is_valid_for_use()
S
69 2 6
mismatched_totals()
S
76 2 3
round()
S
68 2 7
get_tax_discount()
S
75 1 4
get_held_duration()
S
75 1 4