Code Analysis: Eight Day Week 1.2.5

Function Rating Maintainability Complexity Lines of code
filter_publish_date_text()
C
42 25 47
create_taxonomy_dropdown_metabox()
B
37 18 66
update_users_print_role()
B
43 17 45
save_metabox_order()
A
45 14 39
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::output_zip()
A
43 13 46
Eight_Day_Week\Plugins\Article_Export\Article_XML::add_outer_elements()
A
47 10 37
Eight_Day_Week\Plugins\Article_Export\Article_XML::get_article_content()
A
44 9 46
save_section_articles()
A
52 9 24
Eight_Day_Week\Core\Helper_DateTimeZone::tzOffsetToName()
A
52 9 24
add_sections_meta_box()
A
51 8 26
get_side_metabox_order()
A
49 7 32
export_articles()
S
50 7 26
Eight_Day_Week\Sections\Section_Factory::create_ajax()
S
52 7 22
Eight_Day_Week\Plugins\Article_Export\Article_XML::get_outer_elements()
S
55 7 20
Eight_Day_Week\Sections\Section::import_post_info()
S
58 7 15
edw_bootstrap()
S
53 6 24
merge_role_caps()
S
53 6 23
Eight_Day_Week\Plugins\Article_Export\Article_XML::extract_elements_by_xpath()
S
53 6 23
Eight_Day_Week\Articles\AL_Table::get_data()
S
55 6 18
Eight_Day_Week\Plugins\Article_Export\Article_XML::remove_elements()
S
56 6 18
Eight_Day_Week\Sections\Section_Factory::update_title_ajax()
S
56 6 17
tack_on_ajax_response()
S
58 6 16
save_print_issue()
S
58 6 16
Eight_Day_Week\Plugins\Article_Export\Article_XML::get_image_name()
S
60 6 12
Eight_Day_Week\Articles\AL_Table::prepare_items()
S
53 5 22
Eight_Day_Week\Articles\AL_Table::column_default()
S
55 5 20
get_num_articles()
S
55 5 20
Eight_Day_Week\Plugins\Article_Export\Article_XML::get_first_author_name()
S
57 5 18
populate_print_issue_cpt_columns()
S
55 5 18
get_authors()
S
57 5 18
Eight_Day_Week\Plugins\Article_Export\Article_XML::build_xml()
S
49 4 32
bulk_edit_article_statuses_ajax()
S
57 5 15
admin_enqueue_scripts()
S
50 4 30
edw_build_namespace_map()
S
50 4 27
output_bulk_article_status_editor()
S
56 4 20
add_role()
S
56 4 19
add_section_output()
S
51 3 33
output_print_role_on_user_list_table()
S
55 4 17
get_indexed_article_statuses()
S
59 4 16
ZipFile::addFile()
S
46 2 45
get_asset_url()
S
58 4 15
add_issue_status_filters()
S
56 4 15
update_print_issue_sections()
S
59 4 14
get_role_caps()
S
62 4 12
alter_metaboxes()
S
62 4 12
array_keys_recursive()
S
62 4 12
get_articles()
S
52 3 23
Eight_Day_Week\Plugins\Article_Export\Article_XML::html_to_xml()
S
54 3 20
get_export_status()
S
54 3 19
articles_metabox_output()
S
52 2 32
ZipFile::unix_2_dos_time()
S
56 3 17
check_elevated_ajax_referer()
S
64 4 8
filter_show_post_locked_dialog_for_rov()
S
63 4 10
filter_metadata_no_post_locks_on_rov()
S
66 4 8
filter_admin_title_for_rov()
S
66 4 8
Eight_Day_Week\Articles\AL_Table::column_title()
S
58 3 15
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::out_zip_file()
S
59 3 14
register_post_type()
S
45 1 44
re_save_print_roles()
S
61 3 13
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::build_file_sets()
S
61 3 12
modify_print_issue_actions()
S
63 3 11
article_status_handler()
S
61 3 11
add_role_caps()
S
63 3 11
populate_print_issue_cpt_columns()
S
63 3 11
register_taxonomy()
S
46 1 39
post_type_updated_labels()
S
53 2 21
register_taxonomy()
S
49 1 33
ZipFile::file()
S
57 2 17
maybe_export_article_attachments()
S
57 2 17
add_taxonomy_dropdown_meta_box()
S
59 2 16
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::import_articles()
S
65 3 10
get_section_order()
S
67 3 8
section_save_button()
S
69 3 6
get_user_print_roles()
S
64 3 10
add_print_role_column_text()
S
65 3 9
get_timezone()
S
66 3 8
filter_article_meta_article_status()
S
68 3 7
get_articles_ajax()
S
63 3 9
bulk_edit_article_statuses()
S
66 3 8
get_article_byline()
S
68 3 7
register_taxonomy()
S
50 1 29
filter_article_columns_article_status()
S
60 2 13
filter_article_columns_article_images()
S
60 2 13
filter_pi_columns_issue_status()
S
60 2 13
sections_meta_box()
S
62 2 12
Eight_Day_Week\Sections\Section_Factory::create()
S
63 2 11
Eight_Day_Week\Sections\Section::update_title()
S
62 2 11
get_articles_autocomplete()
S
63 2 11
setup()
S
51 1 25
setup()
S
55 1 23
get_editor_caps()
S
55 1 22
setup()
S
58 1 21
setup()
S
55 1 20
setup()
S
57 1 18
setup()
S
58 1 18
setup()
S
56 1 18
setup()
S
57 1 17
Eight_Day_Week\Plugins\Article_Export\File::__construct()
S
66 2 9
Eight_Day_Week\Sections\Section::update()
S
68 2 7
is_read_only_view()
S
78 2 3
filter_can_edit_for_rov()
S
72 2 6
set_print_issue_sections()
S
68 2 7
Eight_Day_Week\Articles\AL_Table::display_rows()
S
74 2 5
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::get_articles()
S
70 2 7
filter_xml_filename_author()
S
69 2 7
hide_post_states()
S
71 2 6
edit_form_after_title()
S
66 2 8
setup()
S
60 1 15
set_export_status()
S
68 2 7
duplicate_role()
S
66 2 8
Eight_Day_Week\Plugins\Article_Export\Article_XML::add_article_attributes()
S
70 2 6
activate()
S
66 2 9
get_sections()
S
68 2 7
filter_export_status()
S
76 2 4
existing_articles()
S
67 2 8
get_existing_articles()
S
68 2 7
plugins_url()
S
70 2 6
article_status_response()
S
65 2 9
title_filter()
S
64 2 10
Eight_Day_Week\Articles\AL_Table::display_rows_or_placeholder()
S
75 2 5
Eight_Day_Week\Articles\AL_Table::column_cb()
S
77 2 3
get_article_row_ajax()
S
62 2 10
Eight_Day_Week\Articles\AL_Table::single_row()
S
65 2 9
get_role_names()
S
69 2 7
init()
S
69 2 7
Eight_Day_Week\Plugins\Article_Export\Article_XML::get_image_tag()
S
77 2 3
Eight_Day_Week\Sections\Section_Factory::assign_to_print_issue()
S
69 2 6
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::__construct()
S
64 2 9
remove_publish_box()
S
72 2 5
Eight_Day_Week\Sections\Section::import_post()
S
67 2 7
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::get_file_sets()
S
70 2 7
setup()
S
60 1 13
setup()
S
60 1 13
a()
S
80 1 3
check_ajax_referer()
S
79 1 3
add_roles()
S
76 1 5
get_rov_url()
S
78 1 3
get_production_caps()
S
64 1 10
add_caps_to_built_in_roles()
S
79 1 3
ns()
S
80 1 3
a()
S
80 1 3
Eight_Day_Week\Plugins\Article_Export\Article_XML::add_author_name()
S
79 1 3
remove_bulk_edit()
S
77 1 4
Eight_Day_Week\Plugins\Article_Export\Article_XML::add_post_comment()
S
79 1 3
a()
S
80 1 3
admin_menu()
S
77 1 3
print_issue_cpt_columns()
S
66 1 8
add_print_role_column()
S
75 1 4
set_and_get_export_status()
S
77 1 4
ns()
S
80 1 3
ns()
S
80 1 3
get_num_articles_cache_key()
S
79 1 3
a()
S
80 1 3
Eight_Day_Week\Articles\AL_Table::get_single_row()
S
74 1 5
Eight_Day_Week\Plugins\Article_Export\Article_XML::manipulate_dom()
S
70 1 6
get_attachment_file()
S
80 1 3
i18n()
S
71 1 5
add_print_production_role()
S
68 1 8
output_article_export_buttons()
S
68 1 9
ns()
S
80 1 3
editable_roles()
S
73 1 5
a()
S
80 1 3
Eight_Day_Week\Plugins\Article_Export\Article_XML::add_post_title()
S
79 1 3
a()
S
80 1 3
edw_site_meets_php_requirements()
S
79 1 3
filter_article_export_attachments_where()
S
81 1 3
bust_num_articles_cache()
S
81 1 3
a()
S
80 1 3
print_issue_sortable_columns()
S
77 1 4
Eight_Day_Week\Articles\AL_Table::get_bulk_actions()
S
82 1 3
ns()
S
80 1 3
setup()
S
65 1 8
send_json_error()
S
80 1 3
send_json_success()
S
80 1 3
ns()
S
80 1 3
add_print_editor_role()
S
68 1 8
ns()
S
80 1 3
ns()
S
80 1 3
ns()
S
80 1 3
article_export_status_column()
S
75 1 4
Eight_Day_Week\Articles\AL_Table::display_tablenav()
S
91 1 2
filter_article_columns_byline()
S
75 1 4
f()
S
80 1 3
admin_menu()
S
66 1 9
Eight_Day_Week\Sections\Section::__construct()
S
74 1 5
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::get_zip_file_name()
S
73 1 4
get_rov_link()
S
76 1 3
create_nonce()
S
81 1 3
a()
S
80 1 3
get_offset()
S
81 1 3
ns()
S
80 1 3
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::get_xml_file()
S
64 1 9
Eight_Day_Week\Articles\AL_Table::has_items()
S
80 1 3
Eight_Day_Week\Sections\Section_Factory::update_title()
S
75 1 4
get_document_files()
S
70 1 8
ns()
S
80 1 3
edw_minimum_php_requirement()
S
83 1 3
print_issue_nonce()
S
75 1 4
admin_menu()
S
78 1 3
Eight_Day_Week\Articles\AL_Table::get_columns()
S
66 1 9
Eight_Day_Week\Plugins\Article_Export\Article_Zip_Factory::get_xml()
S
70 1 6
Eight_Day_Week\Plugins\Article_Export\Article_XML::__construct()
S
77 1 4
filter_article_columns_date()
S
75 1 4
filter_xml_elements_headline()
S
76 1 4
Eight_Day_Week\Articles\AL_Table::__construct()
S
69 1 8
print_issue_cpt_columns()
S
75 1 4
Eight_Day_Week\Articles\AL_Table::_column_title()
S
69 1 6
ns()
S
80 1 3
filter_article_meta_byline()
S
81 1 3
setup()
S
63 1 10
register_post_type()
S
69 1 7
ns()
S
80 1 3
filter_preview_post_link_for_rov()
S
81 1 3
ZipFile::setdo_write()
S
81 1 3
should_load_plugin()
S
77 1 3
current_user_can_edit_print_issue()
S
74 1 4
admin_menu()
S
65 1 8