73% bulk-edit-categories-tags

Code Review | Bulk Edit Categories and Tags - Create Thousands Quickly on the Editor

WordPress plugin Bulk Edit Categories and Tags - Create Thousands Quickly on the Editor scored73%from 54 tests.

About plugin

  • Plugin page: bulk-edit-categor...
  • Plugin version: 1.7.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Apr 23, 2019
  • Latest release: Nov 1, 2023
  • Number of updates: 107
  • Update frequency: every 15.4 days
  • Top authors: JoseVega (100%)

Code review

54 tests

User reviews

23 reviews

Install metrics

3,000+ active /116,611 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

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

Server-side resources used by Bulk Edit Categories and Tags - Create Thousands Quickly on the Editor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.36 ▲0.9041.34 ▼4.67
Dashboard /wp-admin4.51 ▲1.1753.78 ▼6.10
Posts /wp-admin/edit.php4.56 ▲1.2057.34 ▲14.86
Add New Post /wp-admin/post-new.php7.03 ▲1.1492.56 ▲4.91
Media Library /wp-admin/upload.php4.43 ▲1.2045.86 ▲7.86
Settings /wp-admin/admin.php?page=vg_sheet_editor4.5945.98
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-category4.7266.44
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-post_tag4.6257.19
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius4.7939.57
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions4.4647.45
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup4.4940.92

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 381 new files
Database: no new tables, 16 new options
New WordPress options
vgse_columns_visibility_migrated
fs_active_plugins
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
fs_debug_mode
vg_sheet_editor
vgse_columns_visibility
fs_accounts
vgse_disable_quick_setup
...

Browser metrics Passed 4 tests

Checking browser requirements for Bulk Edit Categories and Tags - Create Thousands Quickly on the Editor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,990 ▲21914.25 ▼0.091.62 ▼0.4430.14 ▼10.19
Dashboard /wp-admin2,381 ▲2065.63 ▼0.0895.65 ▼9.4289.60 ▲50.26
Posts /wp-admin/edit.php2,192 ▲921.96 ▼0.0537.74 ▲2.3734.71 ▲2.82
Add New Post /wp-admin/post-new.php1,610 ▲8418.41 ▼4.82680.27 ▼9.3750.37 ▼9.68
Media Library /wp-admin/upload.php1,485 ▲854.16 ▼0.06100.81 ▼13.6286.91 ▲39.38
Settings /wp-admin/admin.php?page=vg_sheet_editor2,1635.88170.3466.51
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-category4,7668.90311.4089.34
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-post_tag4,5528.16226.9193.06
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,1521.7025.7526.96
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions1,9785.7467.6270.67
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup1,8135.1761.9781.32

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/bulk-edit-categories-tags/vendor/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • This plugin does not fully uninstall, leaving 13 options in the database
    • widget_theysaidso_widget
    • wpsett_welcome_redirect
    • vg_sheet_editor
    • widget_recent-comments
    • vgse_columns_visibility
    • fs_active_plugins
    • fs_debug_mode
    • fs_accounts
    • widget_recent-posts
    • theysaidso_admin_options
    • ...

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 7× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/bulk-edit-categories-tags/vendor/vg-plugin-sdk/views/page-template.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/bulk-edit-categories-tags/vendor/vg-plugin-sdk/views/settings-page.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/bulk-edit-categories-tags/vendor/vg-plugin-sdk/samples/email-optin-form.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/bulk-edit-categories-tags/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-categories-tags/modules/wp-sheet-editor/inc/integrations/elementor.php:107
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-categories-tags/modules/wp-sheet-editor/inc/integrations/visual-composer.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-categories-tags/vendor/vg-plugin-sdk/views/settings-form.php:1

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: spreadsheet editor, bulk edit, taxonomies, spreadsheet, posts

bulk-edit-categories-tags/taxonomy-terms.php 77% from 13 tests

The principal PHP file in "Bulk Edit Categories and Tags - Create Thousands Quickly on the Editor" v. 1.7.9 is loaded by WordPress automatically on each request
The following require your attention:
  • Text Domain: The text domain should only use lowercase characters and dashes
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-edit-categories-tags.php" instead of "taxonomy-terms.php")
  • Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin179,250 lines of code in 262 files:
LanguageFilesBlank linesComment linesLines of code
PO File3519,18327,94663,971
JavaScript1315,62718,60254,772
PHP18910,59118,90649,608
CSS189173397,726
SVG4002,691
Markdown12110429
JSON10037
XML13016

PHP code 50% from 2 tests

An overview of cyclomatic complexity and code structure
Please tend to the following items
  • Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity74.51
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity4.58
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes94
▷ Abstract classes33.19%
▷ Concrete classes9196.81%
▷ Final classes00.00%
Methods2,005
▷ Static methods24011.97%
▷ Public methods1,57578.55%
▷ Protected methods170.85%
▷ Private methods41320.60%
Functions130
▷ Named functions12696.92%
▷ Anonymous functions43.08%
Constants154
▷ Global constants10769.48%
▷ Class constants4730.52%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.15MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
modules/wp-sheet-editor/assets/vendor/images/input-checked.png0.31KB0.32KB0.00%
modules/wp-sheet-editor/assets/vendor/images/chosen-sprite.png0.53KB0.88KB0.00%
modules/wp-sheet-editor/assets/imgs/freemius-icon.png12.54KB6.09KB▼ 51.47%
modules/wp-sheet-editor/assets/vendor/images/input-unchecked.png0.15KB0.15KB0.00%