Jetpack_Top_Posts_Widget B

Total Complexity 97
Dependencies 4
Dependents 1
Total lines 797
Lines of code 440
Logical lines of code 242
Comment lines 262
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
45 9 40
get_fallback_posts()
S
56 4 19
fallback_message()
S
55 3 21
__construct()
S
56 3 17
get_by_likes()
S
68 2 7
hide_widget_in_block_editor()
S
77 1 4
enqueue_style()
S
75 1 4
stats_explanation()
S
73 1 5
defaults()
S
65 1 9