84% cbqe-edit-flow

Code Review | Edit Flow for Custom Bulk/Quick Edit

WordPress plugin Edit Flow for Custom Bulk/Quick Edit scored84%from 54 tests.

About plugin

  • Plugin page: cbqe-edit-flow
  • Plugin version: 1.4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.2-4.7.2
  • WordPress version: 6.3.1
  • First release: Dec 1, 2013
  • Latest release: Feb 7, 2017
  • Number of updates: 17
  • Update frequency: every 68.5 days
  • Top authors: comprock (82.35%)saurabhd (17.65%)subharanjan (11.76%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,334 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.32ms] Passed 4 tests

Analyzing server-side resources used by Edit Flow for Custom Bulk/Quick Edit
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.89 ▲0.02
Dashboard /wp-admin3.31 ▲0.0046.17 ▼12.44
Posts /wp-admin/edit.php3.36 ▲0.0049.83 ▼1.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.89 ▼7.24
Media Library /wp-admin/upload.php3.23 ▲0.0040.68 ▲0.89

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Edit Flow for Custom Bulk/Quick Edit
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲6113.17 ▼1.134.97 ▲3.1843.63 ▼4.16
Dashboard /wp-admin2,203 ▲185.91 ▼0.05109.59 ▲2.6338.93 ▼4.04
Posts /wp-admin/edit.php2,092 ▲31.98 ▼0.0341.44 ▲7.2135.89 ▼2.31
Add New Post /wp-admin/post-new.php1,537 ▲1823.21 ▼0.03688.48 ▲4.7257.39 ▼4.08
Media Library /wp-admin/upload.php1,382 ▼34.22 ▼0.0197.59 ▼17.6644.99 ▼4.10

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 13× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Warning
      require_once(CBQE_EF_DIR_LIB/aihrus/requirements.php): failed to open stream: No such file or directory in wp-content/plugins/cbqe-edit-flow/lib/requirements.php on line 19
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cbqe-edit-flow/lib/aihrus/requirements.php on line 25
    • > PHP Fatal error
      require_once(): Failed opening required 'AIHR_DIR_INCclass-aihrus-common.php' (include_path='.:/usr/share/php') in wp-content/plugins/cbqe-edit-flow/includes/class-cbqe-edit-flow.php on line 16
    • > PHP Warning
      Use of undefined constant CBQE_EF_DIR_LIB - assumed 'CBQE_EF_DIR_LIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/cbqe-edit-flow/lib/requirements.php on line 19
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/cbqe-edit-flow/includes/requirements.php on line 19
    • > PHP Warning
      require_once(AIHR_DIR_INCclass-aihrus-common.php): failed to open stream: No such file or directory in wp-content/plugins/cbqe-edit-flow/includes/class-cbqe-edit-flow.php on line 16
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cbqe-edit-flow/lib/aihrus/requirements.php on line 25
    • > PHP Warning
      Use of undefined constant AIHR_DIR_INC - assumed 'AIHR_DIR_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/cbqe-edit-flow/includes/class-cbqe-edit-flow.php on line 16
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cbqe-edit-flow/lib/aihrus/class-aihrus-widget.php:25
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/cbqe-edit-flow/lib/aihrus/requirements.php on line 25

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: custom post types, custom, quick edit, edit flow, bulk edit

cbqe-edit-flow/cbqe-edit-flow.php Passed 13 tests

The primary PHP file in "Edit Flow for Custom Bulk/Quick Edit" version 1.4.0 is used by WordPress to initiate all plugin functionality
112 characters long description:
Modify Edit Flow options via bulk and quick edit panels in conjunction with Custom Bulk/Quick Edit by Axelerant.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,909 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP126613401,679
Markdown7720230

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity32.00
▷ Minimum class complexity1.00
▷ Maximum class complexity115.00
Average method complexity3.64
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces0
Interfaces3
Traits0
Classes5
▷ Abstract classes480.00%
▷ Concrete classes120.00%
▷ Final classes00.00%
Methods101
▷ Static methods7877.23%
▷ Public methods101100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants29
▷ Global constants2586.21%
▷ Class constants413.79%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin