-
Home
-
AMP for WP – Accelerated Mobile Pages
-
1.0.77.52
-
Code
-
Classes
- AMPforWP_Fields
Total Complexity |
109 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
469 |
Lines of code |
416 |
Logical lines of code |
239 |
Comment lines |
33 |
Methods |
19 |
Properties |
13 |
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 |
46 |
4 |
41 |
ampforwp_field_checkbox() |
S |
55 |
5 |
16 |
section_start() |
S |
59 |
4 |
14 |
ampforwp_field_footer() |
S |
58 |
3 |
15 |
ampforwp_field_text() |
S |
58 |
3 |
14 |
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 |
77 |
1 |
4 |
ampforwp_field_heading() |
S |
79 |
1 |
3 |
section_end() |
S |
82 |
1 |
3 |