Eyewear Prescription Form 4.0.11

Does Eyewear Prescription Form work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
1PHP warnings
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 59.48 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50+
WordPress.org page https://wordpress.org/plugins/eyewear-prescription-form/
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=eyewear-prescription-form%2Feyewear_prescription_form.php&plugin_status=all&paged=1&s&_wpnonce=4bc4de74fc
Aspect after-activation
HTTP status 200
Load time 0.632 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

EPF

Page screenshot: EPF
URL /wp-admin/admin.php?page=eyewear_prescription_form
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage N/A
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 200
Load time 0.237 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.385 s0.405 s+0.020 s3.38 MiB3.45 MiB+ 69.66 KiB
/wp-admin/edit.php0.349 s0.316 s-0.033 s3.41 MiB3.48 MiB+ 76.16 KiB
/wp-admin/post-new.php0.844 s0.648 s-0.196 s5.46 MiB5.52 MiB+ 64.19 KiB
/wp-admin/upload.php0.719 s0.502 s-0.217 s3.32 MiB3.36 MiB+ 42.13 KiB
/wp-admin/options-writing.php0.224 s0.338 s+0.114 s3.32 MiB3.37 MiB+ 56.33 KiB
/wp-admin/media-new.php0.299 s0.349 s+0.050 s3.29 MiB3.36 MiB+ 71.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.304 s+0.106 s3.31 MiB3.39 MiB+ 80.48 KiB
/wp-admin/post-new.php?post_type=page0.843 s0.564 s-0.279 s5.45 MiB5.51 MiB+ 63.77 KiB
/wp-admin/options-discussion.php0.302 s0.434 s+0.132 s3.3 MiB3.37 MiB+ 66.26 KiB
/wp-admin/edit-comments.php0.241 s0.336 s+0.095 s3.33 MiB3.4 MiB+ 61.79 KiB
/0.277 s0.196 s-0.081 s3.36 MiB3.36 MiB+ 1.91 KiB
Average 0.426 s0.399 s-0.026 s3.72 MiB3.78 MiB+ 59.48 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP49.4%2,32065819
JavaScript27.7%1,301967
CSS18.9%887312
PO File3.1%1461801
SVG0.9%4011
Total 4,694 966 30

PHP Code Analysis | More results »

Lines of code 1,701
Total complexity 272
Median class complexity 5.0
Median method complexity 1.0
Most complex class Eyewear_prescription_form
Most complex function generateDivForEPFForm()
Classes 7
Methods 29
Functions 33

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.

Database Tables 1

PHP Error Log 12 lines

[14-Nov-2023 23:08:12 UTC] PHP Warning:  Undefined variable $create_table_query in /wp-content/plugins/eyewear-prescription-form/includes/class-eyewear_prescription_form-activator.php on line 39
[14-Nov-2023 23:08:12 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-admin/includes/upgrade.php on line 2784
[14-Nov-2023 23:08:14 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /wp-content/plugins/eyewear-prescription-form/admin/partials/eyewear_prescription_form-admin-display.php:201
Stack trace:
#0 /wp-content/plugins/eyewear-prescription-form/admin/partials/eyewear_prescription_form-admin-navbar.php(52): include_once()
#1 /wp-content/plugins/eyewear-prescription-form/admin/class-eyewear_prescription_form-admin.php(182): include_once('...')
#2 /wp-includes/class-wp-hook.php(324): show_admin_menu_epf()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(259): do_action()
#6 {main}
  thrown in /wp-content/plugins/eyewear-prescription-form/admin/partials/eyewear_prescription_form-admin-display.php on line 201
See also: All tests for this plugin, How to Hide Eyewear Prescription Form Admin Menus