Read Sample 1.0.2

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.5 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=ac3b9e6caf
Aspect after-activation
HTTP status 200
Load time 0.385 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.243 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.073 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.355 s0.278 s-0.077 s3.47 MiB3.5 MiB+ 23.04 KiB
/wp-admin/edit.php0.195 s0.184 s-0.011 s3.54 MiB3.56 MiB+ 23.04 KiB
/wp-admin/post-new.php0.722 s0.559 s-0.163 s5.75 MiB5.78 MiB+ 26.61 KiB
/wp-admin/upload.php0.694 s0.380 s-0.314 s3.49 MiB3.49 MiB+ 5.63 KiB
/wp-admin/options-writing.php0.214 s0.173 s-0.041 s3.41 MiB3.48 MiB+ 68.44 KiB
/wp-admin/media-new.php0.235 s0.391 s+0.156 s3.4 MiB3.48 MiB+ 81.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.177 s-0.023 s3.47 MiB3.5 MiB+ 28.49 KiB
/wp-admin/post-new.php?post_type=page0.571 s0.566 s-0.005 s5.75 MiB5.77 MiB+ 22.2 KiB
/wp-admin/options-discussion.php0.288 s0.235 s-0.053 s3.41 MiB3.48 MiB+ 70.13 KiB
/wp-admin/edit-comments.php0.240 s0.190 s-0.050 s3.49 MiB3.49 MiB+ 5.63 KiB
Average 0.371 s0.313 s-0.058 s3.92 MiB3.95 MiB+ 35.5 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
PHP61.7%2641163
CSS22.2%9501
JavaScript11.9%5162
JSON4.2%1801
Total 428 122 7

PHP Code Analysis | More results »

Lines of code 259
Total complexity 43
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 15

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 16:46:10 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 16:46:18 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