WC_MP_Shipping_Method C

Total Complexity 118
Dependencies 4
Dependents 6
Total lines 936
Lines of code 671
Logical lines of code 244
Comment lines 47
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
init()
D
18
28 321
calculate_shipping()
C
32 28 100
build_method_description()
A
40 13 59
free_shipping_check()
A
54 8 21
check_if_has_forbidden_categories()
S
52 7 25
fee()
S
54 6 22
check_if_has_forbidden_products()
S
56 6 18
courier_name()
S
59 5 15
find_shipping_classes_for_package()
S
61 4 13
get_package_item_qty()
S
64 4 9
evaluate_cost()
S
52 2 25
__construct()
S
58 1 16
convert_minutes_to_time()
S
66 2 8
get_option()
S
68 2 7
service_title()
S
80 1 3
get_shipping_classes()
S
67 1 9