NCS_Cart_Files D

Total Complexity 138
Dependencies 1
Dependents 3
Total lines 827
Lines of code 673
Logical lines of code 318
Comment lines 27
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
update_order_downloads()
B
46 19 30
setup_download()
A
46 12 35
downloads_shortcode()
A
47 12 34
get_order_downloads()
A
46 10 35
product_form_callback()
A
44 6 50
receipt_download_links()
S
53 7 23
file_tab_content()
S
49 6 35
attach_downloads_to_order()
S
49 6 28
file_fields()
S
37 1 102
maybe_revoke_access()
S
54 6 18
setup_directory()
S
49 5 33
account_tabs()
S
55 5 19
revoke_notice()
S
54 4 23
log_download()
S
56 4 17
upload_dir()
S
58 4 15
process_refund()
S
59 4 13
email_download_links()
S
55 3 24
get_download_by_key()
S
55 3 19
get_product_file()
S
64 4 10
download_file()
S
69 3 6
initialize()
S
50 1 27
setup_download_table()
S
58 1 19
download_slug_setting()
S
61 1 12
login_to_download_setting()
S
61 1 12
__construct()
S
82 1 3
init()
S
91 1 2
table_name()
S
81 1 3
flush_permalinks()
S
83 1 3
files_tab()
S
75 1 4
file_group()
S
77 1 4
download_page_rewrites()
S
71 1 5
get_product_files()
S
79 1 3
revoke_access()
S
74 1 4
get_table_name()
S
81 1 3