Benchmarks
Plugin footprint 83% 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: ▲0.01MB] [CPU: ▼6.31ms] Passed 4 tests
This is a short check of server-side resources used by DH - Rename Uploaded Files
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.00 ▼5.62 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.64 ▼12.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.24 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.59 ▼7.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.52 ▲1.03 |
DH – Rename Uploaded Files /wp-admin/options-general.php?page=dh-rename-uploaded-files | 3.25 | 36.57 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DH - Rename Uploaded Files
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲141 | 13.58 ▼0.73 | 5.21 ▲3.18 | 40.17 ▼3.84 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.01 | 107.33 ▼7.83 | 38.92 ▼5.54 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.00 | 40.87 ▲2.47 | 34.92 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 18.23 ▼4.96 | 598.39 ▼62.65 | 70.03 ▲11.88 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.30 ▲0.09 | 95.66 ▼21.12 | 40.28 ▼2.05 |
DH – Rename Uploaded Files /wp-admin/options-general.php?page=dh-rename-uploaded-files | 893 | 3.13 | 39.43 | 46.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dh-rename-uploaded-files
- > Notice in wp-content/plugins/dh-rename-uploaded-files/admin/partials/dh-rename-uploaded-files-admin-display.php+81
Trying to access array offset on value of type bool
SRP 50% from 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
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 get_option() in wp-content/plugins/dh-rename-uploaded-files/admin/partials/dh-rename-uploaded-files-admin-display.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dh-rename-uploaded-files/public/partials/dh-rename-uploaded-files-public-display.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=dh-rename-uploaded-files
- > Network (severe)
wp-content/plugins/dh-rename-uploaded-files/admin/webfonts/fa-brands-400.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=dh-rename-uploaded-files
- > Network (severe)
wp-content/plugins/dh-rename-uploaded-files/admin/webfonts/fa-brands-400.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=dh-rename-uploaded-files
- > Network (severe)
wp-content/plugins/dh-rename-uploaded-files/admin/webfonts/fa-brands-400.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (All settings on WP Dashboard.)
dh-rename-uploaded-files/dh-rename-uploaded-files.php 92% from 13 tests
"DH - Rename Uploaded Files" version 3...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "3...")
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
Everything looks great! No dangerous files found in this plugin412 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 196 | 567 | 374 |
JavaScript | 4 | 7 | 62 | 29 |
CSS | 7 | 1 | 17 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 22.22% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 11.71KB | 6.70KB | ▼ 42.84% |