Total Complexity | 42 |
Dependencies | 2 |
Dependents | 3 |
Total lines | 373 |
Lines of code | 162 |
Logical lines of code | 109 |
Comment lines | 134 |
Methods | 6 |
Properties | 11 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_to_cart() | 36 | 21 | 75 | |
calculate_totals() | 39 | 13 | 62 | |
calculate_extras() | 64 | 4 | 9 | |
calculate_fees() | 67 | 2 | 7 | |
__construct() | 74 | 1 | 5 | |
get_line_extras() | 74 | 1 | 4 |