83% bulk-editor

Code Review | WPBE - WordPress Posts Bulk Editor Professional

WordPress plugin WPBE - WordPress Posts Bulk Editor Professional scored 83% from 54 tests.

About plugin

  • Plugin page: bulk-editor
  • Plugin version: 1.0.3.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: WP 4.9-5.8
  • WordPress version: 5.8.1
  • First release: Sep 3, 2019
  • Latest release: Aug 6, 2021
  • Number of updates: 60
  • Update frequency: every 11.7 days
  • Top authors: RealMag777 (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

4,000+ active / 15,268 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.42MB] [CPU: ▼138.02ms] Passed 4 tests

Server-side resources used by WPBE - WordPress Posts Bulk Editor Professional
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.24 ▲0.4046.20 ▲3.30
Dashboard /wp-admin3.54 ▲0.4860.92 ▲7.00
Posts /wp-admin/edit.php3.58 ▲0.4857.16 ▲0.73
Add New Post /wp-admin/post-new.php5.83 ▲0.40108.21 ▼559.24
Media Library /wp-admin/upload.php3.42 ▲0.4139.29 ▲3.14

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 129 new files
Database: no new tables, 1 new option
New WordPress options
wpbe_later_rate_alert

Browser metrics Passed 4 tests

This is an overview of browser requirements for WPBE - WordPress Posts Bulk Editor Professional
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,718 ▲14615.73 ▼0.0713.23 ▲3.2249.63 ▼4.48
Dashboard /wp-admin3,007 ▲736.14 ▲0.12158.11 ▼22.71116.41 ▼6.39
Posts /wp-admin/edit.php2,754 ▲152.71 ▼0.0172.13 ▼18.4794.65 ▼11.52
Add New Post /wp-admin/post-new.php1,693 ▲11218.70 ▲1.24407.05 ▼52.68114.05 ▼1.82
Media Library /wp-admin/upload.php1,822 ▲155.04 ▲0.01171.30 ▼3.33139.25 ▲13.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 1 option in the database
    • 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/ext/export/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/ext/meta/views/panel.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/bulk/views/panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/calculator/views/panel.php:3
    • > 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/fprofiles/views/panel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/bulk-editor/ext/info/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, #17, #2, #3, #3, #3, #4, #5, #5, #6, #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 "WPBE - WordPress Posts Bulk Editor Professional" version 1.0.3.2
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 194 characters long)
  • Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WP 4.9")
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-editor.php" instead of "index.php")

Code Analysis Passed 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 plugin32,024 lines of code in 95 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript283,9508,47316,251
PHP441,7555327,002
CSS198511866,164
SVG1001,839
PO File1338757680
Markdown231088

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity52.19
▷ Minimum class complexity1.00
▷ Maximum class complexity135.00
Average method complexity5.51
▷ Minimum method complexity1.00
▷ Maximum method complexity97.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes16
▷ Abstract classes16.25%
▷ Concrete classes1593.75%
▷ Final classes1386.67%
Methods174
▷ Static methods2514.37%
▷ Public methods15488.51%
▷ Protected methods21.15%
▷ Private methods1810.34%
Functions27
▷ Named functions1348.15%
▷ Anonymous functions1451.85%
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 PNG files occupy 0.40MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/js/chosen/chosen-sprite@2x.png0.72KB0.83KB0.00%
assets/images/wpcs_banner.png39.04KB39.12KB0.00%
ext/calculator/assets/images/calculator.png0.68KB0.53KB▼ 22.09%
assets/images/mdtf_banner.png134.92KB29.03KB▼ 78.49%
assets/images/move.png1.70KB1.67KB▼ 2.01%