Jetpack_WPCOM_Block_Editor B

Total Complexity 77
Dependencies 7
Dependents 0
Total lines 606
Lines of code 352
Logical lines of code 141
Comment lines 177
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
enqueue_block_editor_assets()
A
37 11 90
verify_frame_nonce()
A
50 8 27
allow_block_editor_login()
S
52 6 23
check_iframe_cookie_setting()
S
61 6 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
add_iframed_body_class()
S
70 3 6
has_justified_block()
S
64 3 10
disable_send_frame_options_header()
S
72 3 5
is_iframed_block_editor()
S
73 3 4
add_login_html()
S
63 2 11
enable_cross_site_auth_cookies()
S
65 2 8
get_samesite_attr_for_auth_cookies()
S
72 2 5
init()
S
69 2 7
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