Milestone_Widget A

Total Complexity 67
Dependencies 2
Dependents 1
Total lines 741
Lines of code 523
Logical lines of code 228
Comment lines 158
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
get_widget_data()
C
29
17 172
get_unit()
A
47 12 37
form()
A
35 3 115
get_interval_in_units()
S
55 7 18
__construct()
S
56 4 17
sanitize_color_hex()
S
61 4 12
widget()
S
50 3 27
localize_script()
S
62 4 11
enqueue_template()
S
60 3 15
enqueue_admin()
S
59 2 15
sanitize_range()
S
66 3 9
sanitize_instance()
S
51 1 28
styles_template()
S
57 1 20
defaults()
S
57 1 16
enqueue_scripts()
S
69 1 8
update()
S
80 1 3