Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲5.19MB] [CPU: ▲32.65ms] 75% from 4 tests
Analyzing server-side resources used by Utilitify - Supercharge Your WordPress Site With Powerpack WordPress Utilities
Please have a look at the following items
- Extra RAM: The extra memory usage must be under 5MB (currently 5.19MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 67.79 ▲22.03 |
Dashboard /wp-admin | 8.90 ▲5.60 | 91.76 ▲36.94 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 88.23 ▲40.20 |
Add New Post /wp-admin/post-new.php | 10.09 ▲4.21 | 122.48 ▲31.41 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 85.78 ▲50.34 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 72.19 |
Server storage [IO: ▲8.72MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 401 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_kc_uf_links |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
fs_accounts |
kc_uf_installed_on |
can_compress_scripts |
theysaidso_admin_options |
fs_active_plugins |
fs_debug_mode |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Utilitify - Supercharge Your WordPress Site With Powerpack WordPress Utilities
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲205 | 13.60 ▼1.01 | 7.70 ▲5.73 | 26.71 ▼16.15 |
Dashboard /wp-admin | 2,238 ▲50 | 5.83 ▼0.03 | 116.40 ▲12.02 | 45.79 ▲2.36 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.03 ▲0.02 | 35.51 ▼6.51 | 34.22 ▼2.59 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.04 ▼0.15 | 617.60 ▼68.08 | 49.26 ▼15.15 |
Media Library /wp-admin/upload.php | 1,417 ▲35 | 4.23 ▼0.02 | 98.82 ▼2.89 | 47.02 ▲2.24 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,079 | 1.71 | 26.06 | 26.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The uninstall procedure failed, leaving 1 table in the database
- wp_kc_uf_links
- Zombie WordPress options detected upon uninstall: 10 options
- fs_debug_mode
- fs_active_plugins
- kc_uf_installed_on
- widget_theysaidso_widget
- fs_accounts
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 109× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'KaizenCoders\\WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/utilitify/vendor/kaizencoders/wp-fluent/src/QueryBuilder/JoinBuilder.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/utilitify/lite/includes/Admin/Templates/Dashboard.php:3
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Kaizencoders\\Utilitify\\Admin\\UF_List_Table' not found in wp-content/plugins/utilitify/lite/includes/Admin/Request_404_Table.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/utilitify/vendor/composer/installers/src/Composer/Installers/GravInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
5 plugin tags: utilities, 404, redirect, seo, toolbar
utilitify/utilitify.php Passed 13 tests
Analyzing the main PHP file in "Utilitify - Supercharge Your WordPress Site With Powerpack WordPress Utilities" version 1.0.9
66 characters long description:
Supercharge Your WordPress Site With Powerpack WordPress Utilities
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin222,953 lines of code in 328 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 20 | 42,103 | 423 | 171,619 |
PHP | 268 | 9,772 | 20,516 | 38,976 |
JavaScript | 33 | 2,366 | 2,114 | 10,446 |
HTML | 4 | 390 | 38 | 1,714 |
JSON | 2 | 0 | 0 | 197 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 28.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 187 | |
▷ Abstract classes | 4 | 2.14% |
▷ Concrete classes | 183 | 97.86% |
▷ Final classes | 0 | 0.00% |
Methods | 1,702 | |
▷ Static methods | 276 | 16.22% |
▷ Public methods | 1,247 | 73.27% |
▷ Protected methods | 63 | 3.70% |
▷ Private methods | 392 | 23.03% |
Functions | 116 | |
▷ Named functions | 107 | 92.24% |
▷ Anonymous functions | 9 | 7.76% |
Constants | 159 | |
▷ Global constants | 108 | 67.92% |
▷ Class constants | 51 | 32.08% |
▷ Public constants | 51 | 100.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
19 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ffd27a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lite/dist/assets/images/icon-64.png | 2.81KB | 1.70KB | ▼ 39.52% |
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |