AMP_Img_Sanitizer C

Total Complexity 107
Dependencies 12
Dependents 2
Total lines 582
Lines of code 347
Logical lines of code 190
Comment lines 154
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
maybe_add_lightbox_attributes()
A
49 12 30
filter_attributes()
A
49 11 33
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