68% wp-health

Code Review | WP Umbrella: Manage Multiple Sites - Ideal For WordPress Maintenance

WordPress plugin WP Umbrella: Manage Multiple Sites - Ideal For WordPress Maintenance scored68%from 54 tests.

About plugin

  • Plugin page: wp-health
  • Plugin version: 2.12.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.3
  • WordPress version: 6.3.1
  • First release: Jun 18, 2020
  • Latest release: Nov 24, 2023
  • Number of updates: 244
  • Update frequency: every 5.1 days
  • Top authors: wphealth (100%)

Code review

54 tests

User reviews

48 reviews

Install metrics

10,000+ active /235,383 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲3.74MB] [CPU: ▲39.42ms] Passed 4 tests

Analyzing server-side resources used by WP Umbrella: Manage Multiple Sites - Ideal For WordPress Maintenance
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /7.13 ▲3.6678.27 ▲36.40
Dashboard /wp-admin7.10 ▲3.7987.96 ▲37.14
Posts /wp-admin/edit.php7.15 ▲3.7992.05 ▲43.04
Add New Post /wp-admin/post-new.php10.21 ▲4.32134.81 ▲49.50
Media Library /wp-admin/upload.php6.96 ▲3.7374.65 ▲41.09
WP Umbrella /wp-admin/options-general.php?page=wp-umbrella-settings6.9369.28
Scheduled Actions /wp-admin/tools.php?page=action-scheduler7.1273.57

Server storage [IO: ▲2.60MB] [DB: ▲0.01MB] 67% from 3 tests

Input-output and database impact of this plugin
Just a few items left to fix
  • Illegal file modification found: 1 file (1.48KB) outside of "wp-content/plugins/wp-health/" and "wp-content/uploads/"
    • (new file) wp-content/mu-plugins/InitUmbrella.php
Filesystem: 525 new files
Database: 7 new tables, 11 new options
New tables
wp_umbrella_log
wp_umbrella_backup
wp_actionscheduler_groups
wp_actionscheduler_claims
wp_actionscheduler_actions
wp_actionscheduler_logs
wp_umbrella_task_backup
New WordPress options
widget_recent-posts
action_scheduler_lock_async-request-runner
wp-health
schema-ActionScheduler_StoreSchema
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
schema-ActionScheduler_LoggerSchema
db_upgraded
action_scheduler_hybrid_store_demarkation
...

Browser metrics Passed 4 tests

A check of browser resources used by WP Umbrella: Manage Multiple Sites - Ideal For WordPress Maintenance
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲5214.26 ▲0.012.53 ▲0.6540.99 ▼4.65
Dashboard /wp-admin2,219 ▲415.63 ▲0.0696.20 ▼20.7644.21 ▲3.48
Posts /wp-admin/edit.php2,128 ▲282.02 ▲0.0735.65 ▼4.7934.47 ▼3.42
Add New Post /wp-admin/post-new.php1,548 ▲2223.06 ▼0.05666.97 ▲69.7357.61 ▲7.55
Media Library /wp-admin/upload.php1,424 ▲244.20 ▼0.0298.75 ▲1.5741.56 ▼1.07
WP Umbrella /wp-admin/options-general.php?page=wp-umbrella-settings9835.44174.8066.40
Scheduled Actions /wp-admin/tools.php?page=action-scheduler1,2701.8226.9230.98

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The plugin did not uninstall successfully, leaving 5 tables in the database
    • wp_actionscheduler_logs
    • wp_umbrella_task_backup
    • wp_actionscheduler_groups
    • wp_actionscheduler_claims
    • wp_actionscheduler_actions
  • Zombie WordPress options were found after uninstall: 10 options
    • schema-ActionScheduler_StoreSchema
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • action_scheduler_lock_async-request-runner
    • widget_theysaidso_widget
    • db_upgraded
    • schema-ActionScheduler_LoggerSchema
    • action_scheduler_hybrid_store_demarkation
    • can_compress_scripts

Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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 fix the following
  • 15× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/wp-health/src/Thirds/Cache/Kinsta.php
    • > /wp-content/plugins/wp-health/src/Core/Hooks/ExecuteHooksFrontend.php
    • > /wp-content/plugins/wp-health/src/Core/Hooks/ActivationHook.php
    • > /wp-content/plugins/wp-health/src/Thirds/Cache/WPServer.php
    • > /wp-content/plugins/wp-health/src/Core/Container/ContainerSkypress.php
    • > /wp-content/plugins/wp-health/src/Core/Container/ManageContainer.php
    • > /wp-content/plugins/wp-health/src/Core/Hooks/DeactivationHook.php
    • > /wp-content/plugins/wp-health/src/Async/ActionSchedulerSendErrors.php
    • > /wp-content/plugins/wp-health/src/Core/Iterator/AlphabeticalOrderIterator.php
    • > /wp-content/plugins/wp-health/src/Core/Collections/CacheCollectionItem.php
  • 160× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'WPUmbrella\\Core\\Models\\AbstractController' not found in wp-content/plugins/wp-health/src/Controller/Backup/CheckBatchDatabase.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'WPUmbrella\\Core\\Hooks\\ExecuteHooks' not found in wp-content/plugins/wp-health/src/Actions/SnapshotData.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'WPUmbrella\\Core\\Hooks\\ExecuteHooksBackend' not found in wp-content/plugins/wp-health/src/Actions/Admin/Ajax/AllowOneClickAccess.php:8
    • > PHP Fatal error
      Uncaught Error: Interface 'WPUmbrella\\Core\\Hooks\\ExecuteHooks' not found in wp-content/plugins/wp-health/src/Actions/Queue/Backup/BackupQueueV2.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/wp-health/thirds/action-scheduler/classes/ActionScheduler_OptionLock.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'WPUmbrella\\Core\\Hooks\\ExecuteHooksBackend' not found in wp-content/plugins/wp-health/src/Actions/Admin/WhiteLabel.php:7
    • > PHP Fatal error
      require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-health/vendor/wp-umbrella/simple-backup/demo.php on line 3
    • > PHP Fatal error
      Uncaught Error: Interface 'Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' not found in wp-content/plugins/wp-health/vendor/symfony/filesystem/Exception/InvalidArgumentException.php:17
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-health/thirds/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
    • > PHP Fatal error
      Uncaught Error: Interface 'Symfony\\Component\\Process\\Exception\\ExceptionInterface' not found in wp-content/plugins/wp-health/vendor/symfony/process/Exception/LogicException.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in wp-health/assets to your readme.txt
The official readme.txt is a good inspiration

wp-health/wp-health.php Passed 13 tests

The main file in "WP Umbrella: Manage Multiple Sites - Ideal For WordPress Maintenance" v. 2.12.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
116 characters long description:
WP Umbrella is the ultimate all-in-one solution to manage, maintain and monitor one, or multiple WordPress websites.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin37,722 lines of code in 497 files:
LanguageFilesBlank linesComment linesLines of code
PHP4597,96510,30633,793
CSS13771121,419
JSON12001,190
Markdown162260707
PO File2237365449
SVG40183
JavaScript16162
YAML12012
XML1007

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity9.96
▷ Minimum class complexity1.00
▷ Maximum class complexity163.00
Average method complexity2.82
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces92
Interfaces30
Traits7
Classes398
▷ Abstract classes4411.06%
▷ Concrete classes35488.94%
▷ Final classes92.54%
Methods2,145
▷ Static methods22910.68%
▷ Public methods1,81784.71%
▷ Protected methods23510.96%
▷ Private methods934.34%
Functions167
▷ Named functions11065.87%
▷ Anonymous functions5734.13%
Constants254
▷ Global constants4517.72%
▷ Class constants20982.28%
▷ Public constants20799.04%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
dist/images/umbrella.png14.96KB9.14KB▼ 38.93%
vendor/wp-umbrella/simple-backup/_docs/store_export.PNG218.69KB59.12KB▼ 72.97%