Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.23ms] Passed 4 tests
This is a short check of server-side resources used by Media File Renamer: Rename Files (Manual, Auto & AI)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.90 ▼0.22 |
Dashboard /wp-admin | 3.34 ▼0.00 | 53.83 ▼6.45 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 55.13 ▲5.56 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 100.45 ▼7.80 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 42.04 ▲6.66 |
Renamer /wp-admin/upload.php?page=mfrh_dashboard | 3.24 | 41.06 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 3.44 | 58.44 |
Renamer /wp-admin/admin.php?page=mfrh_settings | 3.24 | 37.29 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
mfrh_options |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Media File Renamer: Rename Files (Manual, Auto & AI)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲85 | 14.15 ▼0.57 | 2.16 ▲0.32 | 39.93 ▼5.66 |
Dashboard /wp-admin | 2,252 ▲71 | 5.58 ▼0.13 | 95.68 ▼10.82 | 43.32 ▼4.17 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.02 ▲0.02 | 39.87 ▼0.38 | 35.02 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,574 ▲38 | 23.55 ▲0.41 | 617.93 ▼49.56 | 53.84 ▼2.87 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 5.65 ▲1.45 | 116.70 ▲11.26 | 40.14 ▼3.64 |
Renamer /wp-admin/upload.php?page=mfrh_dashboard | 1,223 | 5.80 | 160.21 | 48.80 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 5,663 | 4.70 | 108.76 | 73.75 |
Renamer /wp-admin/admin.php?page=mfrh_settings | 1,482 | 5.86 | 108.83 | 44.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- mfrh_options
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'MFRH_PATH/classes/api.php' (include_path='.:/usr/share/php') in wp-content/plugins/media-file-renamer/classes/init.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/media-file-renamer/classes/plugins/beaverbuilder.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/media-file-renamer/classes/plugins/elementor.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/media-file-renamer/media-file-renamer.php:23
- > PHP Fatal error
Uncaught Error: Class 'MeowCommon_Admin' not found in wp-content/plugins/media-file-renamer/classes/admin.php:3
- > PHP Warning
require_once(MFRH_PATH/classes/api.php): failed to open stream: No such file or directory in wp-content/plugins/media-file-renamer/classes/init.php on line 37
- > PHP Warning
Use of undefined constant MFRH_PATH - assumed 'MFRH_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/media-file-renamer/classes/init.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/media-file-renamer/classes/plugins/wpml.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
media-file-renamer/media-file-renamer.php 92% from 13 tests
"Media File Renamer: Rename Files (Manual, Auto & AI)" version 5.7.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 188 characters long)
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
Good job! No executable or dangerous file extensions detected3,406 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 527 | 617 | 3,169 |
JavaScript | 3 | 12 | 4 | 237 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 43.83 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 18 | 11.25% |
▷ Public methods | 158 | 98.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.25% |
Functions | 27 | |
▷ Named functions | 14 | 51.85% |
▷ Anonymous functions | 13 | 48.15% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin