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