Total Complexity | 40 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 319 |
Lines of code | 188 |
Logical lines of code | 101 |
Comment lines | 70 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
cancel_transaction() | 39 | 8 | 70 | |
single_masterpass_button() | 58 | 5 | 16 | |
single_variable_masterpass_button() | 61 | 4 | 13 | |
masterpass_button_cart_page() | 64 | 3 | 11 | |
masterpass_button_cart_widget() | 65 | 3 | 10 | |
check_mp_purchase_from_product_page() | 70 | 3 | 6 | |
check_mp_purchase_from_cart_page() | 70 | 3 | 6 | |
check_mp_purchase_from_cart_widget() | 70 | 3 | 6 | |
__construct() | 55 | 1 | 19 | |
enqueue_scripts() | 67 | 2 | 7 | |
get_read_more_url() | 63 | 2 | 10 | |
get_read_more_text() | 63 | 2 | 10 | |
get_icon_url() | 75 | 1 | 4 |