WC_Payments_Express_Checkout_Button_Handler C

Total Complexity 101
Dependencies 18
Dependents 2
Total lines 534
Lines of code 308
Logical lines of code 142
Comment lines 156
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
should_show_express_checkout_button()
B
45 24 40
get_product_data()
A
38 14 66
get_product_price()
A
45 15 40
is_product_supported()
A
51 16 23
has_allowed_items_in_cart()
A
51 14 22
scripts()
S
41 4 55
init()
S
59 5 15
get_taxes_like_cart()
S
66 3 8
supported_product_types()
S
59 1 17
get_button_settings()
S
63 2 9
display_express_checkout_button_html()
S
70 2 8
__construct()
S
74 1 5