84% bulk-variations-for-woocommerce

Code Review | Bulk Variations for WooCommerce

WordPress plugin Bulk Variations for WooCommerce scored84%from 54 tests.

About plugin

  • Plugin page: bulk-variations-f...
  • Plugin version: 1.1.6
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4
  • WordPress version: 6.3.1
  • First release: Mar 17, 2020
  • Latest release: Oct 26, 2023
  • Number of updates: 12
  • Update frequency: every 109.8 days
  • Top authors: butterflymedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,735 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.10ms] Passed 4 tests

An overview of server-side resources used by Bulk Variations for WooCommerce
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0339.20 ▲1.07
Dashboard /wp-admin3.34 ▲0.0449.33 ▲1.30
Posts /wp-admin/edit.php3.39 ▲0.0344.47 ▲2.28
Add New Post /wp-admin/post-new.php5.93 ▲0.0381.54 ▼7.15
Media Library /wp-admin/upload.php3.27 ▲0.0333.07 ▲0.38
Bulk Variations /wp-admin/admin.php?page=wcbv3.2327.12

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Bulk Variations for WooCommerce
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.19 ▼0.211.75 ▲0.0844.34 ▲2.03
Dashboard /wp-admin2,195 ▲155.63 ▼0.0695.22 ▲9.7042.98 ▲0.94
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0134.56 ▼2.1235.71 ▼1.24
Add New Post /wp-admin/post-new.php1,529 ▼823.01 ▲4.75608.23 ▼34.7848.82 ▼18.72
Media Library /wp-admin/upload.php1,400 ▼04.17 ▼0.0593.15 ▼1.7341.18 ▲0.47
Bulk Variations /wp-admin/admin.php?page=wcbv8961.9921.2836.03

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-variations-for-woocommerce/bulk-variations-for-woocommerce.php:23

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


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: variation, woocommerce, attribute, bulk

bulk-variations-for-woocommerce/bulk-variations-for-woocommerce.php 92% from 13 tests

The main PHP script in "Bulk Variations for WooCommerce" version 1.1.6 is automatically included on every request by WordPress
It is important to fix the following:
  • Requires at least: Required version must match the one declared in readme.txt ("5.4" instead of "4.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin176 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
There were not PNG files found in your plugin