Jetpack_WPCOM_Block_Editor A

Total Complexity 72
Dependencies 6
Dependents 0
Total lines 595
Lines of code 343
Logical lines of code 139
Comment lines 175
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
enqueue_block_editor_assets()
A
38 10 82
verify_frame_nonce()
A
50 8 27
allow_block_editor_login()
S
52 6 22
check_iframe_cookie_setting()
S
61 5 11
set_samesite_logged_in_cookies()
S
49 3 33
add_tinymce_plugins()
S
61 4 13
set_samesite_auth_cookies()
S
50 2 34
init_actions()
S
56 3 17
framing_allowed()
S
63 4 10
maybe_send_cookies()
S
62 3 13
filter_salt()
S
66 3 9
has_justified_block()
S
64 3 10
is_iframed_block_editor()
S
73 3 4
add_iframed_body_class()
S
71 2 6
disable_send_frame_options_header()
S
73 2 5
enable_cross_site_auth_cookies()
S
65 2 8
get_samesite_attr_for_auth_cookies()
S
72 2 5
init()
S
69 2 7
add_login_html()
S
65 1 11
do_redirect()
S
76 1 4
__construct()
S
75 1 4
add_login_message()
S
72 1 5
enqueue_block_assets()
S
80 1 3