Hyperpay_main_class B

Total Complexity 87
Dependencies 3
Dependents 0
Total lines 1,012
Lines of code 536
Logical lines of code 259
Comment lines 264
Methods 24
Properties 16

Methods 24

Method Rating Maintainability Complexity Lines of code
process_payment()
B
32 13 109
failed()
A
47 9 33
init_form_fields()
A
35 4 100
receipt_page()
S
49 6 32
validate_form()
S
56 7 16
check_status()
S
59 7 12
get_pages()
S
56 5 19
renderPaymentForm()
S
49 4 30
__construct()
S
46 3 36
set_icons()
S
59 4 13
success()
S
55 3 18
order_received_text()
S
64 4 9
admin_script()
S
60 3 12
insert()
S
54 2 24
pending()
S
59 2 13
action_before_woocommerce_pay()
S
66 2 8
processQueryResult()
S
64 2 9
get_hyperpay_trans_mode()
S
68 1 8
get_hyperpay_trans_type()
S
70 1 7
isJson()
S
76 1 4
get_hyperpay_tokenization()
S
69 1 7
get_order_status()
S
69 1 7
queryTransactionReport()
S
67 1 7
setExtraData()
S
82 1 3