Hyperpay_main_class B

Total Complexity 93
Dependencies 3
Dependents 0
Total lines 1,076
Lines of code 581
Logical lines of code 287
Comment lines 269
Methods 25
Properties 17

Methods 25

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
validate_form()
S
56 7 16
receipt_page()
S
49 6 31
check_status()
S
59 7 12
capture_payment()
S
45 4 42
get_pages()
S
56 5 19
renderPaymentForm()
S
49 4 30
__construct()
S
46 3 37
success()
S
54 4 20
set_icons()
S
59 4 13
order_received_text()
S
64 4 9
admin_script()
S
60 3 12
insert()
S
54 2 24
action_before_woocommerce_pay()
S
63 3 10
pending()
S
59 2 13
processQueryResult()
S
64 2 9
get_hyperpay_trans_mode()
S
68 1 8
get_hyperpay_trans_type()
S
72 1 6
queryTransactionReport()
S
67 1 7
get_hyperpay_tokenization()
S
69 1 7
get_order_status()
S
69 1 7
setExtraData()
S
82 1 3
isJson()
S
76 1 4