83% bulk-editor

Code Review | WOLF - WordPress Posts Bulk Editor and Manager Professional

WordPress plugin WOLF - WordPress Posts Bulk Editor and Manager Professional scored83%from 54 tests.

About plugin

  • Plugin page: bulk-editor
  • Plugin version: 1.0.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: WP 4.9-6.3
  • WordPress version: 6.3.1
  • First release: Sep 3, 2019
  • Latest release: Oct 16, 2023
  • Number of updates: 78
  • Update frequency: every 19.3 days
  • Top authors: RealMag777 (100%)

Code review

54 tests

User reviews

23 reviews

Install metrics

5,000+ active /38,096 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.49MB] [CPU: ▼5.26ms] Passed 4 tests

Server-side resources used by WOLF - WordPress Posts Bulk Editor and Manager Professional
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.99 ▲0.5238.90 ▼1.43
Dashboard /wp-admin3.84 ▲0.4948.36 ▼13.53
Posts /wp-admin/edit.php3.90 ▲0.5453.44 ▲5.83
Add New Post /wp-admin/post-new.php6.36 ▲0.4786.42 ▼11.48
Media Library /wp-admin/upload.php3.70 ▲0.4737.44 ▲5.41

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 130 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
wpbe_later_rate_alert
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for WOLF - WordPress Posts Bulk Editor and Manager Professional
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲1514.34 ▼0.151.61 ▼0.1144.11 ▼5.29
Dashboard /wp-admin2,207 ▲305.56 ▼0.0688.05 ▲2.6938.47 ▼6.07
Posts /wp-admin/edit.php2,112 ▲92.04 ▲0.0134.32 ▼6.0130.80 ▼7.10
Add New Post /wp-admin/post-new.php1,536 ▲823.53 ▲0.43654.45 ▼16.8759.61 ▲8.57
Media Library /wp-admin/upload.php1,415 ▲154.16 ▲0.0396.55 ▲0.2742.48 ▼0.29

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • wpbe_later_rate_alert

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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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 take a closer look at the following
  • 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/lib/storage.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/export/views/panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/meta/views/panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/filters/views/panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/uninstall.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/views/parts/advanced-table.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/views/wpbe.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/history/views/list.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/views/parts/top_panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/fprofiles/views/panel.php:3

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 86% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: These screenshots need descriptions #10, #11, #12, #13, #14, #15, #16, #2, #3, #4, #5, #6, #7, #8, #9 in bulk-editor/assets to your readme.txt
Please take inspiration from this readme.txt

bulk-editor/index.php 77% from 13 tests

Analyzing the main PHP file in "WOLF - WordPress Posts Bulk Editor and Manager Professional" version 1.0.8
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-editor.php" instead of "index.php")
  • Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WP 4.9")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin34,294 lines of code in 96 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript284,1478,33416,962
PHP451,8715427,803
CSS198941816,611
SVG1001,839
PO File1413443991
Markdown231088

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
  • Cyclomatic complexity of methods has to be reduced to less than 100 (currently 107)
Cyclomatic complexity
Average complexity per logical line of code0.57
Average class complexity57.06
▷ Minimum class complexity1.00
▷ Maximum class complexity164.00
Average method complexity5.72
▷ Minimum method complexity1.00
▷ Maximum method complexity107.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes17
▷ Abstract classes15.88%
▷ Concrete classes1694.12%
▷ Final classes1487.50%
Methods194
▷ Static methods3317.01%
▷ Public methods17489.69%
▷ Protected methods21.03%
▷ Private methods189.28%
Functions28
▷ Named functions1346.43%
▷ Anonymous functions1553.57%
Constants7
▷ Global constants7100.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
24 compressed PNG files occupy 0.48MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/sort_desc.png0.15KB0.25KB0.00%
assets/images/delete2.png1.20KB1.27KB0.00%
assets/images/select.png0.24KB0.22KB▼ 4.96%
assets/images/restricted.png1.61KB1.64KB0.00%
assets/images/woof_banner.png28.58KB11.75KB▼ 58.91%