Total Complexity | 97 |
Dependencies | 6 |
Dependents | 11 |
Total lines | 521 |
Lines of code | 365 |
Logical lines of code | 190 |
Comment lines | 10 |
Methods | 30 |
Properties | 11 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
spam() | 42 | 16 | 49 | |
submit() | 38 | 13 | 71 | |
setup_posted_data() | 45 | 11 | 43 | |
mail() | 52 | 6 | 26 | |
get_request_url() | 59 | 5 | 13 | |
remove_uploaded_files() | 61 | 5 | 11 | |
get_instance() | 56 | 4 | 20 | |
validate() | 58 | 3 | 15 | |
get_remote_ip_addr() | 65 | 3 | 9 | |
sanitize_posted_data() | 65 | 3 | 9 | |
get_posted_data() | 65 | 3 | 10 | |
add_uploaded_file() | 70 | 2 | 6 | |
verify_nonce() | 70 | 2 | 6 | |
get_meta() | 73 | 2 | 5 | |
get_invalid_field() | 69 | 2 | 7 | |
set_status() | 69 | 2 | 7 | |
is_restful() | 79 | 2 | 3 | |
before_send_mail() | 64 | 1 | 11 | |
get_invalid_fields() | 82 | 1 | 3 | |
get_contact_form() | 82 | 1 | 3 | |
set_response() | 77 | 1 | 4 | |
accepted() | 79 | 1 | 3 | |
add_consent() | 76 | 1 | 4 | |
collect_consent() | 81 | 1 | 3 | |
get_response() | 82 | 1 | 3 | |
is() | 80 | 1 | 3 | |
is_blacklisted() | 64 | 1 | 10 | |
uploaded_files() | 82 | 1 | 3 | |
get_status() | 82 | 1 | 3 | |
__construct() | 91 | 1 | 2 |