WC_MP_Shipping_Method C

Total Complexity 101
Dependencies 3
Dependents 6
Total lines 777
Lines of code 570
Logical lines of code 210
Comment lines 30
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
init()
D
20
25 292
calculate_shipping()
C
32 30 98
build_method_description()
A
42 11 52
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
service_title()
S
80 1 3
get_shipping_classes()
S
67 1 9