78% bulk-meta-editor

Code Review | Bulk Meta Editor

WordPress plugin Bulk Meta Editor scored78%from 54 tests.

About plugin

  • Plugin page: bulk-meta-editor
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.3
  • WordPress version: 6.3.1
  • First release: Sep 25, 2021
  • Latest release: Aug 24, 2023
  • Number of updates: 6
  • Update frequency: every 116.5 days
  • Top authors: avdajay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,023 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.04ms] Passed 4 tests

Server-side resources used by Bulk Meta Editor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.67 ▼0.40
Dashboard /wp-admin3.35 ▲0.0451.71 ▼0.09
Posts /wp-admin/edit.php3.40 ▲0.0449.72 ▲0.37
Add New Post /wp-admin/post-new.php5.93 ▲0.0487.72 ▼23.25
Media Library /wp-admin/upload.php3.27 ▲0.0438.63 ▼0.42

Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Bulk Meta Editor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.18 ▼0.171.79 ▲0.0943.91 ▲1.75
Dashboard /wp-admin2,211 ▲315.63 ▲0.1090.76 ▼1.6041.98 ▼1.47
Posts /wp-admin/edit.php2,116 ▲162.04 ▲0.0835.11 ▼0.9138.76 ▼2.55
Add New Post /wp-admin/post-new.php1,539 ▲1123.10 ▲0.11665.21 ▲1.9854.34 ▼8.77
Media Library /wp-admin/upload.php1,419 ▲194.17 ▲0.0597.50 ▼9.2043.54 ▲0.38

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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 take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/bulk-meta-editor/bulk-meta-editor.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/bulk-meta-editor/views/admin-settings.php:3

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 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: bulk editor, meta editor, metadata editor, seo editor, bulk metadata editor...

bulk-meta-editor/bulk-meta-editor.php 85% from 13 tests

"Bulk Meta Editor" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Domain Path: The domain path folder was not found ("/languages")
  • Description: Please keep the plugin description shorter than 140 characters (currently 218 characters long)

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 detected203 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP46034203

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity16.00
▷ Minimum class complexity2.00
▷ Maximum class complexity30.00
Average method complexity3.15
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods14
▷ Static methods214.29%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants3
▷ Global constants266.67%
▷ Class constants133.33%
▷ Public constants1100.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
PNG images were not found in this plugin