WC_Connect_Service_Schemas_Store A

Total Complexity 55
Dependencies 3
Dependents 10
Total lines 293
Lines of code 171
Logical lines of code 98
Comment lines 66
Methods 20
Properties 2

Methods 20

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 21
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
maybe_mark_as_legacy_site()
S
72 3 5
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