PRFI_Captain D

Total Complexity 585
Dependencies 7
Dependents 1
Total lines 2,890
Lines of code 2,660
Logical lines of code 1,646
Comment lines 82
Methods 153
Properties 0

Methods 153

Method Rating Maintainability Complexity Lines of code
save_object_as_order()
D
36 35 64
save_request_as_posts()
B
40 20 63
row_to_object()
B
44 17 42
save_object_as_order_item()
B
41 16 52
update_product_meta_from_inventory_obj()
A
46 16 35
get_objects_wc()
A
47 16 34
prfi_get_fields_for_response()
A
44 13 45
add_object_properties_to_ghost()
A
51 14 24
crit_to_condition()
A
43 12 45
object_to_ghost()
A
46 12 36
update_post_meta()
A
40 10 63
get_objects()
A
44 11 46
do_save_object_as_product()
A
46 10 38
get_order_item_rows()
A
41 7 68
convert_attributes_to_properties()
A
54 8 18
get_ord_rows()
S
38 3 89
permanize_child_ids()
S
61 8 12
wp_post_to_object()
S
50 7 26
datatype_and_keyval_to_id()
S
47 6 40
get_prod_rows()
S
41 4 68
wp_posts_to_objects()
S
55 7 20
create_file()
S
55 7 19
replace_keyval_with_id()
S
57 7 17
replace_id_with_keyval()
S
59 7 14
get_attribute_objects()
S
50 6 29
send_email()
S
51 6 24
get_post_rows()
S
42 3 67
field_names_to_meta_joins()
S
54 6 21
unique_name_to_product_id()
S
45 4 49
datatype_and_id_to_keyval()
S
48 5 34
field_names_to_cols()
S
54 6 19
echo_post_image()
S
56 6 18
set_product_wc_attributes()
S
63 7 9
set_order_wc_metas()
S
63 7 9
set_product_wc_metas()
S
63 7 9
url_to_meta_query_args()
S
51 5 28
insert_post()
S
44 3 57
save_object_as_product()
S
54 5 21
get_user_rows()
S
42 2 62
get_polylang_clauses()
S
56 5 17
attachment_id_to_file_name()
S
58 5 15
permanize_reference_ids()
S
64 6 9
ghost_to_crux()
S
60 5 13
convert_other_lang_products()
S
61 5 12
update_objects()
S
53 4 23
get_order_item_meta_clauses()
S
45 2 51
set_wc_product_attribute()
S
56 4 19
trash_post()
S
56 4 17
find_objects()
S
47 2 47
save_ghost_as_post()
S
56 4 17
check_not_duplicate()
S
51 3 29
get_user_metakey_fields()
S
60 4 13
get_product_metakey_fields()
S
60 4 13
insert_post_meta()
S
53 3 28
get_order_metakey_fields()
S
60 4 13
maybe_add_shipping_line()
S
61 4 12
get_atum_order_item_rows()
S
48 2 41
maybe_add_fees_line()
S
62 4 11
maybeCreateIntentionalError()
S
63 4 10
unique_name_to_contents_of_trailing_brackets()
S
68 4 6
update_post()
S
51 2 30
echo_download()
S
57 3 15
maybe_append_tryst()
S
60 3 14
metakey_row_to_object()
S
59 3 14
mkdir()
S
60 3 13
field_names_to_user_meta_joins()
S
59 3 13
add_canon_rows()
S
60 3 12
bundle_to_product()
S
63 3 11
attr_name_to_taxonomy_values()
S
53 2 26
or_clauses_to_condition()
S
63 3 11
get_subset_condition()
S
62 3 11
id_to_product_unique_name()
S
62 3 11
get_atumProduct_rows()
S
55 2 22
get_sessions_wc()
S
56 2 17
get_order_item_polylang_clauses()
S
59 2 15
unique_name_to_sku()
S
71 3 5
refresh_ghost_crux()
S
73 3 4
file_name_is_text_or_csv()
S
64 3 9
unique_name_to_id()
S
71 3 5
prod_row_to_unique_name()
S
64 3 9
id_to_recursive_child_ids()
S
60 2 13
canon_row_to_object()
S
62 2 12
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
order_item_row_to_object()
S
65 2 9
prod_rows_to_objects()
S
66 2 9
id_to_order_item_obj()
S
74 2 4
id_to_order_item_row()
S
72 2 5
order_item_rows_to_objects()
S
66 2 9
tax_rate_rows_to_objects()
S
66 2 9
atum_order_item_rows_to_objects()
S
66 2 9
ord_rows_to_objects()
S
66 2 9
user_rows_to_objects()
S
66 2 9
metakey_rows_to_objects()
S
66 2 9
canon_rows_to_objects()
S
66 2 9
ord_row_to_object()
S
65 2 9
strip_start()
S
69 2 6
decorate_bundles()
S
68 2 8
rows_to_objects()
S
66 2 9
get_id_requested()
S
66 2 8
get_attachments_path()
S
72 2 5
url_to_fields()
S
71 2 5
unique_name_to_name()
S
73 2 4
url_to_ids()
S
71 2 5
decorate_bundle()
S
70 2 6
get_metakey_rows()
S
62 1 14
url_and_parm_name_to_value()
S
80 1 3
url_to_prop_val()
S
80 1 3
url_to_prop_name()
S
80 1 3
get_canon_rows()
S
71 1 6
url_to_id()
S
80 1 3
get_orders_wc()
S
71 1 6
get_two_years_ago()
S
78 1 3
url_to_parent_id()
S
80 1 3
url_to_datatype()
S
80 1 3
set_order_wc_fields()
S
80 1 3
untrash_product()
S
67 1 8
set_product_wc_fields()
S
76 1 4
is_permanent_id()
S
81 1 3
request_to_objects()
S
76 1 4
copy_url_to_temp_file()
S
68 1 7
get_route()
S
67 1 8
get_route_args()
S
67 1 8
url_to_source()
S
80 1 3
echo_empty_image()
S
73 1 5
get_atumPOLines_wc()
S
70 1 6
get_atumSuppliers_wc()
S
66 1 8
get_tax_rates_wc()
S
70 1 6
get_order_items_wc()
S
70 1 6
get_users_wc()
S
71 1 6
get_canons_wc()
S
71 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
get_atumPOs_wc()
S
66 1 8
echo_wc_stock_level()
S
70 1 6
prod_row_to_object()
S
73 1 5
atumSupplier_row_to_object()
S
73 1 5
get_products_wc()
S
64 1 10
get_routes()
S
65 1 9
get_modified_after()
S
75 1 4
user_row_to_object()
S
76 1 4
secure_dynamic_sql()
S
79 1 3
tax_rate_row_to_object()
S
80 1 3
atum_order_item_row_to_object()
S
80 1 3
register_routes()
S
79 1 3