Eyewear Prescription Form 2.0.3

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

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

Environment
WordPress version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=d2da44a527
Aspect after-activation
HTTP status 200
Load time 0.690 s
Memory usage 3.12 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.218 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.208 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.392 s+0.042 s3.08 MiB3.17 MiB+ 88.77 KiB
/wp-admin/edit.php0.210 s0.317 s+0.107 s3.11 MiB3.27 MiB+ 157.73 KiB
/wp-admin/post-new.php0.942 s1.098 s+0.156 s5.27 MiB5.33 MiB+ 67.63 KiB
/wp-admin/upload.php0.389 s0.339 s-0.050 s3.03 MiB3.09 MiB+ 57.31 KiB
/wp-admin/options-writing.php0.254 s0.267 s+0.013 s3.02 MiB3.09 MiB+ 70.96 KiB
/wp-admin/media-new.php0.322 s0.306 s-0.016 s3.01 MiB3.08 MiB+ 78.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.468 s+0.269 s3.04 MiB3.13 MiB+ 93.93 KiB
/wp-admin/post-new.php?post_type=page0.912 s1.071 s+0.159 s5.26 MiB5.32 MiB+ 63.21 KiB
/wp-admin/options-discussion.php0.231 s0.359 s+0.128 s3 MiB3.09 MiB+ 88.09 KiB
/wp-admin/edit-comments.php0.209 s0.310 s+0.101 s3.04 MiB3.13 MiB+ 91.31 KiB
/0.288 s0.197 s-0.091 s2.96 MiB2.96 MiB+ 6.52 KiB
Average 0.391 s0.466 s+0.074 s3.44 MiB3.51 MiB+ 78.51 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.8%1,38955614
JavaScript26.6%675615
CSS17.0%431162
SVG1.6%4011
Total 2,535 634 22

PHP Code Analysis | More results »

Lines of code 545
Total complexity 92
Median class complexity 4.0
Median method complexity 1.0
Most complex class 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

[16-Nov-2021 01:14:16 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(303): show_admin_menu_epf()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): 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