Jetpack_Top_Posts_Widget B

Total Complexity 96
Dependencies 4
Dependents 1
Total lines 784
Lines of code 434
Logical lines of code 239
Comment lines 256
Methods 12
Properties 2

Methods 12

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
58 3 15
get_by_likes()
S
68 2 7
enqueue_style()
S
75 1 4
stats_explanation()
S
73 1 5
defaults()
S
65 1 9