Element_Base A

Total Complexity 75
Dependencies 3
Dependents 5
Total lines 850
Lines of code 278
Logical lines of code 137
Comment lines 464
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
add_render_attributes()
A
44 13 42
add_link_attributes()
S
55 6 20
print_element()
S
49 5 30
add_child()
S
60 4 14
init_children()
S
61 4 13
add_hidden_device_controls()
S
55 3 19
get_initial_config()
S
56 3 18
enqueue_scripts()
S
60 3 14
__construct()
S
67 3 8
get_raw_data()
S
60 2 14
get_child_type()
S
67 2 8
print_content()
S
74 2 5
get_children()
S
72 2 6
enqueue_styles()
S
74 2 5
get_help_url()
S
80 1 3
_add_render_attributes()
S
74 1 4
get_script_depends()
S
82 1 3
get_style_depends()
S
82 1 3
add_edit_tool()
S
94 1 1
_print_content()
S
75 1 4
get_default_data()
S
66 1 9
is_edit_buttons_enabled()
S
79 1 3
_get_default_child_type()
S
100 1 0
is_type_instance()
S
82 1 3
get_custom_help_url()
S
82 1 3
get_unique_selector()
S
80 1 3
before_render()
S
98 1 1
after_render()
S
98 1 1
get_title()
S
82 1 3
get_icon()
S
82 1 3
get_default_args()
S
79 1 3
add_style_depends()
S
80 1 3
should_print_empty()
S
82 1 3
is_reload_preview_required()
S
82 1 3
add_script_depends()
S
80 1 3