Serial Numbers for WooCommerce 1.4.3

Does Serial Numbers for WooCommerce work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
19PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/wc-serial-numbers/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=wc-serial-numbers%2Fwc-serial-numbers.php&plugin_status=all&paged=1&s&_wpnonce=c415a0bd35
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.085 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.340 s0.499 s+0.159 s3.05 MiB3.12 MiB+ 75.74 KiB
/wp-admin/edit.php0.210 s0.371 s+0.161 s3.08 MiB3.15 MiB+ 73.93 KiB
/wp-admin/post-new.php0.853 s0.998 s+0.145 s4.97 MiB5.05 MiB+ 86.39 KiB
/wp-admin/upload.php0.575 s0.327 s-0.248 s2.99 MiB3.05 MiB+ 59.94 KiB
/wp-admin/options-writing.php0.380 s0.167 s-0.213 s2.99 MiB3.03 MiB+ 46.59 KiB
/wp-admin/media-new.php0.287 s0.250 s-0.037 s2.97 MiB3.04 MiB+ 71.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.206 s+0.039 s2.98 MiB3.06 MiB+ 76.48 KiB
/wp-admin/post-new.php?post_type=page0.646 s0.665 s+0.019 s4.96 MiB5.04 MiB+ 77.98 KiB
/wp-admin/options-discussion.php0.217 s0.289 s+0.072 s2.98 MiB3.04 MiB+ 60.44 KiB
/wp-admin/edit-comments.php0.205 s0.189 s-0.016 s3 MiB3.06 MiB+ 58.41 KiB
Average 0.388 s0.396 s+0.008 s3.4 MiB3.46 MiB+ 68.73 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
Language % Lines of code Comment lines Files
PHP97.4%4,5202,86238
JavaScript2.6%12171
XML0.0%201
Total 4,643 2,869 40

PHP Code Analysis | More results »

Lines of code 4,441
Total complexity 942
Median class complexity 15.5
Median method complexity 1.0
Most complex class WC_Serial_Numbers_Query
Most complex function wc_serial_numbers_insert_serial_number()
Classes 26
Methods 275
Functions 38

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 2

Options wp_options 14

Meta Boxes

{
    "shop_order": {
        "order-serial-numbers": {
            "title": "Serial Numbers",
            "context": "advanced"
        }
    }
}

PHP Error Log 39 lines

[16-Jan-2023 13:32:28 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:29 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/wc-serial-numbers/includes/class-wc-serial-numbers-order-handler.php:87
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WC_Serial_Numbers_Handler::maybe_autocomplete_order()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
  thrown in /wp-content/plugins/wc-serial-numbers/includes/class-wc-serial-numbers-order-handler.php on line 87
[16-Jan-2023 13:32:30 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:30 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:31 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:31 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:33 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:33 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:34 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:34 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:34 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:34 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:34 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:37 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:37 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:37 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/wc-serial-numbers/includes/class-wc-serial-numbers-order-handler.php:87
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WC_Serial_Numbers_Handler::maybe_autocomplete_order()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
  thrown in /wp-content/plugins/wc-serial-numbers/includes/class-wc-serial-numbers-order-handler.php on line 87
[16-Jan-2023 13:32:37 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:38 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
[16-Jan-2023 13:32:38 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wc-serial-numbers/lib/Lib/Plugin.php on line 160
See also: All tests for this plugin