-
Home
-
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
-
2.5.7
-
Code
-
Classes
- Optml_Settings
Total Complexity |
99 |
Dependencies |
1 |
Dependents |
8 |
Total lines |
498 |
Lines of code |
278 |
Logical lines of code |
151 |
Comment lines |
120 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
parse_settings() |
D |
34 |
34 |
84 |
__construct() |
B |
46 |
20 |
33 |
get_filters() |
A |
53 |
8 |
24 |
update() |
A |
57 |
8 |
17 |
get_cdn_url() |
S |
59 |
4 |
14 |
get_quality() |
S |
62 |
4 |
13 |
is_enabled() |
S |
62 |
4 |
11 |
is_connected() |
S |
64 |
4 |
10 |
get() |
S |
70 |
3 |
6 |
get_site_settings() |
S |
52 |
1 |
26 |
reset() |
S |
66 |
2 |
9 |
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 |
is_allowed() |
S |
79 |
1 |
3 |