Routeapp_Admin_Route_Fee A

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

Methods 15

Method Rating Maintainability Complexity Lines of code
routeapp_route_is_subtotal_allowed()
A
51 10 28
routeapp_handle_admin_fee()
S
54 5 21
routeapp_create_fee()
S
54 5 21
routeapp_add_admin_fee()
S
58 5 15
routeapp_remove_admin_fee()
S
60 5 13
routeapp_custom_admin_button()
S
60 5 12
get_route_fees()
S
61 4 13
get_quote_from_api()
S
61 3 12
routeapp_remove_route_fee()
S
64 3 10
can_add_fee()
S
77 3 3
has_route_fee_applied()
S
68 3 7
__construct()
S
72 2 6
recalculate_route_fee()
S
71 2 6
init()
S
68 1 7
get_route_public_instance()
S
77 1 4