Eyewear Prescription Form 4.0.0

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

Summary

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

Memory usage: 56.85 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.038 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=03bd69adb0
Aspect after-activation
HTTP status 200
Load time 0.714 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.222 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.192 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.291 s0.375 s+0.084 s3.07 MiB3.13 MiB+ 63.48 KiB
/wp-admin/edit.php0.188 s0.241 s+0.053 s3.1 MiB3.17 MiB+ 70.89 KiB
/wp-admin/post-new.php0.742 s0.861 s+0.119 s5.02 MiB5.07 MiB+ 52.11 KiB
/wp-admin/upload.php0.534 s0.272 s-0.262 s3.02 MiB3.05 MiB+ 35.2 KiB
/wp-admin/options-writing.php0.185 s0.360 s+0.175 s3.01 MiB3.06 MiB+ 45.98 KiB
/wp-admin/media-new.php0.307 s0.318 s+0.011 s2.99 MiB3.05 MiB+ 64.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.278 s+0.081 s3.01 MiB3.08 MiB+ 73.93 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.625 s+0.038 s5.01 MiB5.06 MiB+ 47.7 KiB
/wp-admin/options-discussion.php0.208 s0.340 s+0.132 s3 MiB3.06 MiB+ 59.71 KiB
/wp-admin/edit-comments.php0.223 s0.336 s+0.113 s3.03 MiB3.08 MiB+ 54.93 KiB
/0.293 s0.170 s-0.123 s2.97 MiB
Average 0.341 s0.380 s+0.038 s3.38 MiB3.48 MiB+ 56.85 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,31865819
JavaScript27.7%1,301967
CSS18.9%887312
PO File3.1%1461801
SVG0.9%4011
Total 4,692 966 30

PHP Code Analysis | More results »

Lines of code 1,699
Total complexity 271
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 46 lines

[30-May-2023 18:16:06 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
[30-May-2023 18:16:06 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-admin/includes/upgrade.php on line 2725
[30-May-2023 18:16:08 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
[30-May-2023 18:16:09 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_category_ids() on null in /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php:172
Stack trace:
#0 /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php(200): checkValidCat()
#1 /wp-includes/class-wp-hook.php(306): epc_specfit_show_model()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3065): do_action()
#5 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#6 /wp-includes/template.php(783): require_once('...')
#7 /wp-includes/template.php(718): load_template()
#8 /wp-includes/general-template.php(92): locate_template()
#9 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#10 /wp-includes/template-loader.php(106): include('...')
#11 /wp-blog-header.php(19): require_once('...')
#12 /index.php(17): require('...')
#13 {main}
  thrown in /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php on line 172
[30-May-2023 18:16:17 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_category_ids() on null in /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php:172
Stack trace:
#0 /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php(200): checkValidCat()
#1 /wp-includes/class-wp-hook.php(306): epc_specfit_show_model()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3065): do_action()
#5 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#6 /wp-includes/template.php(783): require_once('...')
#7 /wp-includes/template.php(718): load_template()
#8 /wp-includes/general-template.php(92): locate_template()
#9 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#10 /wp-includes/template-loader.php(106): include('...')
#11 /wp-blog-header.php(19): require_once('...')
#12 /index.php(17): require('...')
#13 {main}
  thrown in /wp-content/plugins/eyewear-prescription-form/public/class-eyewear_prescription_form-public.php on line 172
See also: All tests for this plugin, How to Hide Eyewear Prescription Form Admin Menus