Code Analysis: Announcer 6.0

Function Rating Maintainability Complexity Lines of code
ANCR_Utilities::style_generator()
B
41 22 46
ANCR_Fields::field()
B
34 15 95
ANCR_Admin_Manage::column_content()
B
39 17 56
ANCR_Settings_Form::template_designer()
A
32 6 136
ANCR_Display::display()
A
44 11 44
ANCR\Location_Rules::check_rule()
A
47 11 38
ANCR_Settings_Form::render()
A
45 10 42
ANCR_Display::buttons()
A
47 9 33
ANCR_Display::styles()
A
45 8 41
ANCR\Location_Rules::field()
A
44 7 45
ANCR_Form_Builder::build()
A
50 8 28
ANCR\Location_Rules::rule_has_term()
A
51 8 26
ANCR\Location_Rules::selectors_ajax()
A
51 8 24
ANCR_Display::handle_preview()
A
51 8 24
ANCR_Settings::template_defaults()
S
45 6 45
ANCR_Admin_Edit::admin_ajax()
S
52 7 24
ANCR\Location_Rules::rules_list()
S
35 1 113
ANCR_Admin_Edit::save_post()
S
58 7 14
ANCR\Location_Rules::display_rules()
S
44 5 44
ANCR\Location_Rules::rules_template()
S
50 6 24
ANCR_Settings_Form::template_cta_buttons()
S
37 1 93
ANCR_Settings_Form::display()
S
37 1 85
ANCR_Display::html()
S
46 4 39
ANCR\Location_Rules::rule_language_wpml()
S
56 5 18
ANCR\Location_Rules::rule_is_page()
S
57 5 17
ANCR\Location_Rules::rule_is_single()
S
57 5 16
ANCR\Location_Rules::rule_is_category()
S
57 5 16
ANCR\Location_Rules::rule_is_tag()
S
57 5 16
ANCR\Location_Rules::rule_is_taxonomy()
S
57 5 16
ANCR\Location_Rules::rule_has_tag()
S
57 5 16
ANCR\Location_Rules::rule_has_category()
S
57 5 16
ANCR_Settings_Form::layout()
S
39 1 73
ANCR_Settings_Form::forms()
S
41 1 67
ANCR_Settings_Form::status_form()
S
53 4 21
ANCR\Location_Rules::rule_is_post_format()
S
54 4 20
ANCR_Utilities::datetime_timestamp()
S
58 4 16
ANCR\Location_Rules::exe_rule()
S
58 4 16
ANCR_Fields::clean_attr()
S
59 4 14
ANCR_Utilities::build_attrs()
S
59 4 13
ANCR_Admin::register_post_type()
S
42 1 52
Announcer::get_announcements()
S
54 3 21
ANCR_Settings_Form::close_general()
S
45 1 49
ANCR_Admin::enqueue_scripts()
S
55 3 18
ANCR_Admin::sanitize_post_array()
S
63 3 11
ANCR_Settings_Form::position()
S
47 1 39
ANCR_Settings_Form::pro_tab()
S
50 1 39
ANCR_Settings::defaults()
S
48 1 36
ANCR_Admin::register_taxonomy()
S
47 1 35
ANCR_Admin_Edit::after_title()
S
55 2 20
ANCR\Location_Rules::rule_is_frontpage()
S
71 3 6
ANCR\Location_Rules::rule_is_date()
S
71 3 6
ANCR\Location_Rules::rule_is_sticky()
S
71 3 6
ANCR\Location_Rules::rule_post_type()
S
66 3 8
ANCR\Location_Rules::rule_is_home()
S
71 3 6
ANCR_Admin::is_ancr_admin_page()
S
67 3 8
ANCR\Location_Rules::rule_is_archive()
S
71 3 6
ANCR\Location_Rules::rule_is_search()
S
71 3 6
ANCR\Location_Rules::rule_is_404()
S
71 3 6
ANCR_Admin::pivot_array()
S
64 3 9
ANCR_Settings_Form::cta()
S
59 2 14
ANCR_Settings_Form::close_keep_closed()
S
51 1 27
ANCR_Admin_Edit::feedback()
S
56 1 23
ANCR_Settings_Form::location_rules()
S
54 1 20
ANCR_Form_Builder::field()
S
64 2 10
ANCR_Settings::get()
S
63 2 10
ANCR\Location_Rules::rules_list_js_helper()
S
63 1 11
Announcer::includes()
S
63 1 11
ANCR_Settings_Form::design_bar()
S
75 1 4
ANCR\Location_Rules::add_ajax_handler()
S
79 1 3
Announcer::load_text_domain()
S
77 1 3
ANCR_Admin_Manage::column_head()
S
64 1 9
ANCR_Admin::action_links()
S
70 1 5
ANCR_Display::init()
S
75 1 4
ANCR_Form_Builder::heading()
S
80 1 3
ANCR_Settings::get_style()
S
77 1 3
ANCR_Display::close_btn()
S
75 1 4
Announcer::init()
S
75 1 4
ANCR_Form_Builder::end()
S
76 1 4
ANCR_Admin_Edit::settings_form()
S
81 1 3
ANCR_Admin_Edit::init()
S
69 1 6
ANCR_Form_Builder::description()
S
80 1 3
ANCR_Admin_Edit::add_meta_boxes()
S
65 1 8
ANCR_Settings_Form::design_secondary_btn()
S
74 1 4
ANCR_Admin::init()
S
62 1 10
ANCR_Admin::admin_footer()
S
75 1 6
ANCR_Settings_Form::design_primary_btn()
S
74 1 4
ANCR\Location_Rules::__construct()
S
68 1 7
ANCR_Admin::inline_js_variables()
S
66 1 8
ANCR_Settings_Form::init()
S
79 1 3
ANCR_Admin_Manage::init()
S
73 1 4
ANCR_Admin::upgrade_menu()
S
77 1 3
ANCR_Settings::init()
S
89 1 2
ANCR_Display::scripts_styles()
S
74 1 4
ANCR\Location_Rules::array_it()
S
78 1 3
ANCR\Location_Rules::enqueue_resources()
S
71 1 5
ANCR_Form_Builder::start()
S
76 1 4
ANCR_Display::can_display()
S
72 1 5