-
Home
-
AMP
-
2.2.1
-
Code
-
Classes
- AMP_Img_Sanitizer
| Total Complexity |
94 |
| Dependencies |
10 |
| Dependents |
2 |
| Total lines |
502 |
| Lines of code |
288 |
| Logical lines of code |
167 |
| Comment lines |
144 |
| Methods |
9 |
| Properties |
3 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize() |
B |
36 |
23 |
75 |
| adjust_and_replace_node() |
B |
37 |
19 |
71 |
| determine_dimensions() |
B |
44 |
17 |
44 |
| 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 |
65 |
2 |
11 |
| is_gif_url() |
S |
71 |
1 |
5 |