Total Complexity | 31 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 130 |
Lines of code | 97 |
Logical lines of code | 61 |
Comment lines | 1 |
Methods | 7 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_price() | 47 | 10 | 35 | |
before_calculate_totals() | 52 | 10 | 22 | |
is_enable() | 57 | 5 | 17 | |
instance() | 72 | 2 | 6 | |
cart_item_price() | 65 | 2 | 9 | |
__construct() | 71 | 1 | 5 | |
mini_cart_contents() | 82 | 1 | 3 |