Code Analysis: Polylang Connect for Elementor 2.1.1

Most Complex Functions

Function Rating Complexity
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::render()
C
29
ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher::register_controls()
C
3
fix_cross_domain_assets()
A
9
ConnectPolylangElementor\ElementorAssets::init()
A
8
ConnectPolylangElementor\ConnectPlugins::elementor_editor_script()
A
6
ConnectPolylangElementor\AdminExtras::custom_settings_links()
S
6
ConnectPolylangElementor\LanguageVisibility::visibility_settings()
S
3
ConnectPolylangElementor\ConnectPlugins::query_all_languages()
S
6
ConnectPolylangElementor\LanguageVisibility::visibility_check()
S
6
ConnectPolylangElementor\ConnectPlugins::home_url_language_dir_slash()
S
6
ConnectPolylangElementor\ConnectPlugins::condition_sub_id_translation()
S
6
setup()
S
5