Random 1.3

Does Random work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 9.13 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.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/random/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Random ‹ Test site — WordPress

Page screenshot: Random ‹ Test site — WordPress
URL /wp-admin/tools.php?page=random
Requested URL /wp-admin/plugins.php?action=activate&plugin=random%2Frandom.php&plugin_status=all&paged=1&s&_wpnonce=bc05df245e
Aspect after-activation
HTTP status 200
Load time 0.385 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Tools → Random

Page screenshot: Tools → Random
URL /wp-admin/tools.php?page=random
Aspect menu-item
HTTP status 200
Load time 0.265 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Tools → Random → About

Page screenshot: Tools → Random → 
				About
URL /wp-admin/tools.php?page=random&subpage=about
Aspect menu-item-tab
HTTP status 200
Load time 0.275 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/random/admin/js/random-admin.js?ver=1.3:8:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9:2:27330)",
        "trace": null,
        "code": null
    }
]
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.175 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.412 s0.373 s-0.039 s3.77 MiB3.79 MiB+ 15.48 KiB
/wp-admin/edit.php0.357 s0.411 s+0.054 s3.78 MiB3.79 MiB+ 14.72 KiB
/wp-admin/post-new.php0.861 s0.854 s-0.007 s6.3 MiB6.32 MiB+ 19.15 KiB
/wp-admin/upload.php0.646 s0.391 s-0.255 s3.73 MiB3.73 MiB- 2.69 KiB
/wp-admin/options-writing.php0.329 s0.296 s-0.033 s3.71 MiB3.71 MiB+ 1.3 KiB
/wp-admin/media-new.php0.499 s0.323 s-0.176 s3.7 MiB3.71 MiB+ 9.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.482 s0.475 s-0.007 s3.71 MiB3.73 MiB+ 20.17 KiB
/wp-admin/post-new.php?post_type=page0.671 s0.649 s-0.022 s6.29 MiB6.31 MiB+ 15.44 KiB
/wp-admin/options-discussion.php0.332 s0.307 s-0.025 s3.71 MiB3.71 MiB- 2.2 KiB
/wp-admin/edit-comments.php0.320 s0.329 s+0.009 s3.73 MiB3.73 MiB- 2.7 KiB
/0.280 s0.193 s-0.087 s4.1 MiB4.11 MiB+ 12.25 KiB
Average 0.472 s0.418 s-0.053 s4.23 MiB4.24 MiB+ 9.13 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP61.2%67355814
CSS22.5%247172
PO File12.0%132541
JavaScript4.4%48302
Total 1,100 659 19

PHP Code Analysis | More results »

Lines of code 679
Total complexity 108
Median class complexity 9.0
Median method complexity 1.0
Most complex class Random_Public
Most complex function random_admin_page_shortcodes_handler()
Classes 7
Methods 29
Functions 10

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "Random" Admin Menu