-
Home
-
Image Optimization by Optimole – Lazy Load, CDN, Convert WebP & AVIF
-
3.3.2
-
Code
-
Classes
- Optml_Settings
Total Complexity |
117 |
Dependencies |
4 |
Dependents |
10 |
Total lines |
569 |
Lines of code |
325 |
Logical lines of code |
180 |
Comment lines |
128 |
Methods |
19 |
Properties |
5 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
parse_settings() |
D |
30 |
43 |
99 |
__construct() |
B |
42 |
24 |
44 |
get_filters() |
A |
53 |
8 |
24 |
update() |
A |
57 |
8 |
17 |
get_cdn_url() |
S |
56 |
7 |
17 |
get_quality() |
S |
62 |
4 |
13 |
is_enabled() |
S |
62 |
4 |
11 |
get_site_settings() |
S |
48 |
2 |
37 |
is_connected() |
S |
64 |
4 |
10 |
get() |
S |
70 |
3 |
6 |
reset() |
S |
66 |
2 |
9 |
auto_connect() |
S |
67 |
1 |
7 |
is_allowed() |
S |
79 |
1 |
3 |
get_watchers() |
S |
80 |
1 |
3 |
get_watermark() |
S |
64 |
1 |
10 |
is_smart_cropping() |
S |
79 |
1 |
3 |
get_numeric_quality() |
S |
76 |
1 |
4 |
use_lazyload() |
S |
76 |
1 |
4 |
use_cdn() |
S |
76 |
1 |
4 |