PRFI_Captain D

Total Complexity 788
Dependencies 7
Dependents 1
Total lines 3,564
Lines of code 3,299
Logical lines of code 2,095
Comment lines 94
Methods 180
Properties 0

Methods 180

Method Rating Maintainability Complexity Lines of code
save_object_as_order_item()
D
24
48 153
save_object_as_order()
D
33 41 71
save_obj_as_post()
B
39 23 65
update_product_meta_from_inventory_obj()
B
42 20 45
row_to_object()
B
43 20 43
update_post_meta()
B
39 15 67
set_user_wc_metas()
A
50 17 24
get_objects_wc()
A
47 16 34
update_product_order_item()
A
48 16 31
add_object_properties_to_ghost()
A
50 16 25
prfi_get_fields_for_response()
A
44 13 45
get_objects()
A
43 12 48
crit_to_condition()
A
43 12 45
object_to_ghost()
A
46 12 36
do_save_object_as_product()
A
45 11 41
wp_posts_to_objects()
A
51 10 26
get_order_item_rows()
A
41 7 68
permanize_child_ids()
A
56 10 17
field_names_to_cols()
A
49 9 28
get_user_rows()
A
38 5 83
check_stock_quantity_unchanged()
A
55 9 19
permanize_reference_ids()
A
56 9 17
save_request_as_posts()
A
49 8 32
need_to_update_product_order_item()
A
58 9 16
update_fee_order_item()
A
52 8 26
replace_keyval_with_id()
A
56 8 18
update_objects()
A
48 7 33
convert_attributes_to_properties()
A
54 8 18
save_object_as_user()
S
49 7 30
get_ord_rows()
S
38 3 89
wp_post_to_object()
S
50 7 26
datatype_and_keyval_to_id()
S
47 6 40
get_prod_rows()
S
41 4 68
create_file()
S
55 7 19
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
update_shipping_order_item()
S
56 6 20
unique_name_to_product_id()
S
45 4 49
datatype_and_id_to_keyval()
S
48 5 34
need_to_update_fee_order_item()
S
57 6 19
echo_post_image()
S
56 6 18
set_order_wc_metas()
S
63 7 9
ghost_to_crux()
S
58 6 15
set_product_wc_attributes()
S
63 7 9
set_product_wc_metas()
S
63 7 9
url_to_meta_query_args()
S
51 5 28
get_order_item_meta_clauses()
S
41 2 73
insert_post()
S
44 3 57
save_ghost_as_post()
S
53 5 22
save_object_as_product()
S
54 5 21
get_polylang_clauses()
S
56 5 17
need_to_update_shipping_order_item()
S
60 5 16
attachment_id_to_file_name()
S
58 5 15
get_user_metakey_fields()
S
58 5 15
convert_other_lang_products()
S
61 5 12
set_wc_product_attribute()
S
56 4 19
trash_post()
S
56 4 17
find_objects()
S
47 2 47
check_not_duplicate()
S
51 3 29
get_product_metakey_fields()
S
60 4 13
get_order_metakey_fields()
S
60 4 13
insert_post_meta()
S
53 3 28
get_atum_order_item_rows()
S
48 2 41
set_user_prop()
S
56 3 21
need_to_update_order_item()
S
64 4 10
unique_name_to_contents_of_trailing_brackets()
S
68 4 6
maybeCreateIntentionalError()
S
63 4 10
echo_download()
S
57 3 15
exclude_fields()
S
65 4 9
update_post()
S
51 2 30
field_names_to_product_meta_joins()
S
59 3 14
plexus_rows_to_objects()
S
60 3 14
metakey_row_to_object()
S
59 3 14
maybe_append_tryst()
S
60 3 14
get_plexus_where_clause()
S
61 3 13
mkdir()
S
60 3 13
field_names_to_user_meta_joins()
S
59 3 13
add_canon_rows()
S
60 3 12
attr_name_to_taxonomy_values()
S
53 2 26
bundle_to_product()
S
63 3 11
get_subset_condition()
S
62 3 11
id_to_product_unique_name()
S
62 3 11
or_clauses_to_condition()
S
63 3 11
append_prelude()
S
54 2 23
get_atumProduct_rows()
S
55 2 22
get_sessions_wc()
S
56 2 17
unique_name_to_sku()
S
71 3 5
file_name_is_text_or_csv()
S
64 3 9
get_plexus_subselects()
S
58 2 15
set_user_meta_prop()
S
70 3 6
prod_row_to_unique_name()
S
64 3 9
datatype_to_plexquest()
S
68 3 8
refresh_ghost_crux()
S
73 3 4
get_order_item_polylang_clauses()
S
59 2 15
unique_name_to_id()
S
71 3 5
id_to_recursive_child_ids()
S
60 2 13
canon_row_to_object()
S
62 2 12
delete_stocktend_objects()
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
construct_plexus_query()
S
59 1 17
name_and_sku_to_product()
S
58 1 17
get_category_rows()
S
60 1 16
id_to_user_obj()
S
74 2 4
order_item_rows_to_objects()
S
66 2 9
atum_order_item_rows_to_objects()
S
66 2 9
id_to_user_row()
S
72 2 5
ord_row_to_object()
S
65 2 9
tax_rate_rows_to_objects()
S
66 2 9
order_item_row_to_object()
S
65 2 9
id_to_order_item_obj()
S
74 2 4
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
id_to_order_item_row()
S
72 2 5
prod_rows_to_objects()
S
66 2 9
strip_start()
S
69 2 6
url_to_fields()
S
71 2 5
url_to_ids()
S
71 2 5
datatype_to_plexus_field_names()
S
68 2 7
decorate_bundle()
S
70 2 6
get_id_requested()
S
66 2 8
decorate_bundles()
S
68 2 8
unique_name_to_name()
S
73 2 4
rows_to_objects()
S
66 2 9
get_attachments_path()
S
72 2 5
get_metakey_rows()
S
62 1 14
untrash_product()
S
60 1 13
get_two_years_ago()
S
78 1 3
url_to_parent_id()
S
80 1 3
get_canon_rows()
S
71 1 6
url_to_source()
S
80 1 3
url_to_datatype()
S
80 1 3
get_metakeys_wc()
S
71 1 6
add_shipping_item()
S
69 1 7
calculate_order_item_taxes()
S
73 1 5
url_to_id()
S
80 1 3
set_order_wc_fields()
S
80 1 3
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_plexus_from_clause()
S
68 1 9
get_plexus()
S
67 1 8
get_route()
S
67 1 8
get_route_args()
S
67 1 8
add_fee_item()
S
69 1 7
url_and_parm_name_to_value()
S
80 1 3
url_to_prop_name()
S
80 1 3
get_atumPOs_wc()
S
66 1 8
get_attributes_wc()
S
74 1 5
get_users_wc()
S
71 1 6
get_orders_wc()
S
71 1 6
get_atumPOLines_wc()
S
70 1 6
get_tax_rates_wc()
S
70 1 6
get_order_items_wc()
S
70 1 6
get_atumProducts_wc()
S
66 1 8
get_productCategories_wc()
S
66 1 8
get_categories_wc()
S
66 1 8
get_atumSuppliers_wc()
S
66 1 8
get_products_wc()
S
64 1 10
url_to_prop_val()
S
80 1 3
get_modified_after()
S
75 1 4
secure_dynamic_sql()
S
79 1 3
prod_row_to_object()
S
73 1 5
atumSupplier_row_to_object()
S
73 1 5
echo_wc_stock_level()
S
70 1 6
echo_empty_image()
S
73 1 5
user_row_to_object()
S
76 1 4
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_canons_wc()
S
71 1 6
register_routes()
S
79 1 3