WC_Connect_Service_Schemas_Store S

Total Complexity 43
Dependencies 3
Dependents 7
Total lines 245
Lines of code 143
Logical lines of code 83
Comment lines 53
Methods 15
Properties 2

Methods 15

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