Random 1.2

Does Random work with WordPress 6.5.2 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: 4.01 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.2
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=37edafb6be
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 3.36 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.266 s
Memory usage 3.35 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.182 s
Memory usage 3.35 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.2:8:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2: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.169 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.303 s-0.071 s3.44 MiB3.45 MiB+ 16.12 KiB
/wp-admin/edit.php0.203 s0.184 s-0.019 s3.46 MiB3.48 MiB+ 15.75 KiB
/wp-admin/post-new.php0.911 s0.591 s-0.320 s5.59 MiB5.61 MiB+ 20.48 KiB
/wp-admin/upload.php0.573 s0.447 s-0.126 s3.38 MiB3.38 MiB- 944 bytes
/wp-admin/options-writing.php0.193 s0.199 s+0.006 s3.37 MiB3.36 MiB- 8.96 KiB
/wp-admin/media-new.php0.285 s0.267 s-0.018 s3.35 MiB3.36 MiB+ 10.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.199 s+0.013 s3.37 MiB3.38 MiB+ 16.44 KiB
/wp-admin/post-new.php?post_type=page0.541 s0.589 s+0.048 s5.59 MiB5.6 MiB+ 16.07 KiB
/wp-admin/options-discussion.php0.241 s0.251 s+0.010 s3.36 MiB3.36 MiB- 440 bytes
/wp-admin/edit-comments.php0.462 s0.211 s-0.251 s3.39 MiB3.39 MiB- 952 bytes
/0.347 s0.164 s-0.183 s3.42 MiB3.38 MiB- 40.09 KiB
Average 0.392 s0.310 s-0.083 s3.79 MiB3.8 MiB+ 4.01 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.6%67155214
CSS21.9%238172
PO File12.1%132541
JavaScript4.4%48302
Total 1,089 653 19

PHP Code Analysis | More results »

Lines of code 677
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