Total Complexity | 23 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 92 |
Lines of code | 72 |
Logical lines of code | 36 |
Comment lines | 11 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_cart_total() | 46 | 13 | 37 | |
maybe_load_cart() | 58 | 6 | 17 | |
get_cart_contents_count() | 69 | 2 | 7 | |
__construct() | 98 | 1 | 1 | |
menu_item() | 64 | 1 | 10 |