73% custom-bulkquick-edit

Code Review | Custom Bulk/Quick Edit

WordPress plugin Custom Bulk/Quick Edit scored73%from 54 tests.

About plugin

  • Plugin page: custom-bulkquick-...
  • Plugin version: 1.6.10
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.2-6.1
  • WordPress version: 6.3.1
  • First release: Jun 28, 2013
  • Latest release: Dec 21, 2022
  • Number of updates: 67
  • Update frequency: every 51.7 days
  • Top authors: comprock (77.61%)saurabhd (13.43%)viralmehta (8.96%)subharanjan (4.48%)

Code review

54 tests

User reviews

24 reviews

Install metrics

1,000+ active /65,056 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
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Custom Bulk/Quick Edit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.98 ▲0.5250.70 ▲7.97
Dashboard /wp-admin3.84 ▲0.5349.65 ▲2.03
Posts /wp-admin/edit.php3.96 ▲0.6050.14 ▲6.32
Add New Post /wp-admin/post-new.php6.36 ▲0.4796.95 ▲4.18
Media Library /wp-admin/upload.php3.70 ▲0.4737.52 ▲4.64
Custom Bulk/Quick /wp-admin/options-general.php?page=custom-bulkquick-edit-settings3.7435.74

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 187 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
custom-bulkquick-edit-settings
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Custom Bulk/Quick Edit
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.62 ▼0.941.81 ▼0.0341.61 ▼0.54
Dashboard /wp-admin2,210 ▲224.87 ▼0.2898.04 ▼35.5036.30 ▼12.96
Posts /wp-admin/edit.php2,095 ▲32.05 ▲0.0235.80 ▼11.2534.33 ▼1.84
Add New Post /wp-admin/post-new.php1,545 ▲2818.24 ▲0.49620.58 ▼26.6153.66 ▼1.93
Media Library /wp-admin/upload.php1,392 ▲104.25 ▲0.0495.95 ▼4.8741.35 ▼2.59
Custom Bulk/Quick /wp-admin/options-general.php?page=custom-bulkquick-edit-settings1,1162.0038.2350.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • custom-bulkquick-edit-settings
    • widget_recent-posts

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/includes/libraries/class-redrokk-metabox-class.php
  • 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Warning
      Use of undefined constant CBQE_DIR_LIB - assumed 'CBQE_DIR_LIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-bulkquick-edit/lib/requirements.php on line 19
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/includes/libraries/parsedown/test/ParsedownTest.php:3
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/requirements.php on line 25
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/template.php): failed to open stream: No such file or directory in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/includes/class-aihrus-settings.php on line 24
    • > PHP Warning
      require_once(/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/tests/tests/bootstrap.php on line 3
    • > PHP Fatal error
      require_once(): Failed opening required '/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-bulkquick-edit/tests/tests/bootstrap.php on line 3
    • > PHP Warning
      require_once(CBQE_DIR_LIBaihrus-framework/aihrus-framework.php): failed to open stream: No such file or directory in wp-content/plugins/custom-bulkquick-edit/includes/requirements.php on line 19
    • > PHP Warning
      require(Parsedown.php): failed to open stream: No such file or directory in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/includes/libraries/parsedown/test/bootstrap.php on line 3
    • > PHP Warning
      require_once(AIHR_DIR_INCclass-aihrus-settings.php): failed to open stream: No such file or directory in wp-content/plugins/custom-bulkquick-edit/includes/class-custom-bulkquick-edit-settings.php on line 25
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/custom-bulkquick-edit/includes/libraries/aihrus-framework/includes/libraries/parsedown/test/CommonMarkTest.php:11

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=custom-bulkquick-edit-settings
    • > Network (severe)
    https://store.axelerant.com/wp-content/uploads/2015/02/IGP7228-2015-01-22-at-05-18-02.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
5 plugin tags: bulk edit, woocommerce, quick edit, custom post types, custom

custom-bulkquick-edit/custom-bulkquick-edit.php Passed 13 tests

The main PHP script in "Custom Bulk/Quick Edit" version 1.6.10 is automatically included on every request by WordPress
108 characters long description:
Custom Bulk/Quick Edit allows you to easily add custom fields to the edit screen bulk and quick edit panels.

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 detected10,825 lines of code in 167 files:
LanguageFilesBlank linesComment linesLines of code
PHP372,8311,3648,728
Markdown6436801,098
PO File2114120389
HTML5043386
XML6121286
YAML3101159
JSON20040
Bourne Shell17322
CSS20017

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity40.09
▷ Minimum class complexity1.00
▷ Maximum class complexity177.00
Average method complexity4.23
▷ Minimum method complexity1.00
▷ Maximum method complexity49.00
Code structure
Namespaces0
Interfaces9
Traits0
Classes24
▷ Abstract classes1250.00%
▷ Concrete classes1250.00%
▷ Final classes00.00%
Methods421
▷ Static methods25861.28%
▷ Public methods37990.02%
▷ Protected methods419.74%
▷ Private methods10.24%
Functions48
▷ Named functions4695.83%
▷ Anonymous functions24.17%
Constants66
▷ Global constants4771.21%
▷ Class constants1928.79%
▷ Public constants19100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin