Akismet D

Total Complexity 373
Dependencies 3
Dependents 30
Total lines 1,933
Lines of code 1,140
Logical lines of code 712
Comment lines 423
Methods 62
Properties 6

Methods 62

Method Rating Maintainability Complexity Lines of code
auto_check_comment()
D
27
44 116
transition_comment_status()
D
40 40 41
cron_recheck()
B
37 19 65
comments_match()
B
47 20 35
auto_check_update_meta()
B
41 17 51
pre_check_pingback()
A
41 15 55
http_post()
A
39 14 62
submit_spam_comment()
A
44 13 41
submit_nonspam_comment()
A
44 12 39
delete_old_comments()
A
48 9 29
delete_orphaned_commentmeta()
A
50 8 25
get_user_roles()
S
55 7 20
delete_old_comments_meta()
S
53 7 19
prepare_custom_form_values()
S
55 7 18
check_db_comment()
S
48 6 30
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 27
last_comment_status()
S
58 5 15
recheck_comment()
S
50 4 30
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
add_comment_nonce()
S
61 4 11
allow_discard()
S
68 4 7
plugin_activation()
S
62 4 9
verify_key()
S
64 4 9
plugin_deactivation()
S
61 3 13
init_hooks()
S
47 1 35
output_custom_form_fields()
S
70 3 6
get_comment_history()
S
66 3 8
updated_option()
S
67 3 8
set_last_comment()
S
62 2 13
display_comment_form_privacy_notice()
S
62 2 12
deactivate_key()
S
62 2 11
view()
S
64 2 9
load_form_js_via_filter()
S
69 2 6
predefined_api_key()
S
70 2 6
init()
S
74 2 5
set_form_js_async()
S
70 2 6
is_test_mode()
S
79 2 3
get_api_key()
S
77 2 3
get_access_token()
S
63 2 10
added_option()
S
72 2 5
get_ip_address()
S
78 2 3
get_user_agent()
S
78 2 3
get_referer()
S
78 2 3
_cmp_time()
S
78 2 3
matches_last_comment()
S
79 1 3
_get_microtime()
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
append_custom_form_fields()
S
76 1 4
inject_custom_form_fields()
S
74 1 4
build_query()
S
78 1 3