Total Complexity | 66 |
Dependencies | 7 |
Dependents | 2 |
Total lines | 417 |
Lines of code | 258 |
Logical lines of code | 113 |
Comment lines | 97 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
scripts() | 46 | 8 | 43 | |
init() | 49 | 8 | 30 | |
filter_gateway_title() | 56 | 8 | 18 | |
localize_pay_for_order_page_scripts() | 45 | 6 | 44 | |
javascript_params() | 45 | 5 | 38 | |
add_order_meta() | 58 | 6 | 14 | |
display_express_checkout_button_separator_html() | 63 | 5 | 11 | |
display_express_checkout_button_html() | 59 | 4 | 18 | |
handle_express_checkout_redirect() | 60 | 4 | 12 | |
set_session() | 70 | 4 | 6 | |
get_login_redirect_url() | 66 | 3 | 8 | |
filter_cart_needs_shipping_address() | 70 | 3 | 6 | |
__construct() | 69 | 1 | 7 | |
instance() | 80 | 1 | 3 |