Eyewear Prescription Form 4.0.1

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

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

Environment
WordPress version6.2.2
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=20bfa9ab35
Aspect after-activation
HTTP status 200
Load time 0.428 s
Memory usage 3.09 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.312 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.224 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.344 s+0.050 s3.07 MiB3.13 MiB+ 63.48 KiB
/wp-admin/edit.php0.189 s0.274 s+0.085 s3.1 MiB3.17 MiB+ 70.89 KiB
/wp-admin/post-new.php0.748 s0.865 s+0.117 s5.02 MiB5.07 MiB+ 52.11 KiB
/wp-admin/upload.php0.552 s0.268 s-0.284 s3.02 MiB3.05 MiB+ 35.2 KiB
/wp-admin/options-writing.php0.179 s0.245 s+0.066 s3.01 MiB3.06 MiB+ 45.98 KiB
/wp-admin/media-new.php0.289 s0.306 s+0.017 s2.99 MiB3.05 MiB+ 64.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.288 s+0.079 s3.01 MiB3.08 MiB+ 73.93 KiB
/wp-admin/post-new.php?post_type=page0.594 s0.758 s+0.164 s5.01 MiB5.06 MiB+ 47.7 KiB
/wp-admin/options-discussion.php0.213 s0.368 s+0.155 s3 MiB3.06 MiB+ 59.71 KiB
/wp-admin/edit-comments.php0.217 s0.329 s+0.112 s3.03 MiB3.08 MiB+ 54.93 KiB
/0.303 s0.213 s-0.090 s2.97 MiB3.01 MiB+ 42.72 KiB
Average 0.344 s0.387 s+0.043 s3.38 MiB3.44 MiB+ 55.57 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

[31-May-2023 17:56:08 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
[31-May-2023 17:56:08 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-admin/includes/upgrade.php on line 2725
[31-May-2023 17:56:10 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(308): show_admin_menu_epf()
#3 /wp-includes/class-wp-hook.php(332): 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