Code Analysis: Dynamic Visibility for Elementor 5.0.0

Function Rating Maintainability Complexity Lines of code
DynamicVisibilityForElementor\Extensions\DynamicVisibility::is_hidden()
D
0
377 1,077
DynamicVisibilityForElementor\Extensions\DynamicVisibility::add_controls()
D
0
55 1,506
DynamicVisibilityForElementor\Helper::is_condition_satisfied()
D
37 37 69
DynamicVisibilityForElementor\Extensions\DynamicVisibility::set_element_view_counters()
C
35 30 86
DynamicVisibilityForElementor\Elements::start_element()
B
43 16 48
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_posts()
A
43 14 45
DynamicVisibilityForElementor\Extensions\DynamicVisibility::add_actions()
A
41 11 55
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_jet()
A
47 11 37
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_users()
A
47 10 36
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::satisfy_dependencies()
A
51 10 30
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_terms_fields()
A
49 9 32
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_taxonomies_fields()
A
49 9 32
DynamicVisibilityForElementor\Extensions\DynamicVisibility::register_controls_sections()
A
40 6 72
DynamicVisibilityForElementor\Elements::end_element()
A
50 9 27
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_acf_flexible_content_layouts()
A
53 8 22
DynamicVisibilityForElementor\Elements::get_element_title_by_id()
A
54 8 21
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_users()
A
49 7 33
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_posts()
S
53 7 24
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_fields()
S
53 7 23
DynamicVisibilityForElementor\Extensions\DynamicVisibility::end_element()
S
54 7 21
DynamicVisibilityForElementor\Ajax::dce_visibility_toggle()
S
54 7 21
DynamicVisibilityForElementor\Helper::get_migrated_icon()
S
54 7 19
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_acf()
S
55 7 19
DynamicVisibilityForElementor\Elements::get_element_name_by_id()
S
57 7 18
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_fields()
S
53 6 21
DynamicVisibilityForElementor\Ajax::dce_visibility_is_hidden()
S
58 6 15
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_fallback()
S
53 5 26
DynamicVisibilityForElementor\Extensions\DynamicVisibility::document_filter()
S
52 5 24
DynamicVisibilityForElementor\Extensions\DynamicVisibility::start_element()
S
55 5 19
DynamicVisibilityForElementor\Helper::ensure_dir()
S
50 4 32
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_taxonomies()
S
58 5 15
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_terms()
S
53 4 22
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_taxonomies_fields()
S
57 4 17
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_sections_injection_locations()
S
51 3 32
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_terms_fields()
S
57 4 16
dynamic_visibility_for_elementor_load()
S
59 4 15
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_metas()
S
59 4 14
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::remove_controls()
S
62 4 13
DynamicVisibilityForElementor\AdminPages\Notices::action_admin_notices()
S
60 4 13
DynamicVisibilityForElementor\Elements::get_last_template_id()
S
60 4 13
DynamicVisibilityForElementor\Helper::can_register_unsafe_controls()
S
62 4 12
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_fallback_content()
S
62 4 11
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_terms()
S
57 3 18
DynamicVisibilityForElementor\Extensions\DynamicVisibility::should_remove_from_dom()
S
65 4 9
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_acfposts()
S
59 3 14
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_metas()
S
59 3 14
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_pods()
S
59 3 14
DynamicVisibilityForElementor\Plugin::dce_editor()
S
49 1 43
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_options()
S
60 3 13
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_common_sections()
S
61 3 12
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::__construct()
S
63 3 11
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_acf()
S
63 3 11
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_authors()
S
53 2 24
DynamicVisibilityForElementor\AdminPages\Notices::render_notice()
S
53 2 23
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_authors()
S
56 2 18
DynamicVisibilityForElementor\Plugin::add_dve_to_elementor()
S
51 1 31
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::_enqueue_styles()
S
67 3 8
DynamicVisibilityForElementor\Modules\QueryControl\Module::ajax_call_filter_autocomplete()
S
64 3 9
DynamicVisibilityForElementor\Wpml::translate_extensions()
S
65 3 9
DynamicVisibilityForElementor\Modules\QueryControl\Module::array_key_matches_regex()
S
65 3 9
DynamicVisibilityForElementor\Elements::get_widget_by_id()
S
64 3 10
DynamicVisibilityForElementor\Extensions\DynamicVisibility::print_conditions()
S
69 3 7
DynamicVisibilityForElementor\Elements::get_element_link_by_id()
S
64 3 9
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::_enqueue_scripts()
S
67 3 8
DynamicVisibilityForElementor\Controls\Control_OOO_Query::content_template()
S
58 1 28
DynamicVisibilityForElementor\AdminPages\Notices::notice()
S
62 2 12
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_dynamic_tag()
S
61 2 12
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_acfposts()
S
54 1 21
DynamicVisibilityForElementor\Plugin::enqueue_admin()
S
60 1 16
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_value_titles_for_acf_flexible_content_layouts()
S
67 2 8
DynamicVisibilityForElementor\Plugin::plugin_row_meta()
S
62 2 10
DynamicVisibilityForElementor\Elements::init()
S
72 2 5
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::enqueue_styles()
S
74 2 5
DynamicVisibilityForElementor\Wpml::add_extensions_fields()
S
72 2 6
DynamicVisibilityForElementor\Wpml::add_form_fields()
S
72 2 6
DynamicVisibilityForElementor\Plugin::instance()
S
72 2 6
DynamicVisibilityForElementor\Helper::update_elementor_control()
S
65 2 9
DynamicVisibilityForElementor\Controls::register_controls()
S
67 2 7
DynamicVisibilityForElementor\Elements::get_template_ids()
S
68 2 8
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::enqueue_scripts()
S
74 2 5
DynamicVisibilityForElementor\Extensions\DynamicVisibility::register_controls_sections_hooks()
S
67 2 7
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_common_sections_actions()
S
67 2 7
DynamicVisibilityForElementor\AdminPages\Notices::action_admin_init()
S
65 2 8
DynamicVisibilityForElementor\Extensions\DynamicVisibility::run_once()
S
63 1 12
DynamicVisibilityForElementor\Controls\Control_OOO_Query::get_default_settings()
S
64 1 12
DynamicVisibilityForElementor\AdminPages\Notices::error()
S
79 1 3
DynamicVisibilityForElementor\Ajax::__construct()
S
82 1 3
DynamicVisibilityForElementor\Controls::on_controls_registered()
S
82 1 3
DynamicVisibilityForElementor\Ajax::init()
S
69 1 6
DynamicVisibilityForElementor\Modules\QueryControl\Module::register_ajax_actions()
S
75 1 4
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_id()
S
72 1 5
dve_admin_notice_minimum_elementor_version()
S
74 1 4
DynamicVisibilityForElementor\AdminPages\Notices::warning()
S
79 1 3
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_id()
S
82 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_description()
S
81 1 3
DynamicVisibilityForElementor\Plugin::add_action_links()
S
73 1 4
DynamicVisibilityForElementor\Modules\QueryControl\Module::get_name()
S
82 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_docs()
S
81 1 3
DynamicVisibilityForElementor\Controls::__construct()
S
82 1 3
DynamicVisibilityForElementor\Plugin::init()
S
66 1 8
DynamicVisibilityForElementor\AdminPages\Notices::__construct()
S
75 1 4
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::enqueue_all()
S
78 1 4
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_actions()
S
91 1 2
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_style_depends()
S
81 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_control_section()
S
66 1 9
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_satisfy_dependencies()
S
75 1 4
DynamicVisibilityForElementor\Controls\Control_OOO_Query::get_type()
S
82 1 3
DynamicVisibilityForElementor\AdminPages\Notices::info()
S
79 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::is_common()
S
82 1 3
dve_fail_load()
S
73 1 4
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_plugin_depends()
S
80 1 3
DynamicVisibilityForElementor\Extensions\DynamicVisibility::__construct()
S
68 1 8
DynamicVisibilityForElementor\Plugin::promo_notice()
S
70 1 5
DynamicVisibilityForElementor\Modules\QueryControl\Module::__construct()
S
82 1 3
DynamicVisibilityForElementor\Wpml::get_extensions_fields()
S
82 1 3
DynamicVisibilityForElementor\Modules\QueryControl\Module::add_actions()
S
79 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_script_depends()
S
80 1 3
DynamicVisibilityForElementor\Plugin::init_managers()
S
69 1 7
DynamicVisibilityForElementor\Extensions\DynamicVisibility::is_common()
S
82 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_style_depends()
S
82 1 3
DynamicVisibilityForElementor\Extensions\DynamicVisibility::get_target_element_types()
S
68 1 8
DynamicVisibilityForElementor\Extensions\DynamicVisibility::check_custom_condition()
S
89 1 2
DynamicVisibilityForElementor\Extensions\DynamicVisibility::render_template()
S
74 1 5
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::add_style_depends()
S
80 1 3
DynamicVisibilityForElementor\Extensions\DynamicVisibility::enqueue_editor_scripts()
S
65 1 10
DynamicVisibilityForElementor\Wpml::__construct()
S
78 1 3
DynamicVisibilityForElementor\Controls::init()
S
80 1 3
DynamicVisibilityForElementor\Extensions\ExtensionPrototype::get_script_depends()
S
82 1 3
DynamicVisibilityForElementor\Elements::__construct()
S
79 1 3
DynamicVisibilityForElementor\AdminPages\Notices::success()
S
79 1 3
DynamicVisibilityForElementor\Modules\QueryControl\Module::ajax_call_control_value_titles()
S
74 1 4
DynamicVisibilityForElementor\Plugin::__construct()
S
76 1 4
DynamicVisibilityForElementor\Controls::get_controls()
S
76 1 4