AMP_Img_Sanitizer B

Total Complexity 83
Dependencies 9
Dependents 0
Total lines 453
Lines of code 255
Logical lines of code 152
Comment lines 134
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
sanitize()
B
39 17 61
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