-
Home
-
Shiprocket
-
1.0.6
-
Code
-
Classes
- Shiprocket_Woocommerce_Shipping_Method
Total Complexity |
54 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
337 |
Lines of code |
204 |
Logical lines of code |
122 |
Comment lines |
73 |
Methods |
12 |
Properties |
10 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_shipping() |
A |
43 |
13 |
52 |
get_formatted_data() |
S |
48 |
7 |
30 |
prepare_rate() |
S |
49 |
7 |
30 |
init() |
S |
58 |
8 |
13 |
process_result() |
S |
58 |
6 |
16 |
get_rates_from_server() |
S |
52 |
3 |
24 |
shipping_method_discount() |
S |
73 |
3 |
5 |
debug() |
S |
73 |
2 |
5 |
add_found_rates() |
S |
73 |
2 |
5 |
shiprocket_update_shipping_charges() |
S |
75 |
1 |
11 |
__construct() |
S |
63 |
1 |
10 |
init_form_fields() |
S |
80 |
1 |
3 |