Code Analysis: PJ News Ticker 1.9.2

Function Rating Maintainability Complexity Lines of code
PjNewsTickerHelper::sanitize()
D
39 43 43
PjNewsTicker::renderNewsTicker()
C
31 24 111
PjNewsTicker::enqueueScripts()
A
42 9 50
add_google_fonts()
A
53 8 21
PjNewsTickerAdmin::renderMenu()
S
56 7 17
PjNewsTicker::custom_content_after_body_open_tag()
S
55 6 20
PjNewsTickerAdmin::renderOptions()
S
53 3 24
PjNewsTickerHelper::validateUrlTwo()
S
65 4 8
PjNewsTickerAdmin::renderRadioButtons()
S
68 4 6
PjNewsTickerAdmin::initSettings()
S
46 1 33
PjNewsTickerHelper::getDefaultOptions()
S
49 1 32
PjNewsTickerAdmin::printDefaultSettingsSectionInfo()
S
51 1 32
PjNewsTickerHelper::validateUrl()
S
67 2 8
PjNewsTickerHelper::validateHtmlColour()
S
66 2 10
PjNewsTickerAdmin::post_cat_cb()
S
64 2 9
PjNewsTickerAdmin::renderTextField()
S
77 2 3
PjNewsTickerAdmin::renderColourPicker()
S
77 2 3
PjNewsTickerAdmin::post_type_cb()
S
63 2 10
PjNewsTickerAdmin::show_label_cb()
S
78 1 3
PjNewsTickerAdmin::label_text_cb()
S
81 1 3
PjNewsTickerAdmin::printTickerStyle_cb()
S
82 1 3
PjNewsTickerAdmin::top_banner_pages_cb()
S
81 1 3
PjNewsTicker::__construct()
S
69 1 6
PjNewsTickerAdmin::addOptionsPage()
S
77 1 3
PjNewsTickerAdmin::show_excerpt_cb()
S
78 1 3
PjNewsTickerAdmin::__construct()
S
72 1 5
PjNewsTickerAdmin::override_posts_custom_text_colour_cb()
S
81 1 3
PjNewsTickerAdmin::override_posts_custom_text_url_cb()
S
81 1 3
PjNewsTickerAdmin::google_font_url_cb()
S
81 1 3
PjNewsTickerAdmin::size_cb()
S
81 1 3
PjNewsTickerAdmin::speed_cb()
S
81 1 3
PjNewsTickerAdmin::label_text_colour_cb()
S
81 1 3
PjNewsTickerAdmin::label_bg_colour_cb()
S
81 1 3
PjNewsTickerAdmin::ticker_bg_colour_cb()
S
81 1 3
PjNewsTickerAdmin::no_content_text_cb()
S
81 1 3
PjNewsTickerAdmin::google_font_choice_cb()
S
78 1 3
PjNewsTickerHelper::getVersion()
S
81 1 3
PjNewsTickerAdmin::override_posts_cb()
S
78 1 3
PjNewsTickerAdmin::target_cb()
S
78 1 3
PjNewsTickerAdmin::google_font_cb()
S
77 1 3
PjNewsTickerAdmin::num_posts_cb()
S
74 1 3
PjNewsTickerAdmin::top_banner_cb()
S
78 1 3
PjNewsTickerAdmin::loadStyles()
S
70 1 6
PjNewsTicker::addShortCode()
S
79 1 3
PjNewsTickerAdmin::override_posts_custom_colour_cb()
S
78 1 3
PjNewsTickerAdmin::printTickerContent_cb()
S
82 1 3
PjNewsTickerAdmin::top_banner_flag_cb()
S
78 1 3
PjNewsTickerAdmin::gap_cb()
S
78 1 3
PjNewsTickerAdmin::override_posts_custom_text_cb()
S
81 1 3
PjNewsTickerAdmin::hide_if_empty_cb()
S
78 1 3
PjNewsTickerAdmin::custom_separator_cb()
S
81 1 3
PjNewsTickerAdmin::top_banner_all_pages_cb()
S
78 1 3