Product Barcode Generator 1.2.0

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

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 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=product-barcode-generator%2Fproduct-barcode-generator.php&plugin_status=all&paged=1&s&_wpnonce=b48c0ea6ed
Aspect after-activation
HTTP status 200
Load time 0.509 s
Memory usage 3.08 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'addEventListener' of null\n    at /wp-content/plugins/product-barcode-generator/admin/js/jQuery.print.js?ver=1.2.0:2:40",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'value' of null\n    at ParcRangSlidersize1 (/wp-content/plugins/product-barcode-generator/admin/js/pbrcode-generator-admin.js?ver=1.2.0:23:33)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/product-barcode-generator/admin/js/pbrcode-generator-admin.js?ver=1.2.0:31:7)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Barcode GEN.

Page screenshot: Barcode GEN.
URL /wp-admin/admin.php?page=pbar_print
Aspect menu-item
HTTP status 200
Load time 0.274 s
Memory usage 3.04 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'addEventListener' of null\n    at /wp-content/plugins/product-barcode-generator/admin/js/jQuery.print.js?ver=1.2.0:2:40",
        "trace": null,
        "code": null
    }
]
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.295 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.332 s-0.039 s3.08 MiB3.12 MiB+ 37.23 KiB
/wp-admin/edit.php0.191 s0.265 s+0.074 s3.11 MiB3.15 MiB+ 40.52 KiB
/wp-admin/post-new.php1.136 s1.299 s+0.163 s5.27 MiB5.31 MiB+ 45.92 KiB
/wp-admin/upload.php0.554 s0.406 s-0.148 s3.03 MiB3.07 MiB+ 37.14 KiB
/wp-admin/options-writing.php0.173 s0.209 s+0.036 s3.02 MiB3.05 MiB+ 23.19 KiB
/wp-admin/media-new.php0.224 s0.219 s-0.005 s3.01 MiB3.05 MiB+ 41.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.194 s-0.001 s3.04 MiB3.07 MiB+ 36.6 KiB
/wp-admin/post-new.php?post_type=page0.896 s1.582 s+0.686 s5.26 MiB5.3 MiB+ 41.51 KiB
/wp-admin/options-discussion.php0.221 s0.331 s+0.110 s3 MiB3.04 MiB+ 39.7 KiB
/wp-admin/edit-comments.php0.198 s0.311 s+0.113 s3.04 MiB3.08 MiB+ 37.11 KiB
/0.292 s0.223 s-0.069 s2.96 MiB2.92 MiB- 35.83 KiB
Average 0.405 s0.488 s+0.084 s3.44 MiB3.47 MiB+ 31.34 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
PHP44.4%74044110
CSS43.9%73121
JavaScript11.7%195113
Total 1,666 454 14

PHP Code Analysis | More results »

Lines of code 787
Total complexity 132
Median class complexity 7.0
Median method complexity 1.0
Most complex class Pbarcode_Generator
Most complex function pbar_generator_Admin::pbarcode_metabox_func()
Classes 7
Methods 44
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

{
    "product": {
        "qrc_compoer_metabox": {
            "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