WC_Gateway_Valitor B

Total Complexity 95
Dependencies 4
Dependents 0
Total lines 698
Lines of code 541
Logical lines of code 284
Comment lines 105
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
get_valitor_args()
D
27
29 145
check_valitor_response()
B
36 15 79
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
47 2 36
log()
S
67 3 8
tax_display()
S
74 3 4
valitor_text_keys_to_translate()
S
68 3 7
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