79% wpbulky-wp-bulk-edit-post-types

Code Review | WPBulky - WordPress Bulk Edit Post Types

WordPress plugin WPBulky - WordPress Bulk Edit Post Types scored79%from 54 tests.

About plugin

  • Plugin page: wpbulky-wp-bulk-e...
  • Plugin version: 1.0.10
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Oct 7, 2021
  • Latest release: Apr 28, 2023
  • Number of updates: 19
  • Update frequency: every 29.9 days
  • Top authors: thanhtd (94.74%)villatheme (10.53%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /3,062 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.47MB] [CPU: ▲4.31ms] Passed 4 tests

Analyzing server-side resources used by WPBulky - WordPress Bulk Edit Post Types
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0443.80 ▲4.06
Dashboard /wp-admin3.95 ▲0.6559.69 ▲12.42
Posts /wp-admin/edit.php4.01 ▲0.6553.18 ▲4.56
Add New Post /wp-admin/post-new.php6.49 ▲0.6093.13 ▼1.75
Media Library /wp-admin/upload.php3.81 ▲0.5845.68 ▲10.35
Posts /wp-admin/admin.php?page=vi_wpbulky_edit_post4.0052.17
Pages /wp-admin/admin.php?page=vi_wpbulky_edit_page3.9855.23
Extensions /wp-admin/admin.php?page=wpbulky-wp-bulk-edit-post-types-extensions4.17497.48
Media /wp-admin/admin.php?page=vi_wpbulky_edit_attachment3.9852.22
Settings /wp-admin/admin.php?page=vi_wpbulky_settings3.8041.15

Server storage [IO: ▲3.84MB] [DB: ▲0.02MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 91 new files
Database: 1 new table, 8 new options
New tables
wp_vi_wpbulky_history
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
wpbulky-wp-bulk-edit-post-types_start_use
wpbulky_params_setting
db_upgraded

Browser metrics Passed 4 tests

WPBulky - WordPress Bulk Edit Post Types: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,939 ▲20413.41 ▼0.951.94 ▲0.2043.80 ▼5.88
Dashboard /wp-admin2,342 ▲1605.85 ▼0.01101.05 ▼2.9451.54 ▲5.54
Posts /wp-admin/edit.php2,194 ▲1052.05 ▼0.0137.71 ▼4.4935.87 ▼2.20
Add New Post /wp-admin/post-new.php1,590 ▲7023.37 ▲0.24683.34 ▼20.1558.71 ▲6.05
Media Library /wp-admin/upload.php1,476 ▲884.18 ▼0.0495.71 ▼19.4243.92 ▼2.14
Posts /wp-admin/admin.php?page=vi_wpbulky_edit_post2,9467.49147.5361.45
Pages /wp-admin/admin.php?page=vi_wpbulky_edit_page2,9156.99131.6541.90
Extensions /wp-admin/admin.php?page=wpbulky-wp-bulk-edit-post-types-extensions1,7892.0125.8465.07
Media /wp-admin/admin.php?page=vi_wpbulky_edit_attachment2,5707.03116.5040.71
Settings /wp-admin/admin.php?page=vi_wpbulky_settings1,0422.3041.8642.40

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_vi_wpbulky_history
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • wpbulky-wp-bulk-edit-post-types_start_use
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • wpbulky_params_setting
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 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
Please fix the following attributes: The official readme.txt is a good inspiration

wpbulky-wp-bulk-edit-post-types/wpbulky-wp-bulk-edit-post-types.php 85% from 13 tests

Analyzing the main PHP file in "WPBulky - WordPress Bulk Edit Post Types" version 1.0.10
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected9,938 lines of code in 70 files:
LanguageFilesBlank linesComment linesLines of code
SVG50134,582
PHP16613883,160
CSS32981911,202
Sass219245949
JavaScript150245

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity34.33
▷ Minimum class complexity1.00
▷ Maximum class complexity108.00
Average method complexity4.56
▷ Minimum method complexity1.00
▷ Maximum method complexity60.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes15
▷ Abstract classes00.00%
▷ Concrete classes15100.00%
▷ Final classes00.00%
Methods139
▷ Static methods1712.23%
▷ Public methods13294.96%
▷ Protected methods10.72%
▷ Private methods64.32%
Functions4
▷ Named functions125.00%
▷ Anonymous functions375.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin