-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
13.4.1
-
Code
-
Classes
- Jetpack_Top_Posts_Widget
Total Complexity |
97 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
800 |
Lines of code |
443 |
Logical lines of code |
243 |
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 |
44 |
9 |
43 |
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 |