Code Analysis: Insecure Content Warning 1.2.0

Function Rating Maintainability Complexity Lines of code
rest_routes()
B
31 15 156
ICW\FIX\FixInsecureContent::fix()
B
37 21 66
ICW\FIX\FixInsecureContent::fix_insecure_content()
B
39 19 63
enqueue_scripts()
S
51 4 29
prepare_fix_params()
S
60 5 11
ICW\FIX\FixInsecureContent::parse_content_for_insecure_urls()
S
58 4 15
check_endpoint()
S
60 3 12
block_editor_scripts()
S
56 2 20
admin_scripts()
S
57 2 19
compile_script_notice()
S
63 2 12
ICW\FIX\FixInsecureContent::count_post_to_check()
S
62 2 11
ICW\FIX\FixInsecureContent::get_instance()
S
71 2 6
ICW\FIX\FixInsecureContent::does_secure_content_exist()
S
63 2 10
count_for_fix_endpoint()
S
65 2 8
mce_css()
S
68 2 8
load_translations()
S
71 2 6
fix_endpoint()
S
70 1 5
site_meets_php_requirements()
S
79 1 3
setup()
S
79 1 3
admin_page()
S
81 1 3
ICW\CLI\InsecureContentWarning_CLI_Command::fix()
S
63 1 9
setup()
S
68 1 7
setup()
S
79 1 3
ICW\FIX\FixInsecureContent::get_wp_query_post_type_args()
S
72 1 6
minimum_php_requirement()
S
83 1 3
admin_menu()
S
64 1 10