WC_Connect_Service_Schemas_Store A

Total Complexity 52
Dependencies 3
Dependents 10
Total lines 286
Lines of code 165
Logical lines of code 95
Comment lines 66
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
get_all_service_ids_of_type()
S
59 6 14
get_all_shipping_method_ids()
S
59 6 14
fetch_service_schemas_from_connect_server()
S
55 4 20
maybe_update_heartbeat()
S
57 4 18
get_predefined_packages_schema()
S
60 4 14
get_service_schema_by_method_id()
S
60 4 13
get_service_schema_by_id()
S
60 4 13
is_wcship_wctax_migration_enabled()
S
73 4 4
get_packages_schema()
S
68 3 7
get_service_schema_by_id_or_instance_id()
S
66 3 9
get_wcship_wctax_upgrade_banner()
S
69 2 7
update_last_fetch_result_code()
S
80 1 3
get_last_fetch_result_code()
S
80 1 3
get_service_schema_by_instance_id()
S
65 1 10
update_last_fetch_timestamp()
S
80 1 3
get_last_fetch_timestamp()
S
79 1 3
update_service_schemas()
S
79 1 3
get_service_schemas()
S
79 1 3
__construct()
S
77 1 4