Hyperpay_main_class B

Total Complexity 82
Dependencies 3
Dependents 0
Total lines 976
Lines of code 522
Logical lines of code 269
Comment lines 253
Methods 24
Properties 17

Methods 24

Method Rating Maintainability Complexity Lines of code
failed()
A
46 10 35
init_form_fields()
A
36 4 95
prepareCheckout()
A
37 5 74
validate_form()
S
56 7 16
check_status()
S
59 7 12
receipt_page()
S
49 5 32
get_pages()
S
56 5 19
renderPaymentForm()
S
49 4 30
__construct()
S
46 3 36
success()
S
54 4 20
capture_payment()
S
48 3 32
set_icons()
S
59 4 13
order_received_text()
S
64 4 9
admin_script()
S
60 3 12
process_payment()
S
54 2 22
action_before_woocommerce_pay()
S
63 3 10
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_order_status()
S
69 1 7
queryTransactionReport()
S
67 1 7
setExtraData()
S
82 1 3
pending()
S
62 1 10