-
Home
-
WooPayments: Integrated WooCommerce Payments
-
7.5.3
-
Code
-
Classes
- WC_Payments_Express_Checkout_Button_Helper
Total Complexity |
66 |
Dependencies |
5 |
Dependents |
4 |
Total lines |
422 |
Lines of code |
235 |
Logical lines of code |
125 |
Comment lines |
122 |
Methods |
18 |
Properties |
2 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
build_display_items() |
B |
37 |
15 |
74 |
ajax_add_to_cart() |
A |
41 |
11 |
55 |
get_button_context() |
S |
61 |
5 |
15 |
get_product() |
S |
61 |
4 |
12 |
is_product_subscription() |
S |
73 |
3 |
5 |
is_available_at() |
S |
68 |
3 |
7 |
get_booking_id_from_cart() |
S |
66 |
3 |
8 |
ajax_empty_cart() |
S |
64 |
3 |
9 |
get_button_height() |
S |
65 |
3 |
10 |
get_quantity() |
S |
66 |
3 |
9 |
is_pay_for_order_page() |
S |
78 |
2 |
3 |
is_checkout() |
S |
79 |
2 |
3 |
is_cart() |
S |
79 |
2 |
3 |
is_product() |
S |
79 |
2 |
3 |
cart_prices_include_tax() |
S |
78 |
2 |
3 |
get_common_button_settings() |
S |
67 |
1 |
8 |
get_total_label() |
S |
74 |
1 |
4 |
__construct() |
S |
77 |
1 |
4 |