-
Home
-
WooPayments: Integrated WooCommerce Payments
-
8.9.1
-
Code
-
Classes
- WC_Payments_WooPay_Button_Handler
Total Complexity |
61 |
Dependencies |
12 |
Dependents |
2 |
Total lines |
393 |
Lines of code |
196 |
Logical lines of code |
106 |
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 |
52 |
10 |
25 |
init() |
S |
51 |
6 |
25 |
has_allowed_items_in_cart() |
S |
62 |
5 |
12 |
show_error_notice() |
S |
56 |
3 |
18 |
scripts() |
S |
54 |
2 |
23 |
display_woopay_button_html() |
S |
56 |
2 |
20 |
is_woopay_enabled() |
S |
79 |
3 |
3 |
__construct() |
S |
71 |
1 |
6 |
add_woopay_config() |
S |
65 |
1 |
9 |
get_button_settings() |
S |
67 |
1 |
8 |