Antispam_Bee D

Total Complexity 285
Dependencies 0
Dependents 1
Total lines 2,783
Lines of code 1,679
Logical lines of code 523
Comment lines 730
Methods 74
Properties 6

Methods 74

Method Rating Maintainability Complexity Lines of code
_verify_comment_request()
C
37 26 73
init()
C
26
16 219
_verify_trackback_request()
B
40 17 61
_is_regexp_spam()
A
37 12 89
send_mail_notification()
A
35 9 103
_is_lang_spam()
A
44 13 42
_map_lang_code()
A
25
2 193
_current_page()
A
56 12 16
_handle_spam_request()
A
45 9 45
_is_country_spam()
A
46 8 41
handle_incoming_request()
A
48 8 34
get_client_ip()
A
54 8 23
precheck_incoming_request()
A
54 8 19
_pingback_from_myself()
S
53 7 24
prepare_comment_field()
S
60 7 14
_is_db_spam()
S
50 5 31
replace_comment_field_callback()
S
50 5 26
_update_spam_log()
S
57 5 17
show_spam_chart()
S
51 4 25
replace_comment_field()
S
52 3 35
_init_internal_vars()
S
44 2 47
add_dashboard_chart()
S
57 3 20
_sanitize_ip()
S
57 3 17
_update_daily_stats()
S
57 3 17
get_options()
S
59 3 16
get_key()
S
70 4 6
_has_valid_gravatar()
S
59 3 15
_is_amp()
S
77 4 3
add_dashboard_count()
S
60 3 13
add_dashboard_script()
S
53 2 27
init_action_links()
S
57 2 20
update_options()
S
58 2 19
add_sidebar_menu()
S
52 1 33
_is_shortest_time()
S
63 3 10
_cut_ip()
S
66 3 8
parse_url()
S
73 3 4
_delete_old_spam()
S
59 2 14
get_secret_name_for_post()
S
59 2 14
get_secret_id_for_post()
S
59 2 14
_is_approved_email()
S
61 2 13
init_row_meta()
S
62 2 12
activate()
S
65 2 11
uninstall()
S
63 2 10
init_plugin_sources()
S
60 1 15
start_daily_cronjob()
S
65 2 10
init_scheduled_hook()
S
67 2 9
clear_scheduled_hook()
S
74 2 5
is_trackback_post_title_blog_name_spam()
S
67 2 7
_anonymize_ip()
S
70 2 6
_is_ipv4()
S
68 2 7
_is_ipv6()
S
68 2 7
populate_post_id()
S
73 2 5
_get_spam_count()
S
73 2 4
_update_spam_count()
S
66 2 9
ensure_secret_starts_with_letter()
S
66 2 8
update_database()
S
65 2 9
_reverse_ip()
S
65 1 11
deactivate()
S
80 1 3
load_plugin_lang()
S
76 1 5
add_options_script()
S
80 1 3
add_options_style()
S
80 1 3
init_options_page()
S
79 1 3
add_dashboard_style()
S
65 1 10
get_option()
S
75 1 4
_update_option()
S
70 1 7
_is_bbcode_spam()
S
78 1 3
_is_mobile()
S
79 1 3
_go_in_peace()
S
76 1 4
add_spam_reason_to_comment()
S
71 1 7
delete_spam_reason_by_comment()
S
73 1 6
update_antispam_bee_reason()
S
79 1 3
the_spam_count()
S
80 1 3
return_spam()
S
81 1 3
db_version_is_current()
S
74 1 4