Ditty_Item_Type A

Total Complexity 55
Dependencies 0
Dependents 0
Total lines 505
Lines of code 308
Logical lines of code 73
Comment lines 156
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
content_settings()
A
37 8 86
get_layout_variation_defaults()
A
52 10 24
title_settings()
S
44 3 47
link_settings()
S
49 3 33
get_layout_variation_data()
S
61 4 12
prepare_items()
S
65 3 8
__construct()
S
65 2 9
js_registered()
S
74 2 5
get_script_id()
S
74 2 5
settings()
S
65 2 9
get_values()
S
67 2 8
get_layout_variation_types()
S
63 1 11
editor_preview()
S
82 1 3
editor_meta()
S
82 1 3
sanitize_settings()
S
80 1 3
default_layout()
S
69 1 7
confirm_layout_variations()
S
73 1 5
get_layout_variations()
S
64 1 10
get_layout_tags()
S
80 1 3
fields()
S
91 1 2
get_description()
S
82 1 3
get_icon()
S
82 1 3
get_label()
S
82 1 3
get_type()
S
82 1 3
is_translatable()
S
82 1 3