WC_MP_Shipping_Method B

Total Complexity 89
Dependencies 3
Dependents 6
Total lines 706
Lines of code 512
Logical lines of code 191
Comment lines 30
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
init()
D
21
22 259
calculate_shipping()
B
36 22 73
build_method_description()
A
42 11 52
check_if_has_forbidden_categories()
S
52 7 25
free_shipping_check()
S
54 7 21
check_if_has_forbidden_products()
S
56 6 18
courier_name()
S
59 5 15
find_shipping_classes_for_package()
S
61 4 13
__construct()
S
58 1 16
convert_minutes_to_time()
S
66 2 8
service_title()
S
80 1 3
get_shipping_classes()
S
67 1 9