-
Home
-
Better AMP – WordPress Complete AMP
-
1.10.0 (latest)
-
Code
-
Classes
- Better_AMP_IMG_Component
Total Complexity |
58 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
509 |
Lines of code |
216 |
Logical lines of code |
125 |
Comment lines |
178 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_attachment_image() |
A |
42 |
12 |
48 |
normalize_url() |
S |
53 |
7 |
23 |
get_image_dimension() |
S |
54 |
6 |
22 |
modify_attributes() |
S |
58 |
6 |
15 |
is_animated_image_element() |
S |
62 |
5 |
11 |
create_image() |
S |
55 |
4 |
21 |
transform() |
S |
55 |
4 |
19 |
enforce_sizes_attribute() |
S |
62 |
4 |
11 |
head() |
S |
70 |
2 |
6 |
fetch_image_dimension() |
S |
68 |
2 |
7 |
filter_attributes() |
S |
62 |
1 |
13 |
config() |
S |
71 |
1 |
7 |
print_attachment_image() |
S |
80 |
1 |
3 |
is_data_url() |
S |
79 |
1 |
3 |
transform_image_tag_to_amp() |
S |
79 |
1 |
3 |
is_animated_image_url() |
S |
74 |
1 |
4 |