74% utilitify

Code Review | Utilitify - Supercharge Your WordPress Site With Powerpack WordPress Utilities

WordPress plugin Utilitify - Supercharge Your WordPress Site With Powerpack WordPress Utilities scored74%from 54 tests.

About plugin

  • Plugin page: utilitify
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.6.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Apr 6, 2021
  • Latest release: Jul 5, 2023
  • Number of updates: 25
  • Update frequency: every 32.8 days
  • Top authors: kaizencoders (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /942 total downloads

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)
PageMemory (MB)CPU Time (ms)
Home /8.88 ▲5.4267.79 ▲22.03
Dashboard /wp-admin8.90 ▲5.6091.76 ▲36.94
Posts /wp-admin/edit.php8.90 ▲5.5588.23 ▲40.20
Add New Post /wp-admin/post-new.php10.09 ▲4.21122.48 ▲31.41
Media Library /wp-admin/upload.php8.90 ▲5.6785.78 ▲50.34
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius8.9072.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,940 ▲20513.60 ▼1.017.70 ▲5.7326.71 ▼16.15
Dashboard /wp-admin2,238 ▲505.83 ▼0.03116.40 ▲12.0245.79 ▲2.36
Posts /wp-admin/edit.php2,118 ▲262.03 ▲0.0235.51 ▼6.5134.22 ▼2.59
Add New Post /wp-admin/post-new.php1,531 ▲1223.04 ▼0.15617.60 ▼68.0849.26 ▼15.15
Media Library /wp-admin/upload.php1,417 ▲354.23 ▼0.0298.82 ▼2.8947.02 ▲2.24
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius1,0791.7126.0626.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

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:
LanguageFilesBlank linesComment linesLines of code
CSS2042,103423171,619
PHP2689,77220,51638,976
JavaScript332,3662,11410,446
HTML4390381,714
JSON200197
SVG1001

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 code0.58
Average class complexity28.02
▷ Minimum class complexity1.00
▷ Maximum class complexity3,073.00
Average method complexity4.03
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces10
Interfaces0
Traits0
Classes187
▷ Abstract classes42.14%
▷ Concrete classes18397.86%
▷ Final classes00.00%
Methods1,702
▷ Static methods27616.22%
▷ Public methods1,24773.27%
▷ Protected methods633.70%
▷ Private methods39223.03%
Functions116
▷ Named functions10792.24%
▷ Anonymous functions97.76%
Constants159
▷ Global constants10867.92%
▷ Class constants5132.08%
▷ Public constants51100.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
FileSize - originalSize - compressedSavings
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_222222_256x240.png4.27KB4.11KB▼ 3.78%
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ffd27a_256x240.png4.27KB4.11KB▼ 3.78%
lite/dist/assets/images/icon-64.png2.81KB1.70KB▼ 39.52%
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ef8c08_256x240.png4.27KB4.11KB▼ 3.78%
lite/dist/assets/settings/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-icons_ffffff_256x240.png4.27KB4.11KB▼ 3.78%