WC_MP_Shipping_Method C

Total Complexity 106
Dependencies 3
Dependents 6
Total lines 841
Lines of code 606
Logical lines of code 218
Comment lines 37
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
init()
D
18
28 319
calculate_shipping()
C
33 28 93
build_method_description()
A
40 13 59
free_shipping_check()
A
54 8 21
check_if_has_forbidden_categories()
S
52 7 25
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
get_option()
S
68 2 7
service_title()
S
80 1 3
get_shipping_classes()
S
67 1 9