79% bulk-postmeta-editor

Code Review | Bulk Postmeta Editor

WordPress plugin Bulk Postmeta Editor scored79%from 54 tests.

About plugin

  • Plugin page: bulk-postmeta-editor
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Feb 19, 2017
  • Latest release: Jul 16, 2019
  • Number of updates: 5
  • Update frequency: every 175.2 days
  • Top authors: psdtofinal (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

60+ active /2,947 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.09MB] [CPU: ▼0.29ms] Passed 4 tests

An overview of server-side resources used by Bulk Postmeta Editor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.11 ▲0.82
Dashboard /wp-admin3.40 ▲0.0947.36 ▲1.60
Posts /wp-admin/edit.php3.51 ▲0.1547.36 ▲1.60
Add New Post /wp-admin/post-new.php5.98 ▲0.0981.00 ▼5.16
Media Library /wp-admin/upload.php3.32 ▲0.0937.42 ▲3.61
Bulk Edit /wp-admin/admin.php?page=bulk_edit_list_editables3.2930.28
Settings /wp-admin/admin.php?page=bulk_edit_admin_settings3.2932.55

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables
wp_bulk_edit
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Bulk Postmeta Editor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.37 ▼1.431.77 ▼0.1742.92 ▼1.24
Dashboard /wp-admin2,234 ▲454.81 ▼0.13106.83 ▼13.1638.30 ▼8.97
Posts /wp-admin/edit.php2,117 ▲282.04 ▼0.0140.73 ▲3.8335.43 ▲1.52
Add New Post /wp-admin/post-new.php1,558 ▲4418.11 ▲0.21639.36 ▼108.9961.67 ▼1.07
Media Library /wp-admin/upload.php1,413 ▲284.20 ▼0.00100.96 ▼9.5443.75 ▼4.12
Bulk Edit /wp-admin/admin.php?page=bulk_edit_list_editables7822.0223.1624.08
Settings /wp-admin/admin.php?page=bulk_edit_admin_settings9492.0221.7830.09

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_bulk_edit
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === bulk-postmeta-editor === )
You can take inspiration from this readme.txt

bulk-postmeta-editor/bulk-postmeta-edior.php 85% from 13 tests

The entry point to "Bulk Postmeta Editor" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • 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
  • Main file name: The principal plugin file should be the same as the plugin slug ("bulk-postmeta-editor.php" instead of "bulk-postmeta-edior.php")

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
There were no executable files found in this plugin705 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP9122384628
CSS11077

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity7.67
▷ Minimum class complexity1.00
▷ Maximum class complexity39.00
Average method complexity2.18
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods34
▷ Static methods25.88%
▷ Public methods1955.88%
▷ Protected methods00.00%
▷ Private methods1544.12%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin