83% woolementor

Code Review | Best WooCommerce Builder for Elementor: WooCommerce Product, Cart & Checkout Customizer | All in one WooCommerce Solution by CoDesigner

WordPress plugin Best WooCommerce Builder for Elementor: WooCommerce Product, Cart & Checkout Customizer | All in one WooCommerce Solution by CoDesigner scored83%from 54 tests.

About plugin

  • Plugin page: woolementor
  • Plugin version: 3.17.8
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Feb 26, 2020
  • Latest release: Nov 20, 2023
  • Number of updates: 145
  • Update frequency: every 9.4 days
  • Top authors: mukto90 (57.24%)codexpert (40.69%)woolementor (3.45%)

Code review

54 tests

User reviews

140 reviews

Install metrics

10,000+ active /532,254 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲1.22MB] [CPU: ▲2.15ms] Passed 4 tests

Analyzing server-side resources used by Best WooCommerce Builder for Elementor: WooCommerce Product, Cart & Checkout Customizer | All in one WooCommerce Solution by CoDesigner
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.41 ▲0.9442.04 ▼2.29
Dashboard /wp-admin4.67 ▲1.3255.23 ▼7.28
Posts /wp-admin/edit.php4.72 ▲1.3660.40 ▲14.63
Add New Post /wp-admin/post-new.php7.19 ▲1.3096.57 ▲4.02
Media Library /wp-admin/upload.php4.53 ▲1.3049.92 ▲14.16

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 707 new files
Database: no new tables, 11 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
codesigner_version
widget_recent-posts
codesigner_install_time
widget_recent-comments
pl-survey_codesigner-activated
codesigner_update_time
can_compress_scripts
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Best WooCommerce Builder for Elementor: WooCommerce Product, Cart & Checkout Customizer | All in one WooCommerce Solution by CoDesigner
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,996 ▲24913.87 ▼0.397.91 ▲6.1742.44 ▼1.69
Dashboard /wp-admin2,302 ▲1215.63 ▼0.0897.97 ▼19.5780.91 ▲33.45
Posts /wp-admin/edit.php2,211 ▲1112.15 ▲0.1440.17 ▼1.9540.56 ▲3.09
Add New Post /wp-admin/post-new.php1,615 ▲8923.38 ▲0.31703.13 ▲85.87159.00 ▲103.41
Media Library /wp-admin/upload.php1,507 ▲1074.20 ▲0.0198.83 ▲1.8483.93 ▲43.10

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 8 options
    • theysaidso_admin_options
    • codesigner_update_time
    • widget_recent-posts
    • widget_recent-comments
    • codesigner-activated
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 256× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolementor/vendor/picqer/php-barcode-generator/tests/BarcodeHtmlTest.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QROutputAbstract' not found in wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/src/Output/QRImagick.php:30
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/woolementor/widgets/shop-table/shop-table.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/woolementor/widgets/quick-checkout-button/quick-checkout-button.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QROutputAbstract' not found in wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/src/Output/QRImage.php:31
    • > PHP Warning
      require_once(wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/examples/imageWithText.php on line 17
    • > PHP Fatal error
      Uncaught Error: Class 'chillerlan\\QRCodeTest\\Data\\DatainterfaceTestAbstract' not found in wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/tests/Data/AlphaNumTest.php:21
    • > PHP Warning
      require_once(wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/woolementor/vendor/chillerlan/php-qrcode/examples/fpdf.php on line 7
    • > PHP Warning
      require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/woolementor/vendor/picqer/php-barcode-generator/generate-examples.php on line 7
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/woolementor/widgets/order-pay/order-pay.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 86% 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
10 plugin tags: woocommerce, woo builder, woocommerce product, woocommerce addon, elementor...

woolementor/codesigner.php 69% from 13 tests

This is the main PHP file of "Best WooCommerce Builder for Elementor: WooCommerce Product, Cart & Checkout Customizer | All in one WooCommerce Solution by CoDesigner" version 3.17.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 197 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("woolementor.php" instead of "codesigner.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin111,573 lines of code in 489 files:
LanguageFilesBlank linesComment linesLines of code
PHP27813,46512,66387,120
CSS9829558411,933
SVG41008,620
Markdown1332801,312
JavaScript33123701,167
JSON1000810
HTML5260331
YAML7547195
XML40085

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity10.10
▷ Minimum class complexity1.00
▷ Maximum class complexity233.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity64.00
Code structure
Namespaces31
Interfaces4
Traits4
Classes223
▷ Abstract classes94.04%
▷ Concrete classes21495.96%
▷ Final classes177.94%
Methods1,515
▷ Static methods503.30%
▷ Public methods1,19678.94%
▷ Protected methods28618.88%
▷ Private methods332.18%
Functions65
▷ Named functions4975.38%
▷ Anonymous functions1624.62%
Constants114
▷ Global constants76.14%
▷ Class constants10793.86%
▷ Public constants9992.52%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
148 PNG files occupy 10.49MB with 3.88MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/nguyenary/qr-code-monkey/image/src/qr/eye-frames/frame10.png1.39KB1.36KB▼ 2.04%
assets/img/love.png2.95KB1.91KB▼ 35.13%
assets/img/cta-bg.png44.98KB8.21KB▼ 81.74%
widgets/menu-cart/assets/img/screenshot.png44.83KB15.34KB▼ 65.79%
vendor/nguyenary/qr-code-monkey/image/src/qr/eye-frames/frame11.png1.49KB1.65KB0.00%