Total Complexity | 31 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 167 |
Lines of code | 120 |
Logical lines of code | 52 |
Comment lines | 20 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_wpml_homepage_versions() | 51 | 7 | 27 | |
is_preview_request() | 65 | 5 | 9 | |
allow_sitemap_access() | 63 | 3 | 9 | |
add_wpml_homepage_versions_to_partial() | 68 | 3 | 7 | |
ensure_defender_login_redirect() | 65 | 3 | 9 | |
get() | 71 | 2 | 6 | |
prevent_wpml_url_translation() | 70 | 2 | 7 | |
init() | 59 | 1 | 14 | |
avada_omitted_shortcodes() | 68 | 1 | 8 | |
divi_omitted_shortcodes() | 72 | 1 | 6 | |
wpbakery_omitted_shortcodes() | 72 | 1 | 6 | |
swift_omitted_shortcodes() | 72 | 1 | 6 | |
get_sitemap_homepage_item() | 71 | 1 | 6 |