-
Home
-
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP | Image CDN
-
3.9.1
-
Code
-
Classes
- WP_Smush
Total Complexity |
47 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
379 |
Lines of code |
175 |
Logical lines of code |
101 |
Comment lines |
143 |
Methods |
13 |
Properties |
6 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_install() |
B |
42 |
20 |
49 |
wp_smush_rating_message() |
S |
57 |
6 |
16 |
init() |
S |
57 |
5 |
16 |
register_free_modules() |
S |
48 |
3 |
37 |
autoload() |
S |
58 |
3 |
14 |
register_pro_modules() |
S |
60 |
2 |
14 |
get_instance() |
S |
71 |
2 |
6 |
__construct() |
S |
66 |
1 |
8 |
core() |
S |
82 |
1 |
3 |
admin() |
S |
82 |
1 |
3 |
api() |
S |
82 |
1 |
3 |
library() |
S |
82 |
1 |
3 |
is_pro() |
S |
80 |
1 |
3 |