WPP_WC_Mellat_Gateway S

Total Complexity 34
Dependencies 2
Dependents 0
Total lines 458
Lines of code 353
Logical lines of code 128
Comment lines 21
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
get_ref_id_from_mellat()
A
40 6 63
verify()
S
46 5 42
verify_payment()
S
45 4 42
get_amount()
S
54 4 23
handle_gateway_response()
S
57 4 16
init_form_fields()
S
45 1 47
redirect_to_gateway()
S
55 2 27
process_payment()
S
52 2 26
get_error_message()
S
47 1 36
__construct()
S
55 1 18
get_icon()
S
72 2 4
get_class()
S
80 1 3
set_failed_payment()
S
70 1 6