WC_Billplz_Gateway D

Total Complexity 241
Dependencies 7
Dependents 6
Total lines 1,248
Lines of code 921
Logical lines of code 545
Comment lines 20
Methods 46
Properties 4

Methods 46

Method Rating Maintainability Complexity Lines of code
create_refund()
D
30 32 108
process_refund()
C
32 22 104
complete_refund_process()
A
41 14 52
check_response()
A
43 13 45
payment_fields()
A
47 12 33
process_payment()
A
37 9 76
verify_payment_order_collection_id()
A
45 11 38
verify_collection_id()
A
49 9 29
fetch_billplz_collection_payment_gateways()
A
51 8 26
verify_api_key()
S
52 6 25
fetch_billplz_payment_gateways()
S
54 6 19
check_keys_verification()
S
58 6 15
register_metaboxes()
S
59 6 12
add_custom_gateways()
S
58 5 16
validate_keys_presence()
S
62 5 12
reset_payment_order_collection_id()
S
59 5 12
validate_bill_payment()
S
59 5 12
__construct()
S
46 3 36
email_instructions()
S
70 5 5
can_refund_order()
S
69 5 7
refund_metabox()
S
63 5 10
get_order_description()
S
59 4 13
generate_payment_order_collection_id_html()
S
49 2 32
before_woocommerce_pay_form()
S
63 4 10
log()
S
68 3 8
validate_currencies()
S
65 3 8
is_valid_for_use()
S
65 3 10
add_error()
S
65 3 10
enqueue_scripts()
S
59 2 13
get_order_latest_refund()
S
61 2 13
get_order_data()
S
62 2 11
thankyou_page()
S
74 2 5
delete_previously_assoc_bill()
S
68 2 7
verify_keys_authenticity()
S
70 2 7
complete_payment_process()
S
62 2 10
validate_and_assign_reference_1()
S
66 2 8
display_errors()
S
68 2 8
init_error_messages()
S
62 1 11
woocommerce_add_action()
S
61 1 11
process_admin_options()
S
67 1 8
init_form_fields()
S
71 1 5
initialize_api_helper()
S
68 1 7
invalid_state_message()
S
77 1 3
key_missing_message()
S
77 1 3
load_icon()
S
71 1 5
show_refund_info()
S
80 1 3