WC_Billplz_Gateway D

Total Complexity 127
Dependencies 4
Dependents 4
Total lines 670
Lines of code 517
Logical lines of code 299
Comment lines 2
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
check_response()
A
44 12 42
payment_fields()
A
47 12 33
process_payment()
A
39 7 68
verify_api_key()
A
49 9 32
fetch_billplz_collection_payment_gateways()
A
51 8 26
verify_collection_id()
S
53 6 24
fetch_billplz_payment_gateways()
S
54 6 19
validate_keys_presence()
S
53 4 28
validate_bill_payment()
S
59 5 12
__construct()
S
48 3 32
email_instructions()
S
70 5 5
add_custom_gateways()
S
61 4 13
get_order_description()
S
60 4 12
check_keys_verification()
S
58 3 16
is_valid_for_use()
S
68 4 7
log()
S
68 3 8
get_customer_first_name()
S
64 3 10
get_customer_last_name()
S
64 3 10
validate_currencies_presence()
S
63 2 11
validate_and_assign_reference_1()
S
66 2 8
complete_payment_process()
S
62 2 10
thankyou_page()
S
74 2 5
verify_keys_authenticity()
S
72 2 6
delete_previously_assoc_bill()
S
68 2 7
get_order_data()
S
61 1 12
process_admin_options()
S
72 1 6
collection_id_invalid_state_message()
S
81 1 3
load_icon()
S
71 1 5
api_key_missing_message()
S
81 1 3
woocommerce_add_action()
S
67 1 7
initialize_api_helper()
S
68 1 7
collection_id_missing_message()
S
81 1 3
api_key_invalid_state_message()
S
81 1 3
init_form_fields()
S
79 1 3
unsupported_currency_notice()
S
69 1 6
key_missing_message()
S
68 1 6
xsignature_key_missing_message()
S
81 1 3
invalid_state_message()
S
68 1 6