Code Analysis: Polylang Connect for Elementor 2.0.0

Function Rating Maintainability Complexity Lines of code
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::render()
C
32 29 87
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::_register_controls()
C
19
3 428
ConnectPolylangElementor\ConnectPlugins::elementor_editor_script()
A
42 6 53
ConnectPolylangElementor\AdminExtras::custom_settings_links()
S
50 6 31
ConnectPolylangElementor\LanguageVisibility::visibility_settings()
S
42 3 62
ConnectPolylangElementor\ConnectPlugins::query_all_languages()
S
59 6 14
ConnectPolylangElementor\LanguageVisibility::visibility_check()
S
60 6 11
ConnectPolylangElementor\ConnectPlugins::condition_sub_id_translation()
S
63 6 10
setup()
S
60 5 13
ConnectPolylangElementor\Finder\PolylangCategory::get_category_items()
S
44 2 49
ConnectPolylangElementor\DynamicTags\LanguageFlag::register_controls()
S
52 3 27
ConnectPolylangElementor\ConnectPlugins::update_conditions_on_term_change()
S
71 4 5
ConnectPolylangElementor\ConnectPlugins::prevent_elementor_css_meta()
S
70 4 5
ConnectPolylangElementor\DynamicTags\LanguageFlag::get_value()
S
61 3 12
ConnectPolylangElementor\Util\Info::val()
S
53 2 22
ConnectPolylangElementor\ConnectPlugins::__construct()
S
55 2 18
cpel_is_translation()
S
71 3 5
ConnectPolylangElementor\ConnectPlugins::home_url_language_dir_slash()
S
77 3 3
ConnectPolylangElementor\ConnectPlugins::hide_language_column_pre()
S
69 3 6
ConnectPolylangElementor\Util\Info::url()
S
67 3 7
ConnectPolylangElementor\ConnectPlugins::hide_language_column_pos()
S
69 3 6
ConnectPolylangElementor\Widgets\Manager::register_styles()
S
72 3 4
ConnectPolylangElementor\ConnectPlugins::elementor_conditions_empty_on_translations()
S
71 3 6
ConnectPolylangElementor\ConnectPlugins::add_polylang_post_types()
S
58 1 18
ConnectPolylangElementor\ConnectPlugins::theme_builder_conditions_remove_empty()
S
70 2 6
cpel_flag_code()
S
77 2 3
ConnectPolylangElementor\ConnectPlugins::template_id_translation()
S
74 2 5
ConnectPolylangElementor\Finder\Manager::elementor_finder_add_items()
S
69 2 7
ConnectPolylangElementor\AdminExtras::plugin_links()
S
68 2 7
cpel_flag_svg()
S
64 2 10
cpel_is_polylang_free_active()
S
79 2 3
ConnectPolylangElementor\LanguageVisibility::__construct()
S
62 1 11
ConnectPolylangElementor\Widgets\Manager::register_widget()
S
81 1 3
ConnectPolylangElementor\Widgets\Manager::__construct()
S
75 1 4
ConnectPolylangElementor\DynamicTags\LanguageUrl::get_categories()
S
81 1 3
cpel_is_elementor_pro_active()
S
81 1 3
ConnectPolylangElementor\DynamicTags\LanguageCode::get_title()
S
79 1 3
ConnectPolylangElementor\DynamicTags\LanguageFlag::get_title()
S
79 1 3
ConnectPolylangElementor\DynamicTags\LanguageFlag::get_categories()
S
81 1 3
ConnectPolylangElementor\ConnectPlugins::elementor_home_url_white_list()
S
73 1 5
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_keywords()
S
68 1 8
ConnectPolylangElementor\DynamicTags\LanguageName::get_name()
S
82 1 3
cpel_is_polylang_pro_active()
S
81 1 3
ConnectPolylangElementor\DynamicTags\LanguageUrl::get_value()
S
80 1 3
ConnectPolylangElementor\AdminExtras::__construct()
S
71 1 5
ConnectPolylangElementor\LanguageVisibility::preview_styles()
S
80 1 3
cpel_is_polylang_active()
S
81 1 3
ConnectPolylangElementor\DynamicTags\Manager::__construct()
S
79 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_title()
S
79 1 3
ConnectPolylangElementor\DynamicTags\LanguageName::get_title()
S
79 1 3
load_textdomain()
S
78 1 3
ConnectPolylangElementor\DynamicTags\LanguageUrl::get_name()
S
82 1 3
ConnectPolylangElementor\DynamicTags\LanguageCode::get_categories()
S
81 1 3
ConnectPolylangElementor\DynamicTags\LanguageName::get_categories()
S
81 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_categories()
S
80 1 3
ConnectPolylangElementor\DynamicTags\LanguageName::render()
S
80 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_style_depends()
S
81 1 3
ConnectPolylangElementor\Finder\Manager::__construct()
S
79 1 3
ConnectPolylangElementor\ConnectPlugins::elementor_theme_editor_title()
S
74 1 4
ConnectPolylangElementor\Finder\PolylangCategory::get_id()
S
82 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_script_depends()
S
82 1 3
ConnectPolylangElementor\DynamicTags\LanguageCode::render()
S
80 1 3
ConnectPolylangElementor\DynamicTags\Manager::register_dynamic_tags()
S
67 1 7
ConnectPolylangElementor\DynamicTags\LanguageCode::get_name()
S
82 1 3
ConnectPolylangElementor\Finder\PolylangCategory::get_title()
S
79 1 3
ConnectPolylangElementor\Util\Info::link()
S
66 1 9
ConnectPolylangElementor\DynamicTags\LanguageFlag::get_name()
S
82 1 3
ConnectPolylangElementor\DynamicTags\LanguageUrl::get_title()
S
79 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_name()
S
82 1 3
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::get_icon()
S
82 1 3
ConnectPolylangElementor\DynamicTags\LanguageUrl::get_panel_template()
S
82 1 3
cpel_is_elementor_active()
S
81 1 3