WC_Payments_WooPay_Button_Handler A

Total Complexity 58
Dependencies 11
Dependents 2
Total lines 388
Lines of code 190
Logical lines of code 103
Comment lines 127
Methods 11
Properties 7

Methods 11

Method Rating Maintainability Complexity Lines of code
should_show_woopay_button()
C
42 27 47
is_product_supported()
A
57 8 17
init()
S
52 5 23
has_allowed_items_in_cart()
S
62 5 12
show_error_notice()
S
56 3 18
scripts()
S
51 2 29
display_woopay_button_html()
S
56 2 20
is_woopay_enabled()
S
79 3 3
__construct()
S
71 1 6
add_woopay_config()
S
68 1 7
get_button_settings()
S
67 1 8