Color Manager 0.2

Does Color Manager work with WordPress 6.5.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: -2.09 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.5.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/color-manager/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=color-manager%2Finit.php&plugin_status=all&paged=1&s&_wpnonce=b7179560e7
Aspect after-activation
HTTP status 200
Load time 0.424 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Appearance → Color Manager

Page screenshot: Appearance → Color Manager
URL /wp-admin/themes.php?page=color-manager
Aspect menu-item
HTTP status 500
Load time 0.083 s
Memory usage N/A
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.213 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.321 s-0.059 s3.44 MiB3.45 MiB+ 10.5 KiB
/wp-admin/edit.php0.214 s0.215 s+0.001 s3.46 MiB3.47 MiB+ 10.5 KiB
/wp-admin/post-new.php0.957 s0.586 s-0.371 s5.59 MiB5.6 MiB+ 14.07 KiB
/wp-admin/upload.php0.542 s0.409 s-0.133 s3.38 MiB3.37 MiB- 6.91 KiB
/wp-admin/options-writing.php0.234 s0.180 s-0.054 s3.37 MiB3.36 MiB- 14.95 KiB
/wp-admin/media-new.php0.307 s0.345 s+0.038 s3.35 MiB3.36 MiB+ 5.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.189 s-0.009 s3.37 MiB3.38 MiB+ 10.45 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.598 s-0.009 s5.59 MiB5.59 MiB+ 9.66 KiB
/wp-admin/options-discussion.php0.324 s0.256 s-0.068 s3.36 MiB3.35 MiB- 6.41 KiB
/wp-admin/edit-comments.php0.251 s0.225 s-0.026 s3.39 MiB3.38 MiB- 6.91 KiB
/0.318 s0.207 s-0.111 s3.42 MiB3.37 MiB- 48.26 KiB
Average 0.394 s0.321 s-0.073 s3.79 MiB3.79 MiB- 2.09 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
JavaScript
Language % Lines of code Comment lines Files
PHP79.2%99202
JavaScript20.8%2601
Total 125 20 3

PHP Code Analysis | More results »

Lines of code 59
Total complexity 14
Median class complexity 14.0
Median method complexity 1.0
Most complex class Color_Manager
Most complex function Color_Manager::customize_register()
Classes 1
Methods 8
Functions 0

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.

No new entries found.

PHP Error Log 10 lines

[18-Jun-2024 04:38:14 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /wp-content/plugins/color-manager/init.php:68
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Color_Manager->admin_queue()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(125): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 /wp-admin/themes.php(10): require_once('...')
#6 {main}
  thrown in /wp-content/plugins/color-manager/init.php on line 68
See also: All tests for this plugin