Eyewear Prescription Form 2.0.7

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

Summary

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

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

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

Environment
WordPress version6.1.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=324cbc06e3
Aspect after-activation
HTTP status 200
Load time 0.495 s
Memory usage 3.07 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.330 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.232 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.285 s0.364 s+0.079 s3.05 MiB3.12 MiB+ 74.49 KiB
/wp-admin/edit.php0.181 s0.291 s+0.110 s3.08 MiB3.15 MiB+ 76.47 KiB
/wp-admin/post-new.php0.787 s0.916 s+0.129 s4.97 MiB5.03 MiB+ 62.5 KiB
/wp-admin/upload.php0.578 s0.263 s-0.315 s2.99 MiB3.03 MiB+ 40.82 KiB
/wp-admin/options-writing.php0.178 s0.246 s+0.068 s2.99 MiB3.04 MiB+ 51.49 KiB
/wp-admin/media-new.php0.278 s0.309 s+0.031 s2.97 MiB3.04 MiB+ 70.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.295 s+0.094 s2.98 MiB3.06 MiB+ 80.07 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.830 s+0.194 s4.96 MiB5.02 MiB+ 58.09 KiB
/wp-admin/options-discussion.php0.207 s0.376 s+0.169 s2.98 MiB3.04 MiB+ 65.34 KiB
/wp-admin/edit-comments.php0.223 s0.342 s+0.119 s3 MiB3.06 MiB+ 61.18 KiB
/0.303 s0.238 s-0.065 s2.95 MiB3 MiB+ 53.84 KiB
Average 0.351 s0.406 s+0.056 s3.36 MiB3.42 MiB+ 63.13 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
PHP54.6%1,38056514
JavaScript26.7%675615
CSS17.1%431162
SVG1.6%4011
Total 2,526 643 22

PHP Code Analysis | More results »

Lines of code 536
Total complexity 92
Median class complexity 4.0
Median method complexity 1.0
Most complex class Eyewear_prescription_form\Eyewear_prescription_form/includes\Eyewear_prescription_form
Most complex function epc_specfit_wdm_add_item_data()
Classes 7
Methods 27
Functions 11

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 4

PHP Error Log 9 lines

[21-Dec-2022 07:28:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_price() in /wp-content/plugins/eyewear-prescription-form/admin/partials/eyewear_prescription_form-admin-display.php:245
Stack trace:
#0 /wp-content/plugins/eyewear-prescription-form/admin/class-eyewear_prescription_form-admin.php(164): include_once()
#1 /wp-includes/class-wp-hook.php(308): show_admin_menu_epf()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(259): do_action()
#5 {main}
  thrown in /wp-content/plugins/eyewear-prescription-form/admin/partials/eyewear_prescription_form-admin-display.php on line 245
See also: All tests for this plugin, How to Hide Eyewear Prescription Form Admin Menus