Jetpack_Top_Posts_Widget B

Total Complexity 98
Dependencies 5
Dependents 1
Total lines 803
Lines of code 445
Logical lines of code 244
Comment lines 263
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
widget()
D
25
36 172
form()
B
37 14 77
get_posts()
A
46 12 37
update()
A
49 10 28
get_by_views()
A
44 9 43
get_fallback_posts()
S
56 4 19
fallback_message()
S
55 3 21
__construct()
S
56 3 17
hide_widget_in_block_editor()
S
71 2 6
get_by_likes()
S
68 2 7
enqueue_style()
S
75 1 4
stats_explanation()
S
73 1 5
defaults()
S
65 1 9