-
Home
-
Ampify
-
1.1.0 (latest)
-
Code
-
Classes
- AmpifyPlugin
Total Complexity |
35 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
251 |
Lines of code |
205 |
Logical lines of code |
82 |
Comment lines |
1 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ampify_settings() |
S |
45 |
2 |
81 |
add_cors_headers() |
S |
55 |
6 |
21 |
__construct() |
S |
58 |
6 |
15 |
isPageIncluded() |
S |
59 |
4 |
15 |
isPageExcluded() |
S |
60 |
4 |
14 |
getProtocol() |
S |
65 |
4 |
9 |
wp_head_hook() |
S |
68 |
2 |
6 |
is_amp() |
S |
68 |
2 |
7 |
generate_amp() |
S |
60 |
1 |
12 |
isGlobMatch() |
S |
63 |
1 |
11 |
getBaseUrl() |
S |
72 |
1 |
5 |
add_admin_menu() |
S |
77 |
1 |
3 |
register_settings() |
S |
71 |
1 |
6 |