Read Sample 1.0.1

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: 35.14 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=01280806bd
Aspect after-activation
HTTP status 200
Load time 0.267 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.226 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.055 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.386 s0.337 s-0.049 s3.47 MiB3.5 MiB+ 22.67 KiB
/wp-admin/edit.php0.282 s0.199 s-0.083 s3.54 MiB3.56 MiB+ 22.67 KiB
/wp-admin/post-new.php0.791 s0.626 s-0.165 s5.75 MiB5.78 MiB+ 26.25 KiB
/wp-admin/upload.php0.586 s0.393 s-0.193 s3.49 MiB3.49 MiB+ 5.27 KiB
/wp-admin/options-writing.php0.219 s0.209 s-0.010 s3.41 MiB3.48 MiB+ 68.07 KiB
/wp-admin/media-new.php0.265 s0.256 s-0.009 s3.4 MiB3.48 MiB+ 81.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.407 s+0.209 s3.47 MiB3.5 MiB+ 28.13 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.627 s-0.004 s5.75 MiB5.77 MiB+ 21.83 KiB
/wp-admin/options-discussion.php0.251 s0.290 s+0.039 s3.41 MiB3.48 MiB+ 69.76 KiB
/wp-admin/edit-comments.php0.251 s0.225 s-0.026 s3.49 MiB3.49 MiB+ 5.26 KiB
Average 0.386 s0.357 s-0.029 s3.92 MiB3.95 MiB+ 35.14 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.3%2491113
CSS23.0%9501
JavaScript12.3%5162
JSON4.4%1801
Total 413 117 7

PHP Code Analysis | More results »

Lines of code 244
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 06:28:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/read-sample/read-sample.php:34
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 34
[11-Oct-2024 06:28:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/read-sample/read-sample.php:34
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 34
See also: All tests for this plugin