lpwc D

Total Complexity 231
Dependencies 3
Dependents 0
Total lines 1,518
Lines of code 1,128
Logical lines of code 577
Comment lines 225
Methods 71
Properties 3

Methods 71

Method Rating Maintainability Complexity Lines of code
lpwc_settings_page()
C
22
14 291
limitUser()
A
44 16 44
add_comment_restrictions()
A
43 15 42
lpwc_activate()
A
51 9 26
lpwc_limit_post_count()
A
53 8 22
limits_shortcode_handler()
S
50 7 27
preprocess_comment()
S
57 6 17
wrap_text()
S
52 5 25
get_time_span()
S
57 5 19
get_last_update_time()
S
56 5 18
get_frequency_label()
S
58 5 17
limit_xml_rpc()
S
63 6 9
get_sub_array()
S
61 5 12
lpwc_not_allowed()
S
49 2 45
count_comments_for_user()
S
62 5 8
hide_comment_form()
S
60 4 14
upgrade_database_110()
S
60 4 13
lpwc_getOptions()
S
63 4 12
upgrade_helper_110()
S
63 4 11
add_comment_script()
S
54 3 19
apply_restrictions_to_comment_editor()
S
53 3 19
lpwc_print_settings_js()
S
48 2 32
save_post()
S
64 4 9
remove_add_new()
S
65 4 9
run_on_activation()
S
61 3 12
run_on_upgrade()
S
62 3 11
display_feature_message()
S
62 3 11
hooks()
S
48 1 31
hide_links()
S
61 2 16
__construct()
S
66 3 9
sort_rules()
S
71 3 5
add_details_link()
S
64 3 8
check_trial()
S
63 3 9
get_user_rules()
S
63 3 10
add_notification()
S
72 3 5
add_comment_rules()
S
66 3 9
subval_sort()
S
63 3 10
lpwc_menu()
S
60 2 14
wpsnfl_init()
S
54 1 28
enable_duplicate_comments_preprocess_comment()
S
66 2 8
count_words()
S
71 2 6
restrict_comment_button()
S
73 2 6
disable_comment_flood_protection()
S
67 2 8
enable_duplicate_comments_comment_post()
S
63 2 9
metabox()
S
62 2 10
get_alert()
S
68 2 7
filter_rules_by_user_id()
S
72 2 5
sort_rules_by_comment_limit()
S
72 2 5
filter_rules_by_role()
S
71 2 5
get_user_rule()
S
67 2 8
lpwc_get_current_user_role()
S
67 2 7
get_role_name()
S
72 2 5
add_description_link()
S
64 2 9
print_settings_styles()
S
71 2 5
validate_allow_duplicate_comments()
S
80 1 3
lpwc_not_allowed_remove_links()
S
79 1 3
get_current_time()
S
77 1 4
add_meta_boxes()
S
65 1 10
validate_disable_flood_protection()
S
80 1 3
get_default_comment_rules()
S
63 1 10
close_feature_notification()
S
80 1 3
validate_show_comment_rules()
S
80 1 3
cancel_notification()
S
80 1 3
show_admin_message()
S
73 1 6
add_admin_notification_notice()
S
80 1 3
restrict_comment()
S
70 1 5
validate_comment_rules_content()
S
80 1 3
add_translations()
S
77 1 3
addShortCodes()
S
75 1 4
add_plugin_link()
S
72 1 5
get_comments_count_at_interval()
S
67 1 6