78% shopready-elementor-addon

Code Review | Shopready - Elementor addons for WooCommerce Page Builder

WordPress plugin Shopready - Elementor addons for WooCommerce Page Builder scored78%from 54 tests.

About plugin

  • Plugin page: shopready-element...
  • Plugin version: 3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.4.1
  • WordPress version: 6.3.1
  • First release: Oct 12, 2021
  • Latest release: Nov 19, 2023
  • Number of updates: 43
  • Update frequency: every 17.9 days
  • Top authors: quomodosoft (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

300+ active /9,601 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.85MB] [CPU: ▲6.29ms] Passed 4 tests

This is a short check of server-side resources used by Shopready - Elementor addons for WooCommerce Page Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.33 ▲0.8644.95 ▲5.79
Dashboard /wp-admin4.15 ▲0.8452.33 ▲2.88
Posts /wp-admin/edit.php4.23 ▲0.8753.65 ▲7.13
Add New Post /wp-admin/post-new.php6.75 ▲0.8699.82 ▲9.37
Media Library /wp-admin/upload.php4.08 ▲0.8543.82 ▲12.02
ShopReady /wp-admin/admin.php?page=shop-ready-elements-dashboard4.2751.67

Server storage [IO: ▲9.89MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 704 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
shop_ready_qs_version
widget_recent-posts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Shopready - Elementor addons for WooCommerce Page Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,892 ▲10514.74 ▲0.391.43 ▼0.4740.09 ▼8.61
Dashboard /wp-admin2,272 ▲955.83 ▲0.1795.61 ▼5.0686.67 ▲45.02
Posts /wp-admin/edit.php2,197 ▲972.24 ▲0.2740.97 ▲2.4137.99 ▲4.06
Add New Post /wp-admin/post-new.php1,647 ▲12124.11 ▲0.94692.56 ▲52.4729.02 ▼22.30
Media Library /wp-admin/upload.php1,493 ▲934.37 ▲0.2390.89 ▼17.6367.97 ▲20.65
ShopReady /wp-admin/admin.php?page=shop-ready-elements-dashboard5,3552.2741.0460.07

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • shop_ready_qs_version
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/shopready-elementor-addon/src/system/base/dashboard/views/tabs/menu.php
    • > /wp-content/plugins/shopready-elementor-addon/src/system/base/dashboard/views/dashboard.php
  • 121× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Illuminate\\Contracts\\Cookie\\Factory' not found in wp-content/plugins/shopready-elementor-addon/vendor/illuminate/contracts/Cookie/QueueingFactory.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Shop_Ready\\base\\Template_Redirect' not found in wp-content/plugins/shopready-elementor-addon/src/extension/templates/hooks/account/Login_Register.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Shop_Ready\\base\\elementor\\Document_Settings' not found in wp-content/plugins/shopready-elementor-addon/src/extension/header_footer/settings/Page_Settings.php:16
    • > PHP Fatal error
      Uncaught Error: Interface 'Illuminate\\Contracts\\Support\\Arrayable' not found in wp-content/plugins/shopready-elementor-addon/vendor/illuminate/contracts/Support/MessageBag.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Shop_Ready\\system\\base\\dashboard\\Form' not found in wp-content/plugins/shopready-elementor-addon/src/system/base/dashboard/controls/Modules.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'Illuminate\\Contracts\\Support\\CanBeEscapedWhenCastToString' not found in wp-content/plugins/shopready-elementor-addon/vendor/illuminate/collections/LazyCollection.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Shop_Ready\\base\\shortcode\\ShortCode_Settings' not found in wp-content/plugins/shopready-elementor-addon/src/extension/wpshortcode/ShortCode_Base.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/shopready-elementor-addon/src/extension/generalwidgets/deps/Mega_Menu_Nav_Walker.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Shop_Ready\\extension\\elegrid\\plugin_dir_path() in wp-content/plugins/shopready-elementor-addon/src/extension/elegrid/Service.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/shopready-elementor-addon/src/extension/generalwidgets/Widget_Base.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in shopready-elementor-addon/assets to your readme.txt
  • Requires php: Version not formatted correctly
The official readme.txt is a good inspiration

shopready-elementor-addon/shopready-elementor-addon.php Passed 13 tests

The primary PHP file in "Shopready - Elementor addons for WooCommerce Page Builder" version 3.3 is used by WordPress to initiate all plugin functionality
100 characters long description:
WooCommerce Builder for Elementor, Products Compare, UpSell, Variation Swatches, Wishlist, QuickView

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected107,201 lines of code in 641 files:
LanguageFilesBlank linesComment linesLines of code
PHP55513,80113,02766,841
CSS306,72547534,796
JavaScript311,0222974,487
JSON900732
SVG900210
Markdown7450135

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity8.24
▷ Minimum class complexity1.00
▷ Maximum class complexity128.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity82.00
Code structure
Namespaces118
Interfaces116
Traits15
Classes211
▷ Abstract classes219.95%
▷ Concrete classes19090.05%
▷ Final classes168.42%
Methods1,839
▷ Static methods18410.01%
▷ Public methods1,67290.92%
▷ Protected methods1327.18%
▷ Private methods351.90%
Functions216
▷ Named functions12658.33%
▷ Anonymous functions9041.67%
Constants66
▷ Global constants3248.48%
▷ Class constants3451.52%
▷ Public constants34100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.35MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/public/images/logo.png3.91KB2.37KB▼ 39.32%
assets/public/images/wishlist.png35.09KB16.47KB▼ 53.05%
src/system/base/assets/css/owl/owl.video.play.png4.86KB2.74KB▼ 43.61%
assets/public/images/shopready-thumb.png314.88KB76.79KB▼ 75.61%