WC_Gateway_Borgun C

Total Complexity 104
Dependencies 2
Dependents 0
Total lines 654
Lines of code 542
Logical lines of code 269
Comment lines 62
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
check_borgun_response()
C
33 28 90
get_borgun_args()
B
33 19 90
checkout_payment_handler()
A
48 12 32
generate_borgun_form()
S
44 6 44
init_form_fields()
S
35 1 103
receipt_page()
S
59 6 13
get_translated_string()
S
54 5 22
__construct()
S
48 2 32
cancel_response_process()
S
60 3 14
is_valid_for_use()
S
57 2 19
tax_display()
S
74 3 4
borgun_text_keys_to_translate()
S
68 3 7
process_payment()
S
63 2 11
admin_options()
S
64 2 11
round()
S
68 2 7
currency_has_decimals()
S
70 2 6
fee_tax_display()
S
75 2 4
check_hash()
S
57 1 15
error_response_process()
S
70 2 7
check_order_hash()
S
61 1 11