Product Barcode Generator 2.0.7

Does Product Barcode Generator work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 82.28 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/product-barcode-generator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=product-barcode-generator%2Fproduct-barcode-generator.php&plugin_status=all&paged=1&s&_wpnonce=8de5a77a2a
Aspect after-activation
HTTP status 200
Load time 0.429 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Woo barcode

Page screenshot: Woo barcode
URL /wp-admin/admin.php?page=pbar_print
Aspect menu-item
HTTP status 200
Load time 1.612 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Woo barcode → Order barcode

Page screenshot: Woo barcode → Order barcode
URL /wp-admin/admin.php?page=pbar_orderemail
Aspect menu-item
HTTP status 200
Load time 0.460 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Woo barcode → Print Page

Page screenshot: Woo barcode → Print Page
URL /wp-admin/admin.php?page=pbar_printpage
Aspect menu-item
HTTP status 200
Load time 0.181 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Woo barcode → Download Page

Page screenshot: Woo barcode → Download Page
URL /wp-admin/admin.php?page=pbar_downbar
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 3.58 MiB
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.184 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.307 s0.300 s-0.007 s3.51 MiB3.6 MiB+ 94.13 KiB
/wp-admin/edit.php0.199 s0.402 s+0.203 s3.57 MiB3.66 MiB+ 93.4 KiB
/wp-admin/post-new.php0.759 s0.951 s+0.192 s6.06 MiB6.15 MiB+ 93.73 KiB
/wp-admin/upload.php0.614 s0.408 s-0.206 s3.52 MiB3.6 MiB+ 75.99 KiB
/wp-admin/options-writing.php0.227 s0.201 s-0.026 s3.5 MiB3.58 MiB+ 79.98 KiB
/wp-admin/media-new.php0.312 s0.207 s-0.105 s3.49 MiB3.58 MiB+ 88.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.175 s-0.044 s3.5 MiB3.6 MiB+ 98.85 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.797 s+0.185 s6.05 MiB6.14 MiB+ 89.26 KiB
/wp-admin/options-discussion.php0.428 s0.312 s-0.116 s3.5 MiB3.58 MiB+ 76.48 KiB
/wp-admin/edit-comments.php0.251 s0.201 s-0.050 s3.52 MiB3.6 MiB+ 75.98 KiB
/0.307 s0.221 s-0.086 s3.43 MiB3.47 MiB+ 39.09 KiB
Average 0.385 s0.380 s-0.005 s3.97 MiB4.05 MiB+ 82.28 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP46.4%1,97849119
CSS43.2%1,84051
JavaScript10.4%443115
SVG0.0%101
Total 4,262 507 26

PHP Code Analysis | More results »

Lines of code 1,636
Total complexity 319
Median class complexity 22.0
Median method complexity 1.0
Most complex class Pbarcode_Generator
Most complex function pabliteMetabox::field_generator()
Classes 11
Methods 89
Functions 4

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.

Meta Boxes

{
    "woocommerce_page_wc-orders": {
        "mv_other_fields": {
            "title": "Order Barcode",
            "context": "side"
        }
    },
    "shop_order": {
        "mv_other_fields": {
            "title": "Order Barcode",
            "context": "side"
        }
    },
    "product": {
        "Productbarcodes": {
            "title": "Product barcode",
            "context": "advanced"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Product Barcode Generator Admin Menus and Meta Boxes