Code Analysis: Podiant 1.1

Function Rating Maintainability Complexity Lines of code
Parsedown::linesElements()
C
35 24 81
Podiant::log()
B
36 21 80
Parsedown::blockTable()
B
36 17 81
Parsedown::element()
B
43 19 46
Parsedown::blockListContinue()
B
40 17 56
Podiant_Admin::notices()
A
39 12 74
Podiant_Settings_Controller::update_permalinks()
A
42 13 54
Parsedown::blockList()
A
41 13 51
Parsedown::lineElements()
A
42 12 50
Podiant_API::perform()
A
39 10 70
Podiant_Episode::save()
A
36 8 87
Podiant_Episode::__construct()
A
48 10 35
Podiant_Settings_Controller::render()
A
43 9 48
WP_Background_Process::handle()
A
50 10 29
Podiant_Player_Shortcode::handle()
A
46 9 42
Parsedown::inlineMarkup()
A
52 10 23
Podiant_Episode::update()
A
49 9 32
Podiant_Podcast::__construct()
A
50 9 31
Podiant_Player::render()
A
44 8 45
Podiant_Settings_Controller::update_display_prefs()
A
46 8 41
Parsedown::inlineLink()
A
44 7 49
Parsedown::blockTableContinue()
A
47 7 36
Podiant::notice()
S
50 7 30
Podiant_API::iterate()
S
50 7 28
Parsedown::sanitiseElement()
S
52 7 24
Podiant_Settings_Controller::get()
S
53 7 22
Podiant_Settings_Controller::post()
S
55 7 19
Podiant_Public::filter_main_query()
S
56 7 19
Podiant_Admin::filter_episode_query()
S
56 7 18
Parsedown::elements()
S
57 7 17
Parsedown::inlineUrl()
S
53 6 22
Podiant_Public::sync_episodes()
S
55 6 19
Podiant_Episode::player()
S
48 5 33
Parsedown::blockSetextHeader()
S
62 7 9
Parsedown::inlineEmphasis()
S
52 5 24
Parsedown::handle()
S
54 5 23
Parsedown::blockHeader()
S
54 5 22
Podiant_Episode::get_from_wp()
S
55 5 19
Parsedown::blockMarkup()
S
55 5 19
Parsedown::blockFencedCodeContinue()
S
55 5 18
Podiant_Public::filter_episode_content()
S
56 5 18
Parsedown::blockCode()
S
56 5 18
Parsedown::blockComment()
S
57 5 17
Podiant_Notice::show()
S
59 5 15
Parsedown::blockFencedCode()
S
51 4 28
Parsedown::blockQuoteContinue()
S
60 5 13
Podiant_Public::disable_sync()
S
60 5 13
Podiant_Public::enable_sync()
S
60 5 13
Podiant::option()
S
52 4 26
Podiant_Settings_Controller::update_podcasts()
S
47 3 41
Parsedown::inlineImage()
S
52 4 24
Podiant_Episode::create_or_update()
S
48 3 39
Parsedown::inlineEmailTag()
S
53 4 23
Podiant_Podcast::delete()
S
57 4 19
Parsedown::inlineStrikethrough()
S
56 4 18
Podiant_Podcast::save()
S
59 4 16
Parsedown::blockReference()
S
57 4 16
Podiant_Episode::get()
S
50 3 30
Parsedown::li()
S
63 5 10
Podiant_Download::__destruct()
S
61 4 13
WP_Background_Process::get_memory_limit()
S
62 4 11
Podiant_Download::save()
S
62 4 11
Podiant_Settings_Controller::validate_pull_key()
S
62 4 11
Parsedown::inlineSpecialCharacter()
S
61 4 11
Podiant_Public::register_post_types()
S
42 1 54
Podiant_Admin::bar_menu()
S
54 3 23
Podiant_Admin::add_episode_filter_options()
S
56 3 18
Podiant_Podcast::get_term_id()
S
58 3 17
Podiant::__construct()
S
58 3 17
WP_Background_Process::is_queue_empty()
S
57 3 16
Podiant_Player_Widget::update()
S
63 4 10
Parsedown::extractElement()
S
64 4 10
Podiant_Admin::validate_player_style_list()
S
66 4 9
Podiant_Admin::validate_player_style_single()
S
66 4 9
Podiant_Admin::validate_player_position()
S
66 4 9
Parsedown::inlineUrlTag()
S
58 3 15
Parsedown::blockListComplete()
S
63 4 10
Parsedown::pregReplaceElements()
S
58 3 15
Podiant_Action_Queue::task()
S
59 3 14
WP_Background_Process::maybe_handle()
S
63 3 12
Parsedown::blockCodeContinue()
S
61 3 12
Podiant_Player_Widget::form()
S
61 3 11
WP_Background_Process::handle_cron_healthcheck()
S
65 3 11
Parsedown::blockRule()
S
62 3 11
WP_Background_Process::get_batch()
S
52 2 25
Podiant::load_dependencies()
S
54 2 22
Podiant_Public::register_taxonomy()
S
47 1 35
Podiant_Podcast::sync()
S
58 2 17
Parsedown::filterUnsafeUrlInAttribute()
S
64 3 9
Parsedown::blockCommentContinue()
S
63 3 10
Podiant_Podcast::get()
S
63 3 10
Podiant_Podcast::get_from_wp()
S
66 3 8
Podiant_Download::attach()
S
65 3 9
Parsedown::inlineText()
S
59 2 15
Podiant_Admin::validate_sync_enabled()
S
67 3 9
Parsedown::inlineEscapeSequence()
S
66 3 8
Parsedown::blockQuote()
S
59 2 15
Parsedown::elementApplyRecursive()
S
65 3 9
Parsedown::elementApplyRecursiveDepthFirst()
S
65 3 9
Podiant_Latest_Episode_Player_Widget::widget()
S
65 3 8
Podiant_Loader::run()
S
64 3 9
Podiant::validate_option()
S
69 3 6
Parsedown::blockMarkupContinue()
S
67 3 7
Podiant_Player_Widget::widget()
S
66 3 8
podiant_do_action_async()
S
61 2 14
Parsedown::inlineCode()
S
59 2 14
WP_Async_Request::get_post_args()
S
62 2 12
WP_Background_Process::schedule_cron_healthcheck()
S
62 2 11
Podiant_CLI::sync_podcasts()
S
63 2 11
Podiant::define_public_hooks()
S
54 1 20
Podiant_Admin::menu()
S
57 1 18
Podiant::define_admin_hooks()
S
55 1 18
Podiant_Player_Block::register()
S
59 1 16
WP_Background_Process::save()
S
69 2 7
WP_Background_Process::update()
S
71 2 6
Podiant_Settings_Controller::dispatch()
S
71 2 6
Parsedown::escape()
S
77 2 3
WP_Background_Process::schedule_event()
S
73 2 5
Podiant_Podcast::list()
S
67 2 8
WP_Background_Process::time_exceeded()
S
66 2 8
Podiant::define_cron_hooks()
S
67 2 7
WP_Background_Process::cancel_process()
S
69 2 7
Podiant_Cron::run()
S
64 2 10
WP_Async_Request::get_query_url()
S
71 2 6
Parsedown::instance()
S
67 2 8
WP_Background_Process::clear_scheduled_event()
S
71 2 6
Parsedown::paragraphContinue()
S
68 2 7
WP_Background_Process::memory_exceeded()
S
64 2 9
Parsedown::elementsApplyRecursiveDepthFirst()
S
70 2 6
Podiant_Podcast::store()
S
70 2 6
Podiant_Loader::register_widgets()
S
74 2 5
Parsedown::elementsApplyRecursive()
S
70 2 6
WP_Background_Process::lock_process()
S
68 2 6
WP_Background_Process::is_process_running()
S
71 2 6
Podiant_Player::__construct()
S
70 2 6
Parsedown::striAtStart()
S
66 2 8
WP_Async_Request::get_query_args()
S
66 2 9
Podiant_Admin::validate_episodes_prefix()
S
68 2 7
Podiant_Admin::validate_podcasts_prefix()
S
68 2 7
Parsedown::paragraph()
S
61 1 13
Podiant_Activator::activate()
S
81 1 3
WP_Background_Process::push_to_queue()
S
76 1 4
WP_Background_Process::generate_key()
S
71 1 5
Podiant_Admin::flush_rewrite_rules()
S
77 1 4
podiant_option()
S
76 1 4
Podiant_Loader::add_filter()
S
77 1 3
Podiant_Loader::add_action()
S
77 1 3
Parsedown::lines()
S
80 1 3
run_podiant()
S
73 1 5
Podiant_Podcast::create()
S
73 1 5
WP_Async_Request::handle()
S
100 1 0
Parsedown::isBlockContinuable()
S
78 1 3
Podiant_i18n::load_plugin_textdomain()
S
69 1 7
Podiant_Loader::add()
S
64 1 10
WP_Background_Process::delete()
S
77 1 4
WP_Background_Process::unlock_process()
S
76 1 4
Podiant_Podcast::create_or_update_post()
S
79 1 3
WP_Background_Process::complete()
S
82 1 3
Podiant_Admin::sync_podcast()
S
70 1 7
WP_Background_Process::__construct()
S
67 1 7
activate_podiant()
S
76 1 4
Parsedown::setUrlsLinked()
S
77 1 4
Parsedown::setStrictMode()
S
77 1 4
Podiant_Download::__construct()
S
81 1 3
Podiant_Loader::__construct()
S
74 1 5
Podiant_API::__construct()
S
77 1 4
Podiant_Admin::enqueue_styles()
S
77 1 3
Podiant::get_loader()
S
82 1 3
WP_Async_Request::dispatch()
S
72 1 5
Podiant_Episode::create()
S
73 1 5
Podiant::define_cli_commands()
S
74 1 4
Parsedown::setSafeMode()
S
77 1 4
Parsedown::text()
S
70 1 6
Parsedown::unmarkedText()
S
75 1 4
Podiant_Admin::__construct()
S
72 1 5
Podiant::setup_queue()
S
80 1 3
Podiant_Podcast::fetch_episodes()
S
71 1 5
Podiant_API::get()
S
75 1 4
Parsedown::parse()
S
77 1 4
Podiant_Action_Queue::complete()
S
80 1 3
Podiant_Player_Widget::__construct()
S
66 1 9
Podiant_Deactivator::deactivate()
S
73 1 5
Podiant_Admin::enqueue_scripts()
S
77 1 3
WP_Async_Request::maybe_handle()
S
71 1 6
Parsedown::setMarkupEscaped()
S
77 1 4
Podiant_Podcast::dict()
S
67 1 8
Parsedown::setBreaksEnabled()
S
77 1 4
Podiant_Public::enqueue_styles()
S
77 1 3
Podiant_CLI::__construct()
S
77 1 4
Podiant_Public::enqueue_scripts()
S
77 1 3
Podiant::get_sync_queue()
S
82 1 3
WP_Background_Process::dispatch()
S
77 1 4
Podiant::download()
S
80 1 3
Parsedown::blockCodeComplete()
S
82 1 3
Parsedown::isBlockCompletable()
S
78 1 3
podiant_notice()
S
76 1 4
Podiant_Public::__construct()
S
77 1 4
Parsedown::handleElementsRecursive()
S
79 1 3
Parsedown::handleElementRecursive()
S
79 1 3
Podiant::run()
S
82 1 3
WP_Async_Request::data()
S
77 1 4
Podiant::get_plugin_name()
S
82 1 3
Podiant_Notice::__construct()
S
71 1 6
Parsedown::textElements()
S
68 1 7
Podiant_Podcast::count()
S
76 1 4
podiant_plugin()
S
81 1 3
Parsedown::line()
S
79 1 3
WP_Async_Request::__construct()
S
71 1 5
podiant_log()
S
75 1 4
Podiant::set_locale()
S
75 1 4
Podiant::get_version()
S
82 1 3
Parsedown::blockFencedCodeComplete()
S
82 1 3
Podiant_Cron::__construct()
S
77 1 4
deactivate_podiant()
S
76 1 4
Podiant_OEmbed_Provider::register()
S
73 1 6
Podiant_Loader::add_widget()
S
80 1 3
WP_Background_Process::task()
S
100 1 0