-
Home
-
AMP for WP – Accelerated Mobile Pages
-
1.1.1 (latest)
-
Code
-
Classes
- AMPforWP_Fields
Total Complexity |
110 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
487 |
Lines of code |
417 |
Logical lines of code |
239 |
Comment lines |
41 |
Methods |
19 |
Properties |
16 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setField() |
D |
28 |
39 |
136 |
ampforwp_field_select() |
A |
43 |
12 |
44 |
ampforwp_field_switch() |
A |
44 |
9 |
44 |
sub_section_start() |
A |
54 |
8 |
20 |
ampforwp_field_notification() |
S |
50 |
7 |
27 |
ampforwp_field_media() |
S |
45 |
4 |
41 |
ampforwp_field_checkbox() |
S |
56 |
5 |
15 |
ampforwp_field_text() |
S |
56 |
4 |
17 |
section_start() |
S |
59 |
4 |
14 |
ampforwp_field_footer() |
S |
58 |
3 |
15 |
ampforwp_field_color() |
S |
62 |
3 |
10 |
createFields() |
S |
68 |
3 |
7 |
main_section_start() |
S |
65 |
3 |
9 |
sub_section_end() |
S |
82 |
1 |
3 |
main_section_end() |
S |
82 |
1 |
3 |
ampforwp_field_loader() |
S |
82 |
1 |
3 |
loading() |
S |
82 |
1 |
3 |
ampforwp_field_heading() |
S |
79 |
1 |
3 |
section_end() |
S |
82 |
1 |
3 |