WC_Gateway_Dibs_MasterPass_Functions S

Total Complexity 40
Dependencies 1
Dependents 0
Total lines 319
Lines of code 188
Logical lines of code 101
Comment lines 70
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
cancel_transaction()
A
39 8 70
single_masterpass_button()
S
58 5 16
single_variable_masterpass_button()
S
61 4 13
masterpass_button_cart_page()
S
64 3 11
masterpass_button_cart_widget()
S
65 3 10
check_mp_purchase_from_product_page()
S
70 3 6
check_mp_purchase_from_cart_page()
S
70 3 6
check_mp_purchase_from_cart_widget()
S
70 3 6
__construct()
S
55 1 19
enqueue_scripts()
S
67 2 7
get_read_more_url()
S
63 2 10
get_read_more_text()
S
63 2 10
get_icon_url()
S
75 1 4