WC_Billplz_Gateway D

Total Complexity 237
Dependencies 7
Dependents 6
Total lines 1,307
Lines of code 935
Logical lines of code 549
Comment lines 25
Methods 47
Properties 17

Methods 47

Method Rating Maintainability Complexity Lines of code
create_refund()
C
31 30 103
process_refund()
B
32 21 99
check_response()
A
43 13 45
complete_refund_process()
A
43 12 48
process_payment()
A
37 9 76
verify_payment_order_collection_id()
A
45 11 38
delete_bill_on_order_cancelled()
A
44 9 45
verify_collection_id()
A
49 9 29
get_billplz_payment_options()
A
50 9 27
verify_api_key()
S
52 6 25
fetch_billplz_collection_payment_gateways()
S
55 6 19
check_keys_verification()
S
58 6 15
register_metaboxes()
S
60 6 11
reset_payment_order_collection_id()
S
59 5 12
validate_keys_presence()
S
62 5 12
validate_bill_payment()
S
59 5 12
__construct()
S
48 3 33
email_instructions()
S
70 5 5
fetch_billplz_payment_gateways()
S
58 4 15
refund_metabox()
S
64 5 9
can_refund_order()
S
69 5 7
get_order_description()
S
59 4 13
generate_payment_order_collection_id_html()
S
49 2 32
payment_fields()
S
59 3 15
before_woocommerce_pay_form()
S
63 4 10
enqueue_scripts()
S
58 3 13
is_valid_for_use()
S
65 3 10
log()
S
68 3 8
add_error()
S
65 3 10
validate_currencies()
S
65 3 8
get_order_latest_refund()
S
61 2 13
get_order_data()
S
62 2 11
complete_payment_process()
S
62 2 10
verify_keys_authenticity()
S
70 2 7
delete_previously_assoc_bill()
S
68 2 7
validate_and_assign_reference_1()
S
66 2 8
thankyou_page()
S
74 2 5
display_errors()
S
68 2 8
init_error_messages()
S
62 1 11
invalid_state_message()
S
77 1 3
load_icon()
S
71 1 5
woocommerce_add_action()
S
62 1 10
initialize_api_helper()
S
68 1 7
is_order_meta_box_screen()
S
64 1 10
init_form_fields()
S
71 1 5
key_missing_message()
S
77 1 3
process_admin_options()
S
67 1 8