Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼45.78ms] Passed 4 tests
A check of server-side resources used by Rename Post Labels by WOWDevShop
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 12.44 ▼32.09 |
Dashboard /wp-admin | 2.79 ▼0.52 | 15.61 ▼34.69 |
Posts /wp-admin/edit.php | 2.79 ▼0.57 | 17.00 ▼36.10 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.10 | 15.49 ▼80.25 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 16.48 ▼22.69 |
Rename Post Labels /wp-admin/options-general.php?page=rename-post-labels | 2.79 | 17.24 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rename Post Labels by WOWDevShop
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.24 ▼1.14 | 1.67 ▼0.08 | 41.19 ▲0.04 |
Dashboard /wp-admin | 2,228 ▲34 | 4.86 ▼0.01 | 102.25 ▼7.77 | 44.02 ▲1.99 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.05 ▲0.06 | 40.40 ▲3.06 | 35.12 ▼4.21 |
Add New Post /wp-admin/post-new.php | 1,548 ▼0 | 23.32 ▲0.18 | 682.31 ▼30.57 | 54.74 ▼5.97 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▼0.03 | 101.02 ▼18.75 | 43.73 ▼4.58 |
Rename Post Labels /wp-admin/options-general.php?page=rename-post-labels | 1,029 | 2.02 | 26.64 | 26.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/rename-post-labels-by-wowdevshop/wowdevshop-rename-post-labels.php+116
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=rename-post-labels
- > Notice in wp-content/plugins/rename-post-labels-by-wowdevshop/wowdevshop-rename-post-labels.php+116
Trying to access array offset on value of type bool
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 take a closer look at the following
- 2× 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/rename-post-labels-by-wowdevshop/wowdevshop-rename-post-labels.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rename-post-labels-by-wowdevshop/includes/menu-settings.php:15
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: rename post label, post labels, post, rename label
rename-post-labels-by-wowdevshop/wowdevshop-rename-post-labels.php 92% from 13 tests
The principal PHP file in "Rename Post Labels by WOWDevShop" v. 1.1.3 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rename-post-labels-by-wowdevshop.php" instead of "wowdevshop-rename-post-labels.php")
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
No dangerous file extensions were detected159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 34 | 159 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.PNG | 32.81KB | 12.79KB | ▼ 61.02% |
assets/screenshot-1.PNG | 41.70KB | 17.13KB | ▼ 58.92% |