Akismet D

Total Complexity 328
Dependencies 4
Dependents 30
Total lines 1,619
Lines of code 974
Logical lines of code 613
Comment lines 343
Methods 55
Properties 6

Methods 55

Method Rating Maintainability Complexity Lines of code
auto_check_comment()
D
30 36 98
transition_comment_status()
D
43 37 33
cron_recheck()
B
37 19 65
comments_match()
B
47 20 35
auto_check_update_meta()
B
42 16 48
pre_check_pingback()
A
40 15 58
http_post()
A
39 14 62
submit_spam_comment()
A
44 13 40
submit_nonspam_comment()
A
44 12 38
delete_orphaned_commentmeta()
A
50 8 25
get_user_roles()
S
55 7 19
check_db_comment()
S
49 6 29
bail_on_activation()
S
48 5 40
delete_old_comments()
S
51 6 23
delete_old_comments_meta()
S
54 6 19
sanitize_comment_as_submitted()
S
56 6 19
log()
S
69 7 5
recheck_comment()
S
50 4 30
last_comment_status()
S
58 5 15
disable_moderation_emails_if_unreachable()
S
61 5 12
update_alert()
S
57 4 17
update_comment_history()
S
58 4 15
fix_scheduled_recheck()
S
59 4 15
add_comment_nonce()
S
61 4 11
load_form_js()
S
63 4 10
plugin_activation()
S
62 4 9
allow_discard()
S
68 4 7
verify_key()
S
64 4 9
plugin_deactivation()
S
61 3 13
get_comment_history()
S
66 3 8
get_user_comments_approved()
S
65 3 8
updated_option()
S
67 3 8
set_last_comment()
S
62 2 13
display_comment_form_privacy_notice()
S
62 2 12
init_hooks()
S
52 1 23
get_referer()
S
78 2 3
get_user_agent()
S
78 2 3
predefined_api_key()
S
70 2 6
get_api_key()
S
77 2 3
deactivate_key()
S
68 2 6
added_option()
S
72 2 5
view()
S
64 2 9
init()
S
74 2 5
set_form_js_async()
S
70 2 6
is_test_mode()
S
79 2 3
_cmp_time()
S
78 2 3
get_ip_address()
S
78 2 3
get_last_comment()
S
80 1 3
rest_auto_check_comment()
S
75 1 4
_get_microtime()
S
74 1 4
add_to_jetpack_options_whitelist()
S
76 1 4
build_query()
S
78 1 3
check_key_status()
S
76 1 3
matches_last_comment()
S
79 1 3
inject_ak_js()
S
74 1 4