Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼139.95ms] Passed 4 tests
Analyzing server-side resources used by Whisk Recipes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 37.84 ▲3.67 |
Dashboard /wp-admin | 3.06 ▲0.00 | 49.90 ▲4.19 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 42.74 ▼3.18 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 85.19 ▼560.35 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.75 ▲0.08 |
Server storage [IO: ▲16.93MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 1,043 new files
Database: 4 new tables, 4 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
action_scheduler_lock_async-request-runner |
schema-ActionScheduler_LoggerSchema |
schema-ActionScheduler_StoreSchema |
action_scheduler_hybrid_store_demarkation |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Whisk Recipes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.82 ▲0.28 | 9.70 ▼0.27 | 44.67 ▼1.61 |
Dashboard /wp-admin | 2,967 ▲36 | 5.91 ▼0.16 | 136.06 ▼5.96 | 121.73 ▲9.36 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.70 ▼0.00 | 68.21 ▲3.13 | 90.62 ▼3.53 |
Add New Post /wp-admin/post-new.php | 1,498 ▼184 | 18.87 ▲0.09 | 372.49 ▼0.23 | 114.15 ▼1.83 |
Media Library /wp-admin/upload.php | 1,810 ▲6 | 5.03 ▲0.01 | 149.07 ▼4.37 | 117.34 ▼6.85 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- wp_actionscheduler_claims
- The uninstall procedure has failed, leaving 4 options in the database
- schema-ActionScheduler_StoreSchema
- action_scheduler_hybrid_store_demarkation
- action_scheduler_lock_async-request-runner
- schema-ActionScheduler_LoggerSchema
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)
Good news, no errors were detected
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 items
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/radio.php
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/select.php
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/number.php
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/code.php
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/color.php
- > /wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/views/textarea.php
- > /wp-content/plugins/whisk-recipes/template-parts/admin/modals/add-recipe.php
- > /wp-content/plugins/whisk-recipes/template-parts/admin/modals/add-ingredient.php
- > /wp-content/plugins/whisk-recipes/vendor-prefixed/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/whisk-recipes/src/onboarding/views/ob-steps.php
- 349× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Control_Base' not found in wp-content/plugins/whisk-recipes/vendor/aristath/kirki/controls/php/class-kirki-control-background.php:18
- > PHP Fatal error
Uncaught Error: Class 'Whisk\\Recipes\\Vendor\\Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/whisk-recipes/vendor-prefixed/htmlburger/carbon-fields/core/Container/Condition/Post_Template_Condition.php:10
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/whisk-recipes/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'Whisk\\Recipes\\Vendor\\Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/whisk-recipes/vendor-prefixed/htmlburger/carbon-fields/core/Container/Condition/Post_Type_Condition.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/whisk-recipes/src/onboarding/views/step-ready-view.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/whisk-recipes/src/onboarding/views/step-urls-setup-view.php:9
- > PHP Fatal error
Uncaught Error: Class 'Whisk\\Recipes\\Vendor\\Carbon_Fields\\Container\\Container' not found in wp-content/plugins/whisk-recipes/vendor-prefixed/htmlburger/carbon-fields/core/Container/Comment_Meta_Container.php:12
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/whisk-recipes/vendor/monolog/monolog/src/Monolog/Handler/GelfHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/whisk-recipes/vendor/aristath/kirki/field/class-kirki-field-color.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/whisk-recipes/vendor-prefixed/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #2, #4, #5, #6, #7, #8 in whisk-recipes/assets to your readme.txt
whisk-recipes/whisk-recipes.php 85% from 13 tests
This is the main PHP file of "Whisk Recipes" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Description: Please don't use more than 140 characters for the plugin description (currently 328 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin93,339 lines of code in 943 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 316 | 11,846 | 13,116 | 40,688 |
PHP | 564 | 7,550 | 27,159 | 39,608 |
JSON | 7 | 0 | 0 | 8,689 |
CSS | 23 | 430 | 1,154 | 3,239 |
Markdown | 1 | 273 | 0 | 560 |
Sass | 1 | 41 | 3 | 261 |
SVG | 29 | 0 | 5 | 259 |
YAML | 1 | 7 | 0 | 27 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 19 | |
Traits | 4 | |
Classes | 483 | |
▷ Abstract classes | 37 | 7.66% |
▷ Concrete classes | 446 | 92.34% |
▷ Final classes | 9 | 2.02% |
Methods | 3,147 | |
▷ Static methods | 408 | 12.96% |
▷ Public methods | 2,340 | 74.36% |
▷ Protected methods | 671 | 21.32% |
▷ Private methods | 136 | 4.32% |
Functions | 194 | |
▷ Named functions | 49 | 25.26% |
▷ Anonymous functions | 145 | 74.74% |
Constants | 214 | |
▷ Global constants | 20 | 9.35% |
▷ Class constants | 194 | 90.65% |
▷ Public constants | 194 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
30 PNG files occupy 1.53MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/glycemic.png | 23.78KB | 6.39KB | ▼ 73.12% |
assets/images/onboarding/whisk_logo.png | 7.15KB | 3.76KB | ▼ 47.34% |
vendor/aristath/kirki/assets/images/3cm.png | 0.91KB | 0.25KB | ▼ 72.00% |
src/gutenberg/images/onboarding/studio_4.png | 19.12KB | 9.48KB | ▼ 50.43% |
vendor/aristath/kirki/assets/images/2cr.png | 0.85KB | 0.27KB | ▼ 68.58% |