Code Analysis: Limit Comments and Word Count 1.2.0

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