Read Sample 1.0.0

Does Read Sample work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 34.99 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.6.2
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/read-sample/
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=read-sample%2Fread-sample.php&plugin_status=all&paged=1&s&_wpnonce=f1b13a0403
Aspect after-activation
HTTP status 200
Load time 0.233 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Tools → Read Sample Settings

Page screenshot: Tools → Read Sample Settings
URL /wp-admin/tools.php?page=read-sample-settings
Aspect menu-item
HTTP status 200
Load time 0.139 s
Memory usage 3.48 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 500
Load time 0.048 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.313 s0.264 s-0.049 s3.47 MiB3.5 MiB+ 22.52 KiB
/wp-admin/edit.php0.188 s0.168 s-0.020 s3.54 MiB3.56 MiB+ 22.52 KiB
/wp-admin/post-new.php0.688 s0.559 s-0.129 s5.75 MiB5.78 MiB+ 26.09 KiB
/wp-admin/upload.php0.506 s0.354 s-0.152 s3.49 MiB3.49 MiB+ 5.12 KiB
/wp-admin/options-writing.php0.189 s0.364 s+0.175 s3.41 MiB3.48 MiB+ 67.92 KiB
/wp-admin/media-new.php0.256 s0.215 s-0.041 s3.4 MiB3.48 MiB+ 81.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.171 s-0.009 s3.47 MiB3.5 MiB+ 27.98 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.561 s-0.005 s5.75 MiB5.77 MiB+ 21.68 KiB
/wp-admin/options-discussion.php0.207 s0.209 s+0.002 s3.41 MiB3.48 MiB+ 69.61 KiB
/wp-admin/edit-comments.php0.207 s0.187 s-0.020 s3.49 MiB3.49 MiB+ 5.11 KiB
Average 0.330 s0.305 s-0.025 s3.92 MiB3.95 MiB+ 34.99 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
JavaScript
Language % Lines of code Comment lines Files
PHP60.0%2461103
CSS23.2%9501
JavaScript12.4%5162
JSON4.4%1801
Total 410 116 7

PHP Code Analysis | More results »

Lines of code 241
Total complexity 41
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function read_sample_add_button_single()
Classes 0
Methods 0
Functions 14

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 40 lines

[11-Oct-2024 05:27:44 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/read-sample/read-sample.php:29
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): read_sample_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/read-sample/read-sample.php on line 29
[11-Oct-2024 05:27:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/read-sample/read-sample.php:29
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): read_sample_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/read-sample/read-sample.php on line 29
See also: All tests for this plugin