cmplz_documents_admin D

Total Complexity 220
Dependencies 4
Dependents 1
Total lines 1,260
Lines of code 838
Logical lines of code 512
Comment lines 267
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
page_required()
B
43 17 51
save_metabox_data()
B
39 15 67
documents_data()
A
46 12 40
is_assigned_this_menu()
A
48 12 31
clear_page_id_from_menu()
A
49 12 31
get_documents_block_data()
A
38 8 70
get_active_page_types()
A
48 10 34
syncStatus()
A
49 10 32
get_documents_menu_data()
A
45 8 43
get_created_pages()
A
53 9 24
pages_not_in_menu()
A
48 8 32
required_pages_flattened()
A
50 8 26
wp_privacy_policy_data()
A
50 8 26
assign_document_to_menu()
S
47 6 38
get_required_pages()
S
56 6 19
get_documents_data()
S
51 5 27
add_post_state()
S
61 5 12
create_page()
S
54 4 22
metabox_unlink_from_complianz()
S
56 4 20
preload_privacy_info()
S
57 4 17
convert_summary_to_div()
S
59 4 15
add_meta_box()
S
60 4 14
get_page_id_for_generic_document()
S
60 4 14
all_required_pages_created()
S
60 4 13
update_custom_legal_document_id()
S
61 4 12
set_wp_privacy_policy()
S
67 4 7
register_document_title_for_translations()
S
63 4 10
add_privacy_info()
S
56 2 19
delete_page()
S
66 3 9
plugin_privacy_policies_changed()
S
70 3 6
get_plugin_by_name()
S
63 3 10
__construct()
S
57 2 15
update_custom_legal_document_url()
S
63 2 10
get_custom_legal_document_url()
S
63 2 10
page_exists()
S
71 2 6
this()
S
81 1 3
clear_shortcode_transients()
S
81 1 3