Akismet D

Total Complexity 389
Dependencies 3
Dependents 30
Total lines 2,216
Lines of code 1,310
Logical lines of code 794
Comment lines 467
Methods 69
Properties 5

Methods 69

Method Rating Maintainability Complexity Lines of code
auto_check_comment()
D
22
57 158
transition_comment_status()
D
39 40 46
cron_recheck()
B
36 19 72
auto_check_update_meta()
B
43 18 45
http_post()
B
38 15 68
submit_spam_comment()
A
42 13 48
submit_nonspam_comment()
A
43 12 45
pre_check_pingback()
A
46 11 36
delete_old_comments()
A
47 9 31
delete_orphaned_commentmeta()
A
49 8 28
last_comment_check_response()
A
47 7 40
delete_old_comments_meta()
S
52 7 22
get_user_roles()
S
54 7 22
prepare_custom_form_values()
S
55 7 18
check_db_comment()
S
48 6 31
approval_fallback()
S
50 6 26
bail_on_activation()
S
48 5 40
sanitize_comment_as_submitted()
S
56 6 19
get_user_comments_approved()
S
55 6 18
log()
S
69 7 5
update_alert()
S
51 5 28
recheck_comment()
S
49 4 33
last_comment_status()
S
58 5 16
last_comment_status_change_came_from_akismet()
S
52 4 27
get_akismet_form_fields()
S
56 4 17
update_comment_history()
S
58 4 15
fix_scheduled_recheck()
S
59 4 15
comments_match()
S
63 5 10
load_form_js()
S
63 5 10
add_comment_nonce()
S
61 4 11
verify_key()
S
63 4 10
allow_discard()
S
65 4 9
plugin_activation()
S
61 4 10
plugin_deactivation()
S
61 3 13
disable_emails_if_unreachable()
S
63 3 11
init_hooks()
S
45 1 40
display_comment_form_privacy_notice()
S
54 2 23
updated_option()
S
67 3 8
get_comment_history()
S
66 3 8
output_custom_form_fields()
S
70 3 6
view()
S
63 3 10
deactivate_key()
S
61 2 12
set_last_comment()
S
63 2 12
email_fallback()
S
61 2 12
schedule_email_fallback()
S
62 2 11
schedule_approval_fallback()
S
62 2 11
init()
S
74 2 5
get_api_key()
S
77 2 3
get_access_token()
S
63 2 10
added_option()
S
72 2 5
is_test_mode()
S
79 2 3
get_ip_address()
S
78 2 3
matches_last_comment()
S
71 2 6
get_user_agent()
S
78 2 3
get_referer()
S
78 2 3
_cmp_time()
S
78 2 3
set_form_js_async()
S
70 2 6
predefined_api_key()
S
70 2 6
load_form_js_via_filter()
S
69 2 6
check_key_status()
S
66 1 8
add_to_jetpack_options_whitelist()
S
76 1 4
rest_auto_check_comment()
S
78 1 3
get_last_comment()
S
80 1 3
matches_last_comment_by_id()
S
79 1 3
get_fields_for_comment_matching()
S
70 1 6
_get_microtime()
S
74 1 4
inject_custom_form_fields()
S
74 1 4
append_custom_form_fields()
S
76 1 4
build_query()
S
78 1 3