PRFI_Captain D

Total Complexity 874
Dependencies 7
Dependents 1
Total lines 4,189
Lines of code 3,801
Logical lines of code 2,333
Comment lines 207
Methods 195
Properties 0

Methods 195

Method Rating Maintainability Complexity Lines of code
save_object_as_order_item()
D
24
48 155
save_object_as_order()
D
33 41 71
save_obj_as_post()
C
38 24 68
row_to_object()
B
42 21 47
update_product_meta_from_inventory_obj()
B
42 20 45
crit_to_condition()
B
37 16 71
get_objects_wc()
B
46 18 36
update_post_meta()
B
38 15 71
set_user_wc_metas()
A
50 17 24
update_product_order_item()
A
49 16 31
add_object_properties_to_ghost()
A
50 16 25
get_objects()
A
42 14 52
prfi_get_fields_for_response()
A
44 13 45
object_to_ghost()
A
45 13 38
get_prod_rows()
A
33 5 152
wp_posts_to_objects()
A
48 12 33
do_save_object_as_product()
A
45 11 41
field_names_to_cols()
A
46 11 37
update_objects()
A
45 10 43
get_order_item_rows()
A
41 7 70
permanize_child_ids()
A
56 10 17
get_user_rows()
A
38 5 85
check_stock_quantity_unchanged()
A
55 9 19
save_request_as_posts()
A
49 8 32
permanize_reference_ids()
A
56 9 17
need_to_update_product_order_item()
A
58 9 16
set_wc_product_attribute()
A
50 8 31
update_fee_order_item()
A
52 8 26
get_condensed_rows()
A
44 6 53
get_ord_rows()
A
37 3 94
convert_attributes_to_properties()
A
54 8 18
replace_keyval_with_id()
A
56 8 18
save_object_as_user()
A
49 7 31
maybe_use_attachment_as_product_image()
A
48 7 31
get_objects_turbo()
S
50 7 29
datatype_and_keyval_to_id()
S
46 6 42
wp_post_to_object()
S
50 7 26
create_file()
S
55 7 19
get_post_rows()
S
41 3 77
get_attribute_objects()
S
50 6 31
replace_id_with_keyval()
S
59 7 14
get_order_item_meta_clauses()
S
41 3 73
send_email()
S
51 6 24
attr_name_to_taxonomy_values()
S
49 5 37
field_names_to_meta_joins()
S
54 6 21
datatype_and_id_to_keyval()
S
48 5 36
unique_name_to_product_id()
S
46 4 50
update_shipping_order_item()
S
56 6 20
need_to_update_fee_order_item()
S
57 6 19
echo_post_image()
S
56 6 18
set_product_wc_attributes()
S
63 7 9
set_product_wc_metas()
S
63 7 9
set_order_wc_metas()
S
63 7 9
ghost_to_crux()
S
58 6 15
url_to_meta_query_args()
S
51 5 28
insert_post()
S
44 3 57
save_object_as_product()
S
53 5 22
save_ghost_as_post()
S
53 5 22
trash_post()
S
55 5 19
get_polylang_clauses()
S
56 5 18
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
get_nucleus()
S
53 4 23
get_plexus_condensed()
S
54 4 21
get_sessions_wc()
S
54 4 20
field_names_to_product_meta_joins()
S
56 4 17
find_objects()
S
47 2 47
check_not_duplicate()
S
51 3 31
prod_row_to_image_url()
S
63 5 10
get_atum_order_item_rows()
S
48 2 44
get_product_metakey_fields()
S
60 4 13
insert_post_meta()
S
53 3 28
get_order_metakey_fields()
S
60 4 13
construct_condensed_plexus_query()
S
54 3 24
set_user_prop()
S
56 3 22
echo_download()
S
57 3 16
update_post()
S
52 2 30
field_names_to_user_meta_cols()
S
58 3 15
exclude_fields()
S
65 4 9
need_to_update_order_item()
S
64 4 10
maybeCreateIntentionalError()
S
64 4 10
unique_name_to_contents_of_trailing_brackets()
S
68 4 6
maybe_append_tryst()
S
60 3 14
metakey_row_to_object()
S
59 3 14
plexus_rows_to_objects()
S
60 3 14
maybe_append_condensed_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
get_subset_condition()
S
62 3 11
or_clauses_to_condition()
S
63 3 11
bundle_to_product()
S
63 3 11
id_to_product_unique_name()
S
62 3 11
append_prelude()
S
54 2 24
get_atumProduct_rows()
S
55 2 22
id_to_recursive_child_ids()
S
58 2 16
file_name_is_text_or_csv()
S
64 3 9
set_user_meta_prop()
S
70 3 6
prod_row_to_unique_name()
S
64 3 9
get_plexus_subselects()
S
58 2 15
get_order_item_polylang_clauses()
S
59 2 15
refresh_ghost_crux()
S
73 3 4
unique_name_to_id()
S
71 3 5
unique_name_to_sku()
S
71 3 5
datatype_to_plexquest()
S
68 3 8
canon_row_to_object()
S
62 2 12
delete_stocktend_objects()
S
61 2 12
delete_prfi_objects()
S
61 2 12
get_plexus()
S
63 2 11
get_tax_rate_rows()
S
57 1 23
get_productCategory_rows()
S
57 1 22
get_atumSupplier_post_rows()
S
56 1 21
get_atumPO_post_rows()
S
57 1 20
name_and_sku_to_product()
S
58 1 18
get_category_rows()
S
59 1 18
construct_plexus_query()
S
59 1 17
get_metakey_rows()
S
59 1 17
atum_order_item_rows_to_objects()
S
66 2 9
tax_rate_rows_to_objects()
S
66 2 9
get_metakeys_wc()
S
67 2 8
get_attributes_wc()
S
70 2 7
canon_rows_to_objects()
S
66 2 9
ord_rows_to_objects()
S
66 2 9
get_id_requested()
S
66 2 8
get_categories_wc()
S
64 2 10
get_tax_rates_wc()
S
67 2 8
id_to_order_item_row()
S
72 2 5
prod_rows_to_objects()
S
66 2 9
user_rows_to_objects()
S
66 2 9
metakey_rows_to_objects()
S
66 2 9
ord_row_to_object()
S
65 2 9
order_item_rows_to_objects()
S
66 2 9
order_item_row_to_object()
S
65 2 9
id_to_user_row()
S
72 2 5
url_to_ids()
S
71 2 5
url_to_fields()
S
71 2 5
decorate_bundle()
S
70 2 6
decorate_bundles()
S
68 2 8
datatype_to_plexus_field_names()
S
68 2 7
json_array_to_objects()
S
68 2 8
get_attachments_path()
S
72 2 5
id_to_user_obj()
S
74 2 4
unique_name_to_name()
S
73 2 4
rows_to_objects()
S
66 2 9
id_to_order_item_obj()
S
74 2 4
condense_posts()
S
75 2 5
untrash_product()
S
60 1 13
tax_rate_row_to_object()
S
80 1 3
atumSupplier_row_to_object()
S
73 1 5
user_row_to_object()
S
76 1 4
get_canon_rows()
S
71 1 6
atum_order_item_row_to_object()
S
80 1 3
get_two_years_ago()
S
78 1 3
register_routes()
S
79 1 3
prod_row_to_object()
S
73 1 5
set_product_wc_fields()
S
76 1 4
url_to_source()
S
80 1 3
url_to_datatype()
S
80 1 3
add_shipping_item()
S
69 1 7
calculate_order_item_taxes()
S
73 1 5
add_fee_item()
S
69 1 7
set_order_wc_fields()
S
80 1 3
is_permanent_id()
S
81 1 3
url_to_parent_id()
S
80 1 3
request_to_objects()
S
76 1 4
array_to_json()
S
76 1 4
copy_url_to_temp_file()
S
68 1 7
get_plexus_from_clause()
S
68 1 9
condense_post()
S
82 1 3
get_route()
S
67 1 8
get_route_args()
S
67 1 8
url_to_trb()
S
80 1 3
url_to_id()
S
80 1 3
get_order_items_wc()
S
70 1 6
get_atumPOs_wc()
S
66 1 8
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_atumProducts_wc()
S
66 1 8
get_productCategories_wc()
S
66 1 8
get_atumSuppliers_wc()
S
66 1 8
get_products_wc()
S
64 1 10
get_routes()
S
65 1 9
get_modified_after()
S
75 1 4
secure_dynamic_sql()
S
79 1 3
echo_wc_stock_level()
S
70 1 6
echo_empty_image()
S
76 1 4
set_json_val()
S
73 1 5
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