Eyewear Prescription Form 4.0.10

Does Eyewear Prescription Form work with WordPress 6.3.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: 54.8 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.3.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=5d528c4ccc
Aspect after-activation
HTTP status 200
Load time 0.417 s
Memory usage 2.83 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.208 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.184 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.311 s-0.040 s2.82 MiB2.88 MiB+ 57.79 KiB
/wp-admin/edit.php0.198 s0.307 s+0.109 s2.85 MiB2.91 MiB+ 63.83 KiB
/wp-admin/post-new.php0.749 s0.610 s-0.139 s5.21 MiB5.28 MiB+ 71.98 KiB
/wp-admin/upload.php0.574 s0.430 s-0.144 s2.77 MiB2.8 MiB+ 29.5 KiB
/wp-admin/options-writing.php0.200 s0.332 s+0.132 s2.76 MiB2.8 MiB+ 43.47 KiB
/wp-admin/media-new.php0.385 s0.306 s-0.079 s2.74 MiB2.8 MiB+ 58.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.303 s+0.130 s2.76 MiB2.82 MiB+ 68.24 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.583 s-0.001 s5.21 MiB5.27 MiB+ 67.56 KiB
/wp-admin/options-discussion.php0.202 s0.351 s+0.149 s2.75 MiB2.8 MiB+ 54.02 KiB
/wp-admin/edit-comments.php0.201 s0.521 s+0.320 s2.78 MiB2.83 MiB+ 49.24 KiB
/0.277 s0.212 s-0.065 s3.13 MiB3.17 MiB+ 38.23 KiB
Average 0.354 s0.388 s+0.034 s3.25 MiB3.31 MiB+ 54.8 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

[05-Sep-2023 16:10:14 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
[05-Sep-2023 16:10:14 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-admin/includes/upgrade.php on line 2761
[05-Sep-2023 16:10:15 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(310): show_admin_menu_epf()
#3 /wp-includes/class-wp-hook.php(334): 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