-
Home
-
AMP
-
2.5.5 (latest)
-
Code
-
Classes
- AMP_Img_Sanitizer
Total Complexity |
108 |
Dependencies |
12 |
Dependents |
2 |
Total lines |
586 |
Lines of code |
349 |
Logical lines of code |
192 |
Comment lines |
155 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize() |
C |
33 |
26 |
96 |
adjust_and_replace_node() |
C |
35 |
24 |
78 |
determine_dimensions() |
B |
41 |
19 |
56 |
filter_attributes() |
A |
48 |
12 |
35 |
maybe_add_lightbox_attributes() |
A |
49 |
12 |
30 |
process_picture_elements() |
S |
54 |
6 |
21 |
adjust_and_replace_nodes_in_array_map() |
S |
70 |
3 |
7 |
is_tracking_pixel_url() |
S |
63 |
3 |
10 |
get_selector_conversion_mapping() |
S |
65 |
2 |
11 |
is_gif_url() |
S |
71 |
1 |
5 |