84% wpc-variation-bulk-editor

Code Review | WPC Variation Bulk Editor for WooCommerce

WordPress plugin WPC Variation Bulk Editor for WooCommerce scored84%from 54 tests.

About plugin

  • Plugin page: wpc-variation-bul...
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 15, 2023
  • Latest release: Sep 3, 2023
  • Number of updates: 8
  • Update frequency: every 10.4 days
  • Top authors: wpclever (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /661 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: ▲0.02MB] [CPU: ▼5.07ms] Passed 4 tests

A check of server-side resources used by WPC Variation Bulk Editor for WooCommerce
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.18 ▼2.12
Dashboard /wp-admin3.32 ▲0.0254.35 ▲2.95
Posts /wp-admin/edit.php3.44 ▲0.0849.43 ▼5.45
Add New Post /wp-admin/post-new.php5.92 ▲0.0492.54 ▼15.65
Media Library /wp-admin/upload.php3.25 ▲0.0241.01 ▲2.93
About /wp-admin/admin.php?page=wpclever3.2134.57
Essential Kit /wp-admin/admin.php?page=wpclever-kit3.2129.20

Server storage [IO: ▲0.12MB] [DB: ▲0.02MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for WPC Variation Bulk Editor for WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,877 ▲13113.41 ▼0.971.87 ▲0.1752.95 ▲8.30
Dashboard /wp-admin2,280 ▲925.87 ▲0.01103.07 ▲0.4991.13 ▲49.22
Posts /wp-admin/edit.php2,163 ▲742.01 ▲0.0334.32 ▼5.5135.17 ▼2.49
Add New Post /wp-admin/post-new.php1,742 ▲20022.49 ▲4.06720.35 ▲85.8765.03 ▲5.61
Media Library /wp-admin/upload.php1,462 ▲744.25 ▼0.01105.97 ▲2.7184.68 ▲35.98
About /wp-admin/admin.php?page=wpclever1,3962.1236.5439.76
Essential Kit /wp-admin/admin.php?page=wpclever-kit5,7202.1433.9460.55

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% 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 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpc-variation-bulk-editor/wpc-variation-bulk-editor.php:19

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes: The official readme.txt is a good inspiration

wpc-variation-bulk-editor/wpc-variation-bulk-editor.php Passed 13 tests

The main PHP file in "WPC Variation Bulk Editor for WooCommerce" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
77 characters long description:
WPC Variation Bulk Editor helps you save precious time working on variations.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,087 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP515832820
CSS511123625
JavaScript4636369
Sass1380244
SVG10029

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity27.40
▷ Minimum class complexity1.00
▷ Maximum class complexity88.00
Average method complexity5.23
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods32
▷ Static methods13.12%
▷ Public methods32100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin