84% bulk-move

Code Review | Bulk Move

WordPress plugin Bulk Move scored84%from 54 tests.

About plugin

  • Plugin page: bulk-move
  • Plugin version: 1.3.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.1
  • WordPress version: 6.3.1
  • First release: Mar 28, 2009
  • Latest release: Jan 31, 2023
  • Number of updates: 55
  • Update frequency: every 92.8 days
  • Top authors: sudar (100%)

Code review

54 tests

User reviews

46 reviews

Install metrics

10,000+ active /143,856 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.89ms] Passed 4 tests

This is a short check of server-side resources used by Bulk Move
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.80 ▲3.85
Dashboard /wp-admin3.33 ▲0.0346.23 ▼4.14
Posts /wp-admin/edit.php3.38 ▲0.0349.85 ▲4.64
Add New Post /wp-admin/post-new.php5.91 ▲0.0383.98 ▼11.28
Media Library /wp-admin/upload.php3.25 ▲0.0334.45 ▲0.03
Bulk Move /wp-admin/tools.php?page=bulk-move-posts3.2536.58

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Bulk Move
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.70 ▼1.021.95 ▲0.0637.46 ▼12.24
Dashboard /wp-admin2,207 ▲195.83 ▲0.9695.79 ▼19.0737.95 ▼4.17
Posts /wp-admin/edit.php2,093 ▲72.04 ▲0.0540.00 ▲4.4235.39 ▲4.38
Add New Post /wp-admin/post-new.php1,536 ▲823.45 ▲0.27671.50 ▲16.5461.75 ▲0.86
Media Library /wp-admin/upload.php1,392 ▲14.17 ▼0.0097.45 ▼2.1639.09 ▼9.25
Bulk Move /wp-admin/tools.php?page=bulk-move-posts1,3692.3246.6834.11

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • category_children
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-move/include/class-bulk-move-posts.php:653

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 93% 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: category, post, bulk, mass, move

bulk-move/bulk-move.php 85% from 13 tests

"Bulk Move" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/.")
  • Domain Path: Please prefix the domain path with a forward slash character ("/languages/.")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,226 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PO File7163243439

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity18.33
▷ Minimum class complexity2.00
▷ Maximum class complexity45.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
▷ Static methods1650.00%
▷ Public methods2990.62%
▷ Protected methods00.00%
▷ Private methods39.38%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants13100.00%
▷ Public constants13100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin