Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲5.42MB] [CPU: ▲26.87ms] 75% from 4 tests
Server-side resources used by Update URLs - Quick and Easy way to search old links and replace them with new links in WordPress
Please have a look at the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.42MB on /wp-admin/tools.php?page=update-urls)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.20 ▲5.74 | 63.88 ▲20.84 |
Dashboard /wp-admin | 9.22 ▲5.92 | 75.71 ▲27.12 |
Posts /wp-admin/edit.php | 9.22 ▲5.86 | 86.91 ▲39.30 |
Add New Post /wp-admin/post-new.php | 10.03 ▲4.15 | 114.28 ▲24.18 |
Media Library /wp-admin/upload.php | 9.22 ▲5.99 | 70.78 ▲35.33 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.22 | 59.03 |
Update URLs /wp-admin/tools.php?page=update-urls | 9.22 | 62.38 |
Server storage [IO: ▲3.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 340 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_accounts |
fs_active_plugins |
kc_uu_installed_on |
fs_debug_mode |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Update URLs - Quick and Easy way to search old links and replace them with new links in WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲195 | 13.56 ▼0.83 | 5.17 ▲3.40 | 29.83 ▼13.21 |
Dashboard /wp-admin | 2,228 ▲40 | 5.86 ▲0.97 | 110.30 ▼6.73 | 46.07 ▲0.36 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.03 ▲0.03 | 38.42 ▼0.77 | 38.68 ▲5.11 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 22.06 ▼1.07 | 688.96 ▼15.20 | 62.22 ▲7.68 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.21 ▼0.11 | 100.16 ▼2.95 | 46.17 ▲1.24 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,069 | 2.20 | 23.54 | 26.97 |
Update URLs /wp-admin/tools.php?page=update-urls | 991 | 1.72 | 27.42 | 68.07 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- widget_recent-posts
- fs_active_plugins
- kc_uu_installed_on
- theysaidso_admin_options
- can_compress_scripts
- fs_debug_mode
- widget_recent-comments
- update_urls_do_activation_redirect
- db_upgraded
- fs_accounts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 105× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/update-urls/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/tools.php?page=update-urls
- > Network (severe)
wp-content/plugins/update-urls/lite/dist/scripts/app.js?ver=1.2.4 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
update-urls/update-urls.php Passed 13 tests
"Update URLs - Quick and Easy way to search old links and replace them with new links in WordPress" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
83 characters long description:
Quick and Easy way to search old links and replace them with new links in WordPress
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin38,755 lines of code in 282 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 252 | 9,311 | 19,340 | 37,741 |
JSON | 2 | 0 | 0 | 282 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 7 | 38 | 113 | 208 |
CSS | 17 | 55 | 19 | 187 |
YAML | 3 | 31 | 3 | 123 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 29.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 169 | |
▷ Abstract classes | 3 | 1.78% |
▷ Concrete classes | 166 | 98.22% |
▷ Final classes | 0 | 0.00% |
Methods | 1,549 | |
▷ Static methods | 280 | 18.08% |
▷ Public methods | 1,107 | 71.47% |
▷ Protected methods | 51 | 3.29% |
▷ Private methods | 391 | 25.24% |
Functions | 112 | |
▷ Named functions | 106 | 94.64% |
▷ Anonymous functions | 6 | 5.36% |
Constants | 160 | |
▷ Global constants | 109 | 68.12% |
▷ Class constants | 51 | 31.87% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/fs/assets/img/plugin-icon.png | 6.09KB | 4.17KB | ▼ 31.54% |
lite/dist/assets/images/icon-64.png | 3.88KB | 1.75KB | ▼ 54.86% |
libs/fs/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
libs/fs/assets/img/update-urls.png | 14.90KB | 5.21KB | ▼ 65.04% |