PublishPress Capabilities 2.4.1

Does PublishPress Capabilities work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 111.52 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/capability-manager-enhanced/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=capability-manager-enhanced%2Fcapsman-enhanced.php&plugin_status=all&paged=1&s&_wpnonce=d80e979176
Aspect after-activation
HTTP status 200
Load time 0.427 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Capabilities

Page screenshot: Capabilities
URL /wp-admin/admin.php?page=pp-capabilities
Aspect menu-item
HTTP status 200
Load time 0.338 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Capabilities → Roles

Page screenshot: Capabilities → Roles
URL /wp-admin/admin.php?page=pp-capabilities-roles
Aspect menu-item
HTTP status 200
Load time 0.210 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Capabilities → Editor Features

Page screenshot: Capabilities → Editor Features
URL /wp-admin/admin.php?page=pp-capabilities-editor-features
Aspect menu-item
HTTP status 200
Load time 0.255 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Capabilities → Admin Features

Page screenshot: Capabilities → Admin Features
URL /wp-admin/admin.php?page=pp-capabilities-admin-features
Aspect menu-item
HTTP status 200
Load time 0.235 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Capabilities → Admin Menus

Page screenshot: Capabilities → Admin Menus
URL /wp-admin/admin.php?page=pp-capabilities-admin-menus
Aspect menu-item
HTTP status 200
Load time 0.214 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Capabilities → Nav Menus

Page screenshot: Capabilities → Nav Menus
URL /wp-admin/admin.php?page=pp-capabilities-nav-menus
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Capabilities → Backup

Page screenshot: Capabilities → Backup
URL /wp-admin/admin.php?page=pp-capabilities-backup
Aspect menu-item
HTTP status 200
Load time 0.251 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.211 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.267 s-0.082 s3.37 MiB3.46 MiB+ 96.03 KiB
/wp-admin/edit.php0.178 s0.184 s+0.006 s3.4 MiB3.5 MiB+ 99.73 KiB
/wp-admin/post-new.php0.797 s1.000 s+0.203 s5.68 MiB5.78 MiB+ 101 KiB
/wp-admin/upload.php0.340 s0.347 s+0.007 s3.25 MiB3.41 MiB+ 166.59 KiB
/wp-admin/options-writing.php0.227 s0.145 s-0.082 s3.24 MiB3.33 MiB+ 85.81 KiB
/wp-admin/media-new.php0.249 s0.216 s-0.033 s3.23 MiB3.39 MiB+ 166.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.210 s+0.023 s3.27 MiB3.42 MiB+ 159.66 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.642 s+0.034 s5.68 MiB5.77 MiB+ 96.59 KiB
/wp-admin/options-discussion.php0.229 s0.242 s+0.013 s3.22 MiB3.32 MiB+ 102.45 KiB
/wp-admin/edit-comments.php0.211 s0.187 s-0.024 s3.27 MiB3.42 MiB+ 158.61 KiB
/0.356 s0.187 s-0.169 s3.4 MiB3.39 MiB- 6.55 KiB
Average 0.339 s0.330 s-0.009 s3.73 MiB3.84 MiB+ 111.52 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP40.1%7,6882,06843
PO File37.1%7,1093,7969
JavaScript14.7%2,808887
CSS7.5%1,4411196
JSON0.4%7402
Markdown0.1%1901
XML0.1%1901
Total 19,158 6,071 69

PHP Code Analysis | More results »

Lines of code 6,214
Total complexity 1,459
Median class complexity 42.5
Median method complexity 3.0
Most complex class CapabilityManager
Most complex function CME_Cap_Helper::force_distinct_post_caps()
Classes 22
Methods 187
Functions 61

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 5

Capabilities 1

PHP Error Log 1 lines

[09-May-2022 15:10:33 UTC] PHP Notice:  Undefined variable: ppc_admin_menu_reload in /wp-content/plugins/capability-manager-enhanced/includes-core/admin-menus-promo.php on line 85
See also: All tests for this plugin, How to Hide PublishPress Capabilities Admin Menus