Total Complexity | 57 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 225 |
Lines of code | 178 |
Logical lines of code | 112 |
Comment lines | 0 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
routeapp_route_is_subtotal_allowed() | 51 | 10 | 28 | |
routeapp_handle_admin_fee() | 54 | 5 | 21 | |
routeapp_create_fee() | 54 | 5 | 21 | |
routeapp_add_admin_fee() | 58 | 5 | 15 | |
routeapp_remove_admin_fee() | 60 | 5 | 13 | |
routeapp_custom_admin_button() | 60 | 5 | 12 | |
get_route_fees() | 61 | 4 | 13 | |
get_quote_from_api() | 61 | 3 | 12 | |
routeapp_remove_route_fee() | 64 | 3 | 10 | |
can_add_fee() | 77 | 3 | 3 | |
has_route_fee_applied() | 68 | 3 | 7 | |
__construct() | 72 | 2 | 6 | |
recalculate_route_fee() | 71 | 2 | 6 | |
init() | 68 | 1 | 7 | |
get_route_public_instance() | 77 | 1 | 4 |