PRFI_Captain D

Total Complexity 671
Dependencies 5
Dependents 1
Total lines 3,191
Lines of code 2,924
Logical lines of code 1,841
Comment lines 108
Methods 164
Properties 0

Methods 164

Method Rating Maintainability Complexity Lines of code
save_object_as_order()
D
35 38 65
save_object_as_order_item()
D
32 31 97
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
get_objects_wc()
A
47 16 34
update_post_meta()
A
40 13 64
add_object_properties_to_ghost()
A
50 15 25
prfi_get_fields_for_response()
A
44 13 45
crit_to_condition()
A
43 12 45
object_to_ghost()
A
46 12 36
get_objects()
A
44 11 46
do_save_object_as_product()
A
45 11 41
get_order_item_rows()
A
41 7 68
permanize_child_ids()
A
56 10 17
field_names_to_cols()
A
49 9 28
permanize_reference_ids()
A
56 9 17
save_request_as_posts()
A
49 8 32
wp_posts_to_objects()
A
52 8 24
convert_attributes_to_properties()
A
54 8 18
replace_keyval_with_id()
A
56 8 18
update_objects()
A
48 7 33
get_ord_rows()
S
38 3 89
update_product_order_item()
S
60 8 13
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
check_stock_quantity_unchanged()
S
57 7 16
get_attribute_objects()
S
50 6 29
replace_id_with_keyval()
S
59 7 14
send_email()
S
51 6 24
get_post_rows()
S
42 3 67
field_names_to_meta_joins()
S
54 6 21
datatype_and_id_to_keyval()
S
48 5 34
unique_name_to_product_id()
S
45 4 49
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
insert_post()
S
44 3 57
save_object_as_product()
S
54 5 21
save_ghost_as_post()
S
54 5 20
get_user_rows()
S
42 2 63
get_polylang_clauses()
S
56 5 17
attachment_id_to_file_name()
S
58 5 15
convert_other_lang_products()
S
61 5 12
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
check_not_duplicate()
S
51 3 29
get_order_metakey_fields()
S
60 4 13
insert_post_meta()
S
53 3 28
get_user_metakey_fields()
S
60 4 13
get_product_metakey_fields()
S
60 4 13
get_atum_order_item_rows()
S
48 2 41
unique_name_to_contents_of_trailing_brackets()
S
68 4 6
echo_download()
S
57 3 15
update_post()
S
51 2 30
exclude_fields()
S
65 4 9
maybeCreateIntentionalError()
S
63 4 10
metakey_row_to_object()
S
59 3 14
field_names_to_product_meta_joins()
S
59 3 14
plexus_rows_to_objects()
S
60 3 14
maybe_append_tryst()
S
60 3 14
get_plexus_where_clause()
S
61 3 13
field_names_to_user_meta_joins()
S
59 3 13
mkdir()
S
60 3 13
add_canon_rows()
S
60 3 12
id_to_product_unique_name()
S
62 3 11
or_clauses_to_condition()
S
63 3 11
get_subset_condition()
S
62 3 11
attr_name_to_taxonomy_values()
S
53 2 26
bundle_to_product()
S
63 3 11
get_atumProduct_rows()
S
55 2 22
get_sessions_wc()
S
56 2 17
unique_name_to_id()
S
71 3 5
unique_name_to_sku()
S
71 3 5
file_name_is_text_or_csv()
S
64 3 9
refresh_ghost_crux()
S
73 3 4
get_order_item_polylang_clauses()
S
59 2 15
datatype_to_plexquest()
S
68 3 8
prod_row_to_unique_name()
S
64 3 9
get_plexus_subselects()
S
58 2 15
id_to_recursive_child_ids()
S
60 2 13
delete_stocktend_objects()
S
61 2 12
canon_row_to_object()
S
62 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
metakey_rows_to_objects()
S
66 2 9
ord_rows_to_objects()
S
66 2 9
canon_rows_to_objects()
S
66 2 9
prod_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
ord_row_to_object()
S
65 2 9
user_rows_to_objects()
S
66 2 9
strip_start()
S
69 2 6
rows_to_objects()
S
66 2 9
url_to_fields()
S
71 2 5
id_to_order_item_row()
S
72 2 5
datatype_to_plexus_field_names()
S
68 2 7
id_to_order_item_obj()
S
74 2 4
get_id_requested()
S
66 2 8
unique_name_to_name()
S
73 2 4
url_to_ids()
S
71 2 5
order_item_rows_to_objects()
S
66 2 9
decorate_bundle()
S
70 2 6
decorate_bundles()
S
68 2 8
get_attachments_path()
S
72 2 5
get_metakey_rows()
S
62 1 14
untrash_product()
S
60 1 13
atum_order_item_row_to_object()
S
80 1 3
user_row_to_object()
S
76 1 4
get_canon_rows()
S
71 1 6
tax_rate_row_to_object()
S
80 1 3
get_two_years_ago()
S
78 1 3
register_routes()
S
79 1 3
atumSupplier_row_to_object()
S
73 1 5
set_order_wc_fields()
S
80 1 3
url_to_prop_val()
S
80 1 3
url_to_prop_name()
S
80 1 3
url_to_id()
S
80 1 3
url_to_parent_id()
S
80 1 3
url_to_source()
S
80 1 3
url_to_datatype()
S
80 1 3
set_product_wc_fields()
S
76 1 4
echo_empty_image()
S
73 1 5
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
url_and_parm_name_to_value()
S
80 1 3
get_routes()
S
65 1 9
prod_row_to_object()
S
73 1 5
get_metakeys_wc()
S
71 1 6
get_order_items_wc()
S
70 1 6
get_tax_rates_wc()
S
70 1 6
get_atumPOLines_wc()
S
70 1 6
get_orders_wc()
S
71 1 6
get_users_wc()
S
71 1 6
get_canons_wc()
S
71 1 6
get_attributes_wc()
S
74 1 5
secure_dynamic_sql()
S
79 1 3
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_atumPOs_wc()
S
66 1 8
get_products_wc()
S
64 1 10
get_modified_after()
S
75 1 4
echo_wc_stock_level()
S
70 1 6