cmc-role 0.0.1

Does cmc-role work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
24PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 7.47 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 version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/cmc-role/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=cmc-role%2Fcmc-role.php&plugin_status=all&paged=1&s&_wpnonce=c1ba7adfbb
Aspect after-activation
HTTP status 200
Load time 0.287 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Users → CMC Role

Page screenshot: Users → CMC Role
URL /wp-admin/users.php?page=cmcrm
Aspect menu-item
HTTP status 200
Load time 0.217 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Users → CMC Role → Settings

Page screenshot: Users → CMC Role →  Settings
URL /wp-admin/users.php?page=cmcrm&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.211 s
Memory usage 3.5 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.180 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.324 s-0.040 s3.51 MiB3.52 MiB+ 13.7 KiB
/wp-admin/edit.php0.218 s0.216 s-0.002 s3.57 MiB3.58 MiB+ 13.74 KiB
/wp-admin/post-new.php0.873 s0.698 s-0.175 s6.06 MiB6.08 MiB+ 18.13 KiB
/wp-admin/upload.php0.813 s0.548 s-0.265 s3.52 MiB3.52 MiB- 3.66 KiB
/wp-admin/options-writing.php0.258 s0.217 s-0.041 s3.5 MiB3.5 MiB+ 336 bytes
/wp-admin/media-new.php0.295 s0.265 s-0.030 s3.49 MiB3.5 MiB+ 8.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.210 s-0.006 s3.5 MiB3.52 MiB+ 19.2 KiB
/wp-admin/post-new.php?post_type=page0.798 s0.664 s-0.134 s6.05 MiB6.06 MiB+ 13.66 KiB
/wp-admin/options-discussion.php0.535 s0.296 s-0.239 s3.5 MiB3.5 MiB- 3.17 KiB
/wp-admin/edit-comments.php0.301 s0.208 s-0.093 s3.52 MiB3.52 MiB- 3.67 KiB
/0.333 s0.203 s-0.130 s3.43 MiB3.44 MiB+ 5.44 KiB
Average 0.455 s0.350 s-0.105 s3.97 MiB3.98 MiB+ 7.47 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.

SVG
PHP
Language % Lines of code Comment lines Files
SVG72.8%2,67101
PHP20.4%7481968
JavaScript4.3%157412
CSS2.6%9521
Total 3,671 239 12

PHP Code Analysis | More results »

Lines of code 438
Total complexity 123
Median class complexity 61.0
Median method complexity 2.0
Most complex class cmc_role
Most complex function cmc_role::do_action()
Classes 2
Methods 44
Functions 1

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 1

PHP Error Log 24 lines

[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "action2" in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 187
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "active" in /wp-content/plugins/cmc-role/page/admin.php on line 66
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "atts" in /wp-content/plugins/cmc-role/page/admin.php on line 68
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "active" in /wp-content/plugins/cmc-role/page/admin.php on line 66
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "atts" in /wp-content/plugins/cmc-role/page/admin.php on line 68
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined array key "location" in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 123
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined variable $result in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 80
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined variable $result in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 80
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined variable $result in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 80
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined variable $result in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 80
[17-May-2025 21:24:34 UTC] PHP Warning:  Undefined variable $result in /wp-content/plugins/cmc-role/include/class-cmc-role-table.php on line 80
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "active" in /wp-content/plugins/cmc-role/page/admin.php on line 66
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "atts" in /wp-content/plugins/cmc-role/page/admin.php on line 68
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "active" in /wp-content/plugins/cmc-role/page/admin.php on line 66
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "class" in /wp-content/plugins/cmc-role/page/admin.php on line 67
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "atts" in /wp-content/plugins/cmc-role/page/admin.php on line 68
[17-May-2025 21:24:35 UTC] PHP Warning:  Undefined array key "allowed_users" in /wp-content/plugins/cmc-role/page/sections/settings.php on line 51
See also: All tests for this plugin, How to Hide the "CMC Role" Admin Menu