Total Complexity | 35 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 153 |
Lines of code | 105 |
Logical lines of code | 66 |
Comment lines | 15 |
Methods | 10 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
setup_single_product_quick_buy() | 52 | 10 | 24 | |
setup_shop_loop_quick_buy() | 58 | 6 | 16 | |
add_shop_quick_buy_button() | 64 | 4 | 9 | |
get_product_addtocartLink() | 62 | 3 | 12 | |
showOnProduct() | 71 | 3 | 5 | |
showOnArchive() | 71 | 3 | 5 | |
add_quick_buy_button() | 64 | 2 | 9 | |
get_redirect_url() | 65 | 2 | 10 | |
__construct() | 62 | 1 | 12 | |
buttonHtml() | 78 | 1 | 3 |