10% barcode-scanner-lite-pos-to-manage-products-inventory-and-orders

Code Review | Simple Inventory Management - just scan barcode to manage products and orders. For WooCommerce

WordPress plugin Simple Inventory Management - just scan barcode to manage products and orders. For WooCommerce scored10%from 54 tests.

About plugin

  • Plugin page: barcode-scanner-l...
  • Plugin version: 1.5.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 3, 2021
  • Latest release: Oct 27, 2023
  • Number of updates: 77
  • Update frequency: every 10.8 days
  • Top authors: UkrSolution (100%)

Code review

54 tests

User reviews

25 reviews

Install metrics

700+ active /13,957 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1239.48 ▲0.45
Dashboard /wp-admin3.19 ▼0.1127.21 ▼17.36
Posts /wp-admin/edit.php3.19 ▼0.1628.59 ▼18.88
Add New Post /wp-admin/post-new.php3.19 ▼2.6927.33 ▼63.03
Media Library /wp-admin/upload.php3.19 ▼0.0425.36 ▼8.38
Barcode Scanner /wp-admin/admin.php?page=bs-redirect3.1927.23
Support & Chat /wp-admin/admin.php?page=barcode-scanner-support3.1926.87
Settings /wp-admin/admin.php?page=barcode-scanner-settings-update3.1923.43
Indexed data /wp-admin/admin.php?page=barcode-scanner-indexed-data3.1924.85
Barcode Scanner /wp-admin/admin.php?page=bs-mobile-home3.1922.75
Logs /wp-admin/admin.php?page=barcode-scanner-logs3.1924.32
FAQ /wp-admin/admin.php?page=barcode-scanner-faq3.1925.08
Scan & Find item /wp-admin/admin.php?page=barcode-scanner3.1924.79
Settings /wp-admin/admin.php?page=barcode-scanner-settings3.1924.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,026 ▲26514.45 ▼0.051.84 ▲0.3344.61 ▲5.82
Dashboard /wp-admin2,417 ▲2396.29 ▲0.50118.37 ▲9.0284.42 ▲41.36
Posts /wp-admin/edit.php2,357 ▲2573.42 ▲1.4457.31 ▲23.1975.12 ▲37.08
Add New Post /wp-admin/post-new.php1,603 ▲7723.05 ▲0.03642.59 ▼45.57145.38 ▲72.27
Media Library /wp-admin/upload.php1,497 ▲1034.26 ▲0.0581.32 ▼22.5676.29 ▲29.96
Barcode Scanner /wp-admin/admin.php?page=bs-redirect1,0433.0940.1561.84
Support & Chat /wp-admin/admin.php?page=barcode-scanner-support1,0443.0740.4855.99
Settings /wp-admin/admin.php?page=barcode-scanner-settings-update7581.689.6812.51
Indexed data /wp-admin/admin.php?page=barcode-scanner-indexed-data1,2503.1738.8665.84
Barcode Scanner /wp-admin/admin.php?page=bs-mobile-home1,0493.0839.5754.15
Logs /wp-admin/admin.php?page=barcode-scanner-logs1,8303.6251.3365.39
FAQ /wp-admin/admin.php?page=barcode-scanner-faq1,0413.0738.3553.64
Scan & Find item /wp-admin/admin.php?page=barcode-scanner1,3769.56357.0499.31
Settings /wp-admin/admin.php?page=barcode-scanner-settings7,8097.83305.9367.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP943,1712914,509
JavaScript1022931,276
PO File2417455924
CSS5600372
SVG70080
JSON20017

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 code0.52
Average class complexity47.19
▷ Minimum class complexity1.00
▷ Maximum class complexity526.00
Average method complexity7.41
▷ Minimum method complexity1.00
▷ Maximum method complexity117.00
Code structure
Namespaces23
Interfaces0
Traits0
Classes57
▷ Abstract classes00.00%
▷ Concrete classes57100.00%
▷ Final classes00.00%
Methods384
▷ Static methods8822.92%
▷ Public methods29777.34%
▷ Protected methods00.00%
▷ Private methods8722.66%
Functions67
▷ Named functions22.99%
▷ Anonymous functions6597.01%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
src/features/settings/assets/images/app-store-link.png0.89KB0.83KB▼ 5.95%
assets/icons/keyboard-icon.png1.32KB0.85KB▼ 35.83%
assets/icons/scanner-icon.png2.45KB1.64KB▼ 33.20%
assets/icons/package-box.png1.26KB0.80KB▼ 36.66%
src/features/settings/assets/images/google-play-link.png1.14KB1.08KB▼ 5.25%