-
Home
-
Route ‑ Shipping Protection
-
2.1.5
-
Code
-
Classes
- Routeapp_Admin_Route_Fee
Total Complexity |
50 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
208 |
Lines of code |
159 |
Logical lines of code |
101 |
Comment lines |
2 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
routeapp_handle_admin_fee() |
A |
49 |
8 |
30 |
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 |