fktrPostTypeSales D

Total Complexity 364
Dependencies 10
Dependents 8
Total lines 1,999
Lines of code 1,764
Logical lines of code 850
Comment lines 29
Methods 59
Properties 0

Methods 59

Method Rating Maintainability Complexity Lines of code
invoice_data_box()
D
15
40 352
invoice_box()
D
22
44 177
clean_fields()
B
38 22 65
save()
B
42 20 45
updateStock()
B
43 17 49
getTitleInvoiceNumber()
B
45 17 38
ajax_validate_sale()
B
37 14 76
manage_columns()
A
44 13 40
action_row()
A
44 12 40
updateSuggestInvoiceNumber()
A
49 11 35
scripts()
A
33 6 99
suggestInvoiceNumber()
A
50 9 31
exist_a_invoice_number()
A
41 6 69
before_delete()
A
52 9 23
get_products()
A
43 7 44
apply_prices_scales()
A
52 8 23
getProductStock()
S
53 7 22
currencies_box()
S
52 7 20
print_demo_invoice()
S
49 6 30
print_invoice()
S
49 6 30
default_fields()
S
44 5 42
column_orderby()
S
53 6 22
get_client_data()
S
51 5 26
get_default_location_product()
S
56 5 19
change_button_texts()
S
56 5 18
set_delete_post_link()
S
55 5 17
date_format_php_to_js()
S
62 5 13
setup()
S
42 1 54
__construct()
S
43 1 46
get_suggest_invoice_number()
S
61 3 12
before_save()
S
62 3 10
discount_box()
S
58 2 15
bulk_action_handler()
S
63 3 10
updateReceiptsAffected()
S
61 2 11
get_sale_data()
S
61 2 11
updated_messages()
S
56 1 17
styles()
S
66 2 8
scripts_list()
S
69 2 6
name_placeholder()
S
70 2 6
custom_draft_translation()
S
69 2 6
product_parameter_internal_code()
S
70 2 6
display_fktr_sale_state()
S
65 2 8
columns()
S
65 1 9
fktr_save_sale_summary()
S
68 1 6
text_description_product_description()
S
79 1 3
bulk_actions()
S
70 1 6
meta_key_description_product_short_description()
S
81 1 3
text_description_product_short_description()
S
79 1 3
sortable_columns()
S
69 1 7
product_parameter_manufacturers_code()
S
74 1 4
product_parameter_reference()
S
74 1 4
meta_key_code_product_manufacturers_code()
S
81 1 3
meta_key_code_product_internal_code()
S
81 1 3
meta_key_code_product_reference()
S
81 1 3
text_code_product_manufacturers_code()
S
79 1 3
text_code_product_internal_code()
S
79 1 3
text_code_product_reference()
S
79 1 3
meta_key_description_product_description()
S
81 1 3
meta_boxes()
S
66 1 7