Code Analysis: Post Expirator 2.6.0

Function Rating Maintainability Complexity Lines of code
postexpirator_expire_post()
D
13
85 269
postexpirator_update_post_meta()
C
36 24 75
postexpirator_date_save_bulk_edit()
B
39 17 58
postexpirator_upgrade()
A
40 13 60
PostExpirator_Display::menu_general()
A
43 13 43
_postexpirator_taxonomy()
A
45 12 38
PostExpirator_Facade::get_default_expiry()
A
40 10 60
PostExpirator_Display::menu_defaults()
A
45 11 39
PostExpirator_Facade::get_expire_principles()
A
50 10 30
postexpirator_activate()
A
52 9 26
PostExpirator_Display::settings_tabs()
A
47 8 39
PostExpirator_Facade::updatedmeta()
A
48 8 34
postexpirator_meta_box()
A
43 7 46
postexpirator_quickedit()
A
52 8 24
postexpirator_bulkedit()
A
52 8 24
postexpirator_shortcode()
A
48 7 33
PostExpirator_Display::menu_diagnostics()
S
50 7 28
postexpirator_schedule_event()
S
53 7 20
postexpirator_meta_custom()
S
56 7 16
PostExpirator_Facade::block_editor_assets()
S
50 6 29
PostExpirator_Facade::register_post_meta()
S
43 2 68
PostExpirator_Display::load_tab()
S
60 5 16
postexpirator_add_footer()
S
50 4 27
postexpirator_css()
S
62 5 12
postexpirator_debug()
S
59 4 15
postexpirator_add_column()
S
62 5 10
postexpirator_autoload()
S
58 4 14
PostExpirator_Util::is_gutenberg_active()
S
59 4 13
PostExpirator_Display::render_template()
S
62 4 11
postexpirator_orderby()
S
54 3 23
postexpirator_js_admin_header()
S
55 2 35
postexpirator_unschedule_event()
S
58 3 16
PostExpiratorDebug::getTable()
S
56 3 16
postexpirator_get_post_types()
S
59 3 15
expirationdate_deactivate()
S
51 2 29
PostExpirator_Util::is_classic_editor_plugin_active()
S
65 3 9
postexpirator_add_column_page()
S
67 3 7
PostExpirator_Facade::user_role_can_expire_posts()
S
65 3 8
PostExpirator_Facade::load_assets()
S
59 2 15
PostExpirator_Facade::set_expire_principles()
S
68 3 6
Walker_PostExpirator_Category_Checklist::start_el()
S
61 3 9
PostExpiratorDebug::createDBTable()
S
61 2 13
postexpirator_show_value()
S
62 2 12
PostExpirator_Facade::current_user_can_expire_posts()
S
72 2 5
PostExpiratorDebug::save()
S
63 2 10
PostExpirator_Display::getInstance()
S
72 2 6
PostExpirator_Facade::show_gutenberg_metabox()
S
71 2 5
PostExpirator_Facade::__construct()
S
70 2 7
postexpirator_plugin_action_links()
S
67 2 7
postexpirator_manage_sortable_columns()
S
70 2 6
expirationdate_get_blog_url()
S
70 2 7
PostExpirator_Facade::getInstance()
S
72 2 6
_postexpirator_expire_type()
S
71 2 6
_postexpirator_get_cat_names()
S
69 2 7
postexpirator_quickedit_javascript()
S
60 1 14
postexpirator_menu_diagnostics()
S
76 1 4
PostExpirator_Display::add_menu()
S
70 1 6
Walker_PostExpirator_Category_Checklist::setDisabled()
S
82 1 3
postexpirator_menu_general()
S
76 1 4
Walker_PostExpirator_Category_Checklist::end_el()
S
82 1 3
PostExpirator_Facade::hooks()
S
68 1 6
postexpirator_add_menu()
S
80 1 3
PostExpirator_Facade::schedule_event()
S
79 1 3
PostExpirator_Facade::unschedule_event()
S
81 1 3
Walker_PostExpirator_Category_Checklist::end_lvl()
S
75 1 4
PostExpirator_Display::hooks()
S
79 1 3
PostExpiratorDebug::purge()
S
76 1 4
_postExpiratorExpireType()
S
74 1 5
PostExpirator_Facade::filter_cme_capabilities()
S
69 1 8
PostExpirator_Facade::set_default_capabilities()
S
76 1 4
PostExpirator_Display::menu_viewdebug()
S
69 1 6
_scheduleExpiratorEvent()
S
80 1 3
postexpirator_menu()
S
80 1 3
postexpirator_sortable_column()
S
77 1 4
postexpirator_menu_defaults()
S
76 1 4
postexpirator_init()
S
74 1 4
PostExpirator_Display::__construct()
S
82 1 3
PostExpiratorDebug::removeDBTable()
S
76 1 4
PostExpiratorDebug::__construct()
S
73 1 5
postExpiratorExpire()
S
82 1 3
postexpirator_launch()
S
83 1 3
postexpirator_menu_debug()
S
76 1 4
_unscheduleExpiratorEvent()
S
82 1 3
Walker_PostExpirator_Category_Checklist::start_lvl()
S
75 1 4