Akismet D

Total Complexity 389
Dependencies 3
Dependents 30
Total lines 2,056
Lines of code 1,239
Logical lines of code 732
Comment lines 413
Methods 63
Properties 6

Methods 63

Method Rating Maintainability Complexity Lines of code
auto_check_comment()
D
24
52 131
transition_comment_status()
D
39 40 46
auto_check_update_meta()
B
39 20 61
cron_recheck()
B
37 19 66
comments_match()
B
47 20 35
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
get_user_roles()
S
54 7 22
delete_old_comments_meta()
S
52 7 22
prepare_custom_form_values()
S
55 7 18
check_db_comment()
S
48 6 31
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
disable_moderation_emails_if_unreachable()
S
59 6 14
update_alert()
S
51 5 28
last_comment_status()
S
58 5 16
recheck_comment()
S
51 4 27
last_comment_status_change_came_from_akismet()
S
52 4 26
get_akismet_form_fields()
S
56 4 17
update_comment_history()
S
58 4 15
fix_scheduled_recheck()
S
59 4 15
load_form_js()
S
63 5 10
plugin_activation()
S
60 4 11
add_comment_nonce()
S
61 4 11
allow_discard()
S
65 4 9
verify_key()
S
63 4 10
plugin_deactivation()
S
61 3 13
view()
S
61 3 11
display_comment_form_privacy_notice()
S
54 2 23
init_hooks()
S
47 1 35
updated_option()
S
67 3 8
get_comment_history()
S
66 3 8
output_custom_form_fields()
S
70 3 6
set_last_comment()
S
63 2 12
deactivate_key()
S
61 2 12
predefined_api_key()
S
70 2 6
load_form_js_via_filter()
S
69 2 6
init()
S
74 2 5
set_form_js_async()
S
70 2 6
get_user_agent()
S
78 2 3
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
_cmp_time()
S
78 2 3
get_referer()
S
78 2 3
get_ip_address()
S
78 2 3
matches_last_comment()
S
79 1 3
build_query()
S
78 1 3
inject_custom_form_fields()
S
74 1 4
get_last_comment()
S
80 1 3
rest_auto_check_comment()
S
78 1 3
add_to_jetpack_options_whitelist()
S
76 1 4
check_key_status()
S
66 1 8
_get_microtime()
S
74 1 4
append_custom_form_fields()
S
76 1 4