Product Barcode Generator 1.0.0

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

Summary

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

Memory usage: 51.79 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 version5.7.2
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=9443bb32f5
Aspect after-activation
HTTP status 200
Load time 0.582 s
Memory usage 2.78 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.0.0:2:40",
        "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.300 s
Memory usage 2.74 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.0.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.265 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.318 s+0.042 s2.82 MiB2.88 MiB+ 63.95 KiB
/wp-admin/edit.php0.206 s0.217 s+0.011 s2.86 MiB2.91 MiB+ 50.29 KiB
/wp-admin/post-new.php0.904 s1.179 s+0.275 s5.02 MiB5.08 MiB+ 59.15 KiB
/wp-admin/upload.php0.491 s0.369 s-0.122 s2.7 MiB2.75 MiB+ 59.5 KiB
/wp-admin/options-writing.php0.261 s0.293 s+0.032 s2.71 MiB2.74 MiB+ 29.91 KiB
/wp-admin/media-new.php0.231 s0.237 s+0.006 s2.67 MiB2.73 MiB+ 61.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.237 s+0.037 s2.77 MiB2.83 MiB+ 61.83 KiB
/wp-admin/post-new.php?post_type=page1.217 s0.803 s-0.414 s5.01 MiB5.06 MiB+ 50.73 KiB
/wp-admin/options-discussion.php0.338 s0.361 s+0.023 s2.67 MiB2.74 MiB+ 62.42 KiB
/wp-admin/edit-comments.php0.254 s0.266 s+0.012 s2.78 MiB2.83 MiB+ 58.84 KiB
/0.285 s0.221 s-0.064 s2.65 MiB2.66 MiB+ 11.88 KiB
Average 0.424 s0.409 s-0.015 s3.15 MiB3.2 MiB+ 51.79 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.

CSS
PHP
JavaScript
Language % Lines of code Comment lines Files
CSS46.9%58411
PHP42.9%53544110
JavaScript10.2%127113
Total 1,246 453 14

PHP Code Analysis | More results »

Lines of code 570
Total complexity 95
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 41
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