Total Complexity | 19 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 157 |
Lines of code | 69 |
Logical lines of code | 33 |
Comment lines | 49 |
Methods | 10 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_expire_principles() | 58 | 5 | 14 | |
user_role_can_expire_posts() | 66 | 3 | 8 | |
__construct() | 70 | 2 | 7 | |
set_default_capabilities() | 68 | 2 | 7 | |
getInstance() | 72 | 2 | 6 | |
hooks() | 71 | 1 | 5 | |
show_gutenberg_metabox() | 75 | 1 | 4 | |
current_user_can_expire_posts() | 71 | 1 | 6 | |
filter_cme_capabilities() | 69 | 1 | 8 | |
is_expiration_enabled_for_post() | 75 | 1 | 4 |