cmplz_document D

Total Complexity 524
Dependencies 4
Dependents 1
Total lines 3,081
Lines of code 1,995
Logical lines of code 1,123
Comment lines 615
Methods 76
Properties 1

Methods 76

Method Rating Maintainability Complexity Lines of code
get_document_html()
D
31 34 98
generate_pdf()
C
30 20 128
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
43 18 51
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
show_consent_area()
A
38 12 87
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
is_complianz_page()
A
51 9 29
wizard_add_pages_to_menu()
A
45 8 40
is_assigned_this_menu()
A
52 9 23
pages_not_in_menu()
A
49 8 30
set_region()
A
50 8 29
callback_condition_applies()
A
52 8 25
ajax_create_pages()
A
47 7 36
get_page_title()
S
52 7 22
get_page_url()
S
53 7 21
get_region()
S
55 7 20
use_cache()
S
60 7 14
enqueue_assets()
S
53 6 22
get_required_pages()
S
56 6 19
get_document_title()
S
56 6 17
wrap_content()
S
57 6 15
clear_shortcode_transients()
S
57 5 18
obfuscate_email()
S
56 5 17
cron_check_last_updated_status()
S
50 4 27
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
get_available_documents()
S
62 4 12
is_loop_element()
S
62 4 12
is_public_page()
S
63 4 11
set_wp_privacy_policy()
S
67 4 7
get_document_types()
S
63 4 10
inline_styles()
S
62 3 12
add_privacy_info()
S
56 2 19
load_document()
S
57 2 17
add_body_class_for_complianz_documents()
S
68 3 7
register_document_title_for_translations()
S
64 3 10
documents_need_updating()
S
67 3 8
delete_page()
S
65 3 9
insert_element()
S
67 3 8
init()
S
51 1 24
__construct()
S
67 2 8
uses_elementor()
S
72 2 6
page_exists()
S
71 2 6
locale_has_formal_variant()
S
69 2 7
add_post_state()
S
70 2 6
accept_link()
S
63 2 9
get_dataleak_type()
S
70 2 6
wrap_sub_header()
S
71 2 6
is_numbered_element()
S
71 2 6
do_not_sell_personal_data_form()
S
67 1 7
pretty_permalinks_enabled()
S
80 1 3
this()
S
81 1 3
revoke_link()
S
67 1 7
manage_consent_html()
S
66 1 8
cookies()
S
67 1 7