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