cmplz_document D

Total Complexity 438
Dependencies 4
Dependents 1
Total lines 2,838
Lines of code 1,812
Logical lines of code 945
Comment lines 554
Methods 67
Properties 1

Methods 67

Method Rating Maintainability Complexity Lines of code
get_document_html()
C
32 30 93
generate_pdf()
C
30 20 127
show_consent_area()
B
34 20 109
get_shortcode_page_id()
B
39 19 67
page_required()
B
42 18 56
get_plain_text_value()
B
39 17 63
save_metabox_data()
B
38 15 73
maybe_autoredirect()
B
42 16 50
wizard_add_pages_to_menu()
A
38 12 76
generate_cookie_policy_snapshot()
A
35 11 87
condition_applies()
A
45 13 44
wrap_header()
A
46 12 38
replace_fields()
A
38 9 68
get_document_data()
A
48 10 34
syncStatus()
A
49 10 32
callback_wizard_add_pages()
A
41 7 61
get_created_pages()
A
53 9 24
set_region()
A
50 8 29
is_complianz_page()
A
52 8 26
callback_condition_applies()
A
52 8 25
ajax_create_pages()
A
48 7 34
use_cache()
S
60 7 14
assign_documents_to_menu()
S
52 6 25
get_page_url()
S
52 6 23
get_required_pages()
S
56 6 19
get_document_title()
S
56 6 17
get_region()
S
58 6 16
pages_not_in_menu()
S
55 5 19
obfuscate_email()
S
55 5 19
enqueue_assets()
S
55 5 19
clear_shortcode_transients()
S
57 5 18
get_shortcode()
S
59 5 13
cron_check_last_updated_status()
S
50 4 27
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
not_updated_in()
S
61 4 14
add_meta_box()
S
60 4 14
get_availabe_documents()
S
62 4 12
is_loop_element()
S
62 4 12
is_public_page()
S
63 4 11
add_privacy_info()
S
57 3 18
set_wp_privacy_policy()
S
67 4 7
get_document_types()
S
63 4 10
inline_styles()
S
62 3 12
load_document()
S
57 2 17
init()
S
49 1 31
add_body_class_for_complianz_documents()
S
68 3 7
delete_page()
S
65 3 9
wrap_content()
S
64 3 9
insert_element()
S
67 3 8
documents_need_updating()
S
67 3 8
accept_link()
S
59 2 14
wrap_sub_header()
S
71 2 6
__construct()
S
67 2 8
is_numbered_element()
S
71 2 6
add_post_state()
S
70 2 6
page_exists()
S
71 2 6
uses_elementor()
S
72 2 6
revoke_link()
S
67 1 7
this()
S
81 1 3
do_not_sell_personal_data_form()
S
67 1 7
is_assigned_this_menu()
S
72 1 5
cookies()
S
67 1 7
manage_consent_html()
S
82 1 3