-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
10.2
-
Code
-
Classes
- Jetpack_Top_Posts_Widget
Total Complexity |
94 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
673 |
Lines of code |
392 |
Logical lines of code |
230 |
Comment lines |
193 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
widget() |
D |
25 |
36 |
170 |
form() |
A |
38 |
14 |
71 |
get_posts() |
A |
46 |
12 |
37 |
update() |
A |
50 |
10 |
26 |
get_by_views() |
A |
50 |
9 |
25 |
get_fallback_posts() |
S |
54 |
5 |
22 |
__construct() |
S |
58 |
3 |
15 |
get_by_likes() |
S |
68 |
2 |
7 |
enqueue_style() |
S |
75 |
1 |
4 |
stats_explanation() |
S |
74 |
1 |
6 |
defaults() |
S |
65 |
1 |
9 |