Total Complexity | 93 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 408 |
Lines of code | 238 |
Logical lines of code | 124 |
Comment lines | 105 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_cookie_notice() | 33 | 26 | 78 | |
add_cookie_compliance() | 45 | 17 | 35 | |
init() | 47 | 16 | 28 | |
wp_enqueue_notice_scripts() | 48 | 9 | 28 | |
get_custom_items() | 58 | 7 | 15 | |
change_body_class() | 61 | 4 | 13 | |
sanitize_field() | 63 | 3 | 12 | |
wp_print_footer_scripts() | 67 | 3 | 7 | |
wp_print_header_scripts() | 67 | 3 | 7 | |
wp_enqueue_script_async() | 72 | 2 | 5 | |
__construct() | 79 | 1 | 3 | |
add_compliance_http_header() | 76 | 1 | 4 | |
purge_cache() | 81 | 1 | 3 |