cmplz_document D

Total Complexity 519
Dependencies 4
Dependents 1
Total lines 3,074
Lines of code 1,986
Logical lines of code 1,104
Comment lines 605
Methods 74
Properties 1

Methods 74

Method Rating Maintainability Complexity Lines of code
get_document_html()
D
31 34 98
show_consent_area()
C
33 22 110
generate_pdf()
C
30 20 127
wizard_add_pages_to_menu_region_redirected()
B
37 19 70
get_shortcode_page_id()
B
40 19 62
wrap_header()
B
41 19 55
page_required()
B
42 18 56
get_plain_text_value()
B
39 16 63
get_cookie_snapshot_list()
B
39 16 61
save_metabox_data()
B
38 15 73
maybe_autoredirect()
B
42 16 50
clear_assigned_menu_items()
A
45 16 38
condition_applies()
A
43 15 51
get_created_pages()
A
49 12 31
replace_fields()
A
38 9 68
get_document_data()
A
48 10 34
syncStatus()
A
49 10 32
assign_documents_to_menu()
A
44 9 46
callback_wizard_add_pages()
A
41 7 62
wizard_add_pages_to_menu()
A
45 8 40
is_assigned_this_menu()
A
52 9 23
set_region()
A
50 8 29
is_complianz_page()
A
52 8 26
callback_condition_applies()
A
52 8 25
ajax_create_pages()
A
47 7 36
pages_not_in_menu()
S
51 7 27
get_region()
S
55 7 20
use_cache()
S
60 7 14
get_page_url()
S
52 6 23
get_required_pages()
S
56 6 19
get_document_title()
S
56 6 17
enqueue_assets()
S
55 5 19
obfuscate_email()
S
55 5 19
clear_shortcode_transients()
S
57 5 18
cron_check_last_updated_status()
S
50 4 27
wrap_content()
S
60 5 12
get_shortcode()
S
61 5 11
create_page()
S
54 4 22
metabox_unlink_from_complianz()
S
56 4 20
color_luminance()
S
56 4 17
get_shortcode_pattern()
S
65 5 10
has_missing_pages()
S
59 4 15
get_page_id_for_generic_document()
S
60 4 14
not_updated_in()
S
61 4 14
add_meta_box()
S
60 4 14
all_required_pages_created()
S
60 4 13
is_loop_element()
S
62 4 12
get_available_documents()
S
62 4 12
is_public_page()
S
63 4 11
get_document_types()
S
63 4 10
set_wp_privacy_policy()
S
67 4 7
inline_styles()
S
62 3 12
add_privacy_info()
S
56 2 19
load_document()
S
57 2 17
insert_element()
S
67 3 8
documents_need_updating()
S
67 3 8
add_body_class_for_complianz_documents()
S
68 3 7
delete_page()
S
65 3 9
accept_link()
S
59 2 14
init()
S
52 1 23
__construct()
S
67 2 8
add_post_state()
S
70 2 6
get_dataleak_type()
S
70 2 6
page_exists()
S
71 2 6
locale_has_formal_variant()
S
69 2 7
wrap_sub_header()
S
71 2 6
uses_elementor()
S
72 2 6
is_numbered_element()
S
71 2 6
do_not_sell_personal_data_form()
S
67 1 7
revoke_link()
S
67 1 7
this()
S
81 1 3
cookies()
S
67 1 7
manage_consent_html()
S
66 1 8
pretty_permalinks_enabled()
S
80 1 3