PRFI_Captain D

Total Complexity 364
Dependencies 4
Dependents 1
Total lines 2,058
Lines of code 1,883
Logical lines of code 1,086
Comment lines 61
Methods 115
Properties 0

Methods 115

Method Rating Maintainability Complexity Lines of code
save_request_as_posts()
A
43 13 49
prfi_get_fields_for_response()
A
44 13 45
get_objects_wc()
A
49 14 30
row_to_object()
A
47 11 35
add_object_properties_to_ghost()
A
54 11 19
save_object_as_order_item()
A
45 9 42
get_order_item_rows()
A
41 6 69
do_save_object_as_product()
A
49 7 32
permanize_child_ids()
S
61 8 12
wp_post_to_object()
S
50 7 26
get_polylang_language_to_limit_to()
S
52 7 25
datatype_and_keyval_to_id()
S
47 6 40
get_ord_rows()
S
39 3 84
get_prod_rows()
S
41 4 67
replace_keyval_with_id()
S
57 7 17
replace_id_with_keyval()
S
59 7 14
get_attribute_objects()
S
50 6 29
object_to_ghost()
S
52 6 24
unique_name_to_product_id()
S
45 4 49
datatype_and_id_to_keyval()
S
48 5 34
convert_attributes_to_properties()
S
56 6 16
remove_other_lang_products()
S
59 6 15
get_post_rows()
S
44 3 59
url_to_meta_query_args()
S
51 5 28
insert_post()
S
44 3 57
update_post_meta()
S
48 4 41
save_object_as_order()
S
52 5 25
save_object_as_product()
S
54 5 21
get_polylang_clauses()
S
56 5 17
permanize_reference_ids()
S
64 6 9
ghost_to_crux()
S
60 5 13
convert_other_lang_products()
S
61 5 12
get_objects()
S
54 4 20
trash_post()
S
56 4 17
save_ghost_as_post()
S
57 4 16
field_names_to_meta_joins()
S
57 4 16
wp_posts_to_objects()
S
60 4 14
insert_post_meta()
S
53 3 28
get_product_metakey_fields()
S
60 4 13
get_atum_order_item_rows()
S
48 2 41
check_not_duplicate()
S
54 3 24
update_objects()
S
56 3 18
unique_name_to_contents_of_trailing_brackets()
S
68 4 6
maybeCreateIntentionalError()
S
63 4 10
update_post()
S
51 2 30
metakey_row_to_object()
S
59 3 14
maybe_append_tryst()
S
60 3 14
field_names_to_cols()
S
61 3 12
id_to_product_unique_name()
S
62 3 11
get_atumProduct_rows()
S
55 2 22
prod_row_to_unique_name()
S
64 3 9
unique_name_to_id()
S
71 3 5
refresh_ghost_crux()
S
73 3 4
get_order_item_polylang_clauses()
S
59 2 15
unique_name_to_sku()
S
71 3 5
id_to_recursive_child_ids()
S
60 2 13
field_names_to_product_meta_joins()
S
61 2 12
get_tax_rate_rows()
S
58 1 22
get_atumSupplier_post_rows()
S
56 1 21
get_atumPO_post_rows()
S
57 1 20
get_productCategory_rows()
S
58 1 19
name_and_sku_to_product()
S
58 1 17
get_category_rows()
S
60 1 16
metakey_rows_to_objects()
S
66 2 9
ord_rows_to_objects()
S
66 2 9
atum_order_item_rows_to_objects()
S
66 2 9
tax_rate_rows_to_objects()
S
66 2 9
order_item_row_to_object()
S
65 2 9
order_item_rows_to_objects()
S
66 2 9
id_to_order_item_row()
S
72 2 5
polylang_installed()
S
79 2 3
prod_rows_to_objects()
S
66 2 9
ord_row_to_object()
S
65 2 9
id_to_order_item_obj()
S
74 2 4
strip_start()
S
69 2 6
url_to_fields()
S
71 2 5
get_id_requested()
S
66 2 8
url_to_ids()
S
71 2 5
rows_to_objects()
S
66 2 9
unique_name_to_name()
S
73 2 4
get_sessions_wc()
S
59 1 14
get_metakey_rows()
S
62 1 14
get_orders_wc()
S
71 1 6
get_two_years_ago()
S
78 1 3
url_to_id()
S
80 1 3
url_to_parent_id()
S
80 1 3
url_to_datatype()
S
80 1 3
url_to_source()
S
80 1 3
url_to_prop_val()
S
80 1 3
untrash_product()
S
67 1 8
is_permanent_id()
S
81 1 3
request_to_objects()
S
76 1 4
get_route()
S
67 1 8
get_route_args()
S
67 1 8
url_to_prop_name()
S
80 1 3
secure_dynamic_sql()
S
79 1 3
url_and_parm_name_to_value()
S
80 1 3
get_atumSuppliers_wc()
S
66 1 8
get_tax_rates_wc()
S
70 1 6
get_order_items_wc()
S
70 1 6
get_metakeys_wc()
S
71 1 6
get_attributes_wc()
S
74 1 5
get_atumProducts_wc()
S
66 1 8
get_productCategories_wc()
S
66 1 8
get_categories_wc()
S
66 1 8
prod_row_to_object()
S
73 1 5
get_atumPOLines_wc()
S
70 1 6
atumSupplier_row_to_object()
S
73 1 5
get_atumPOs_wc()
S
66 1 8
get_products_wc()
S
64 1 10
tax_rate_row_to_object()
S
80 1 3
get_routes()
S
65 1 9
atum_order_item_row_to_object()
S
80 1 3
get_modified_after()
S
75 1 4
register_routes()
S
79 1 3