Akismet D

Total Complexity 376
Dependencies 3
Dependents 30
Total lines 2,055
Lines of code 1,220
Logical lines of code 729
Comment lines 430
Methods 65
Properties 6

Methods 65

Method Rating Maintainability Complexity Lines of code
auto_check_comment()
D
23
55 146
transition_comment_status()
D
39 40 46
cron_recheck()
B
37 19 66
auto_check_update_meta()
B
44 17 42
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
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
last_comment_status()
S
58 5 16
recheck_comment()
S
51 4 27
disable_moderation_emails_if_unreachable()
S
61 5 12
last_comment_status_change_came_from_akismet()
S
52 4 26
get_akismet_form_fields()
S
56 4 17
load_form_js()
S
63 5 10
comments_match()
S
63 5 10
fix_scheduled_recheck()
S
59 4 15
update_comment_history()
S
58 4 15
add_comment_nonce()
S
61 4 11
plugin_activation()
S
60 4 11
verify_key()
S
63 4 10
allow_discard()
S
65 4 9
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
get_comment_history()
S
66 3 8
updated_option()
S
67 3 8
output_custom_form_fields()
S
70 3 6
deactivate_key()
S
61 2 12
set_last_comment()
S
63 2 12
get_access_token()
S
63 2 10
predefined_api_key()
S
70 2 6
load_form_js_via_filter()
S
69 2 6
get_api_key()
S
77 2 3
added_option()
S
72 2 5
set_form_js_async()
S
70 2 6
_cmp_time()
S
78 2 3
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
init()
S
74 2 5
_get_microtime()
S
74 1 4
build_query()
S
78 1 3
inject_custom_form_fields()
S
74 1 4
get_last_comment()
S
80 1 3
check_key_status()
S
66 1 8
get_fields_for_comment_matching()
S
70 1 6
matches_last_comment_by_id()
S
79 1 3
add_to_jetpack_options_whitelist()
S
76 1 4
rest_auto_check_comment()
S
78 1 3
append_custom_form_fields()
S
76 1 4