Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-admin/includes/upgrade.php+2917
Undefined index: index_type
Server metrics [RAM: ▼0.75MB] [CPU: ▼26.91ms] Passed 4 tests
Analyzing server-side resources used by Simple Inventory Management - just scan barcode to manage products and orders. For WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.48 ▲0.45 |
Dashboard /wp-admin | 3.19 ▼0.11 | 27.21 ▼17.36 |
Posts /wp-admin/edit.php | 3.19 ▼0.16 | 28.59 ▼18.88 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.69 | 27.33 ▼63.03 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 25.36 ▼8.38 |
Barcode Scanner /wp-admin/admin.php?page=bs-redirect | 3.19 | 27.23 |
Support & Chat /wp-admin/admin.php?page=barcode-scanner-support | 3.19 | 26.87 |
Settings /wp-admin/admin.php?page=barcode-scanner-settings-update | 3.19 | 23.43 |
Indexed data /wp-admin/admin.php?page=barcode-scanner-indexed-data | 3.19 | 24.85 |
Barcode Scanner /wp-admin/admin.php?page=bs-mobile-home | 3.19 | 22.75 |
Logs /wp-admin/admin.php?page=barcode-scanner-logs | 3.19 | 24.32 |
FAQ /wp-admin/admin.php?page=barcode-scanner-faq | 3.19 | 25.08 |
Scan & Find item /wp-admin/admin.php?page=barcode-scanner | 3.19 | 24.79 |
Settings /wp-admin/admin.php?page=barcode-scanner-settings | 3.19 | 24.77 |
Server storage [IO: ▲3.14MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 137 new files
Database: 10 new tables, 7 new options
New tables |
---|
wp_barcode_scanner_posts_list |
wp_barcode_scanner_logs |
wp_barcode_scanner_settings |
wp_barcode_scanner_posts_columns |
wp_barcode_scanner_cart |
wp_barcode_scanner_locations_tree |
wp_barcode_scanner_interface |
wp_barcode_scanner_locations |
wp_barcode_scanner_history |
wp_barcode_scanner_posts |
New WordPress options |
---|
widget_recent-comments |
web_active-barcode-scanner-version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Inventory Management - just scan barcode to manage products and orders. For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,026 ▲265 | 14.45 ▼0.05 | 1.84 ▲0.33 | 44.61 ▲5.82 |
Dashboard /wp-admin | 2,417 ▲239 | 6.29 ▲0.50 | 118.37 ▲9.02 | 84.42 ▲41.36 |
Posts /wp-admin/edit.php | 2,357 ▲257 | 3.42 ▲1.44 | 57.31 ▲23.19 | 75.12 ▲37.08 |
Add New Post /wp-admin/post-new.php | 1,603 ▲77 | 23.05 ▲0.03 | 642.59 ▼45.57 | 145.38 ▲72.27 |
Media Library /wp-admin/upload.php | 1,497 ▲103 | 4.26 ▲0.05 | 81.32 ▼22.56 | 76.29 ▲29.96 |
Barcode Scanner /wp-admin/admin.php?page=bs-redirect | 1,043 | 3.09 | 40.15 | 61.84 |
Support & Chat /wp-admin/admin.php?page=barcode-scanner-support | 1,044 | 3.07 | 40.48 | 55.99 |
Settings /wp-admin/admin.php?page=barcode-scanner-settings-update | 758 | 1.68 | 9.68 | 12.51 |
Indexed data /wp-admin/admin.php?page=barcode-scanner-indexed-data | 1,250 | 3.17 | 38.86 | 65.84 |
Barcode Scanner /wp-admin/admin.php?page=bs-mobile-home | 1,049 | 3.08 | 39.57 | 54.15 |
Logs /wp-admin/admin.php?page=barcode-scanner-logs | 1,830 | 3.62 | 51.33 | 65.39 |
FAQ /wp-admin/admin.php?page=barcode-scanner-faq | 1,041 | 3.07 | 38.35 | 53.64 |
Scan & Find item /wp-admin/admin.php?page=barcode-scanner | 1,376 | 9.56 | 357.04 | 99.31 |
Settings /wp-admin/admin.php?page=barcode-scanner-settings | 7,809 | 7.83 | 305.93 | 67.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- Zombie tables were found after uninstall: 10 tables
- wp_barcode_scanner_cart
- wp_barcode_scanner_interface
- wp_barcode_scanner_posts_list
- wp_barcode_scanner_posts_columns
- wp_barcode_scanner_history
- wp_barcode_scanner_logs
- wp_barcode_scanner_posts
- wp_barcode_scanner_locations
- wp_barcode_scanner_settings
- wp_barcode_scanner_locations_tree
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- web_active-barcode-scanner-version
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=barcode-scanner-settings
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=barcode-scanner-settings-update
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/tab-locations-options-list.php
- > /wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/page-app-login.php
- > /wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/frontend/link.php
- 71× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/prices/field.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/tab-app.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/tab-orders.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/tab-permissions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/prices/_mobile.php:2
- > PHP Notice
Undefined variable: link in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/page-app-login.php on line 94
- > PHP Notice
Undefined variable: options in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/locations/views/meta-box-product-locations-tree.php on line 4
- > PHP Notice
Undefined variable: actualLink in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/tab-license.php on line 33
- > PHP Notice
Undefined variable: orderField in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/prices/field.php on line 4
- > PHP Notice
Undefined variable: logoUrl in wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/src/features/settings/views/page-app-login.php on line 77
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=barcode-scanner-indexed-data
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders//src/features/indexedData/assets/js/index-business-1.5.1-1698401813780.js - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=cart-recalculate&action=barcodeScannerAction&id=1698468616223&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616224&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616226&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616227&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616228&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616229&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616230&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616231&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616232&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616233&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616234&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616235&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616236&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616237&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616238&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616239&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616240&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616241&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616242&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616243&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616244&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616245&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616246&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616247&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616248&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616249&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616250&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616251&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616252&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616253&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616254&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616255&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616256&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616257&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616258&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616259&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616260&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616261&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616262&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616263&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616264&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616265&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616266&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616267&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616268&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616269&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616270&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616271&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=barcode-scanner
- > Network (severe)
wp-content/plugins/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/request.php?request=db-bg-indexing&action=barcodeScannerAction&id=1698468616272&token=web&userSession=&userToken=&platform=web - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: inventory, barcode, pos, qrcode, scanner...
barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/barcode-scanner.php 77% from 13 tests
The entry point to "Simple Inventory Management - just scan barcode to manage products and orders. For WooCommerce" version 1.5.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("barcode-scanner-lite-pos-to-manage-products-inventory-and-orders.php" instead of "barcode-scanner.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("4.0.1" instead of "2.0.0")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin17,178 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 3,171 | 29 | 14,509 |
JavaScript | 10 | 229 | 3 | 1,276 |
PO File | 2 | 417 | 455 | 924 |
CSS | 5 | 60 | 0 | 372 |
SVG | 7 | 0 | 0 | 80 |
JSON | 2 | 0 | 0 | 17 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 117)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 47.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 526.00 |
Average method complexity | 7.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 117.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 57 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 384 | |
▷ Static methods | 88 | 22.92% |
▷ Public methods | 297 | 77.34% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 87 | 22.66% |
Functions | 67 | |
▷ Named functions | 2 | 2.99% |
▷ Anonymous functions | 65 | 97.01% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/features/settings/assets/images/app-store-link.png | 0.89KB | 0.83KB | ▼ 5.95% |
assets/icons/keyboard-icon.png | 1.32KB | 0.85KB | ▼ 35.83% |
assets/icons/scanner-icon.png | 2.45KB | 1.64KB | ▼ 33.20% |
assets/icons/package-box.png | 1.26KB | 0.80KB | ▼ 36.66% |
src/features/settings/assets/images/google-play-link.png | 1.14KB | 1.08KB | ▼ 5.25% |