Code Analysis: Sophi 1.0.3

Function Rating Maintainability Complexity Lines of code
Command::sync()
D
28
29 142
get_breadcrumb()
A
41 15 59
track_event()
A
45 11 45
render_input()
A
47 9 37
sanitize_settings()
A
45 8 47
get_tracking_data()
A
43 7 50
get_default_settings()
A
49 7 33
SophiWP\SiteAutomation\Integration::get_curated_posts()
S
50 7 28
script_loader_tag()
S
56 7 18
fields_setup()
S
37 1 105
render_select()
S
51 6 26
get_custom_contexts()
S
43 3 62
SophiWP\SiteAutomation\Request::get()
S
51 5 27
SophiWP\SiteAutomation\Request::request()
S
52 5 24
render_block_callback()
S
50 4 33
page_need_tracking()
S
70 6 6
SophiWP\SiteAutomation\Auth::request_access_token()
S
51 4 27
get_amp_tracking_data()
S
44 1 55
init_tracker()
S
55 3 20
Base_CLI_Command::stop_the_insanity()
S
61 3 13
get_section_names()
S
62 3 12
get_post_data()
S
50 2 26
render_settings_page()
S
51 1 34
enqueue_scripts()
S
59 2 17
SophiWP\SiteAutomation\Request::set_status()
S
57 2 17
is_configured()
S
59 2 16
get_sophi_settings()
S
65 3 9
SophiWP\SiteAutomation\Request::retry()
S
66 3 7
blocks_categories()
S
61 2 14
add_action_links()
S
61 2 13
get_post_tags()
S
63 2 12
SophiWP\SiteAutomation\Integration::format_hits_as_posts()
S
64 2 11
sophi_setup_notice()
S
63 2 11
sophi_https_notice()
S
64 2 11
SophiWP\SiteAutomation\Auth::refresh_access_token()
S
63 2 11
SophiWP\SiteAutomation\Auth::get_access_token()
S
70 2 7
script_url()
S
69 2 6
SophiWP\SiteAutomation\Services::__get()
S
78 2 3
SophiWP\SiteAutomation\Request::process()
S
68 2 7
get_section_name()
S
69 2 7
amp_tracking()
S
66 2 9
style_url()
S
69 2 6
get_term_breadcrumb()
S
60 1 14
SophiWP\SiteAutomation\Integration::format_hits_as_id_parents()
S
64 1 11
register()
S
63 1 11
setup()
S
64 1 9
SophiWP\SiteAutomation\Services::register()
S
73 1 5
register_blocks()
S
76 1 4
get_domain()
S
76 1 4
get_supported_post_types()
S
79 1 3
activate()
S
100 1 2
get_enqueue_contexts()
S
80 1 3
SophiWP\SiteAutomation\Request::get_status()
S
78 1 3
SophiWP\SiteAutomation\Integration::format_hits_as_ids()
S
69 1 8
SophiWP\SiteAutomation\Request::do_cron()
S
80 1 3
setup()
S
68 1 7
admin_styles()
S
69 1 8
setup()
S
68 1 7
SophiWP\SiteAutomation\Integration::__construct()
S
74 1 4
deactivate()
S
100 1 2
SophiWP\SiteAutomation\Request::get_cache_duration()
S
78 1 3
SophiWP\SiteAutomation\Services::__set()
S
80 1 3
setup()
S
70 1 6
SophiWP\SiteAutomation\Request::__construct()
S
66 1 9
SophiWP\SiteAutomation\Request::set_api_url()
S
72 1 5
i18n()
S
71 1 5
setup()
S
65 1 8
settings_page()
S
66 1 9