PostExpirator_Facade A

Total Complexity 57
Dependencies 4
Dependents 13
Total lines 446
Lines of code 297
Logical lines of code 148
Comment lines 85
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get_default_expiry()
A
40 10 60
get_expire_principles()
A
50 10 30
updatedmeta()
A
48 8 34
block_editor_assets()
S
50 6 29
register_post_meta()
S
43 2 68
load_assets()
S
59 2 15
set_expire_principles()
S
68 3 6
user_role_can_expire_posts()
S
65 3 8
current_user_can_expire_posts()
S
72 2 5
__construct()
S
70 2 7
show_gutenberg_metabox()
S
71 2 5
getInstance()
S
72 2 6
unschedule_event()
S
81 1 3
schedule_event()
S
79 1 3
hooks()
S
68 1 6
set_default_capabilities()
S
76 1 4
filter_cme_capabilities()
S
69 1 8