WC_Connect_Compatibility_WCShipping_Packages S

Total Complexity 29
Dependencies 2
Dependents 1
Total lines 347
Lines of code 117
Logical lines of code 62
Comment lines 165
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
maybe_enable()
S
64 3 10
intercept_packages_read()
S
67 3 7
intercept_predefined_packages_read()
S
68 3 7
rename_keys()
S
65 3 9
map_is_letter_to_type()
S
68 3 7
map_packages_to_wcservices_format()
S
61 2 13
map_packages_to_wcshipping_format()
S
61 2 13
intercept_packages_update()
S
62 2 11
intercept_predefined_packages_update()
S
63 2 11
map_type_to_is_letter()
S
68 2 7
register_rest_controller_hooks()
S
79 1 3
register_option_overwriting_hooks()
S
69 1 6
register_wcshipping_compatibility_rest_controller()
S
65 1 10
unset_unused_keys()
S
78 1 3