-
Home
-
AMP
-
2.1.2
-
Code
-
Classes
- AMP_Img_Sanitizer
| Total Complexity |
87 |
| Dependencies |
9 |
| Dependents |
0 |
| Total lines |
465 |
| Lines of code |
267 |
| Logical lines of code |
152 |
| Comment lines |
134 |
| Methods |
9 |
| Properties |
3 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize() |
B |
37 |
21 |
73 |
| determine_dimensions() |
B |
43 |
17 |
45 |
| adjust_and_replace_node() |
A |
41 |
15 |
54 |
| maybe_add_lightbox_attributes() |
A |
48 |
14 |
32 |
| filter_attributes() |
A |
48 |
12 |
34 |
| adjust_and_replace_nodes_in_array_map() |
S |
70 |
3 |
7 |
| does_node_have_block_class() |
S |
65 |
3 |
9 |
| get_selector_conversion_mapping() |
S |
69 |
1 |
8 |
| is_gif_url() |
S |
71 |
1 |
5 |