Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▼124.88ms] Passed 4 tests
Server-side resources used by Boo Recipes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.33 ▲0.49 | 50.62 ▲16.29 |
Dashboard /wp-admin | 4.02 ▲0.96 | 65.19 ▲30.08 |
Posts /wp-admin/edit.php | 4.07 ▲0.97 | 57.22 ▲13.54 |
Add New Post /wp-admin/post-new.php | 6.53 ▲1.09 | 110.07 ▼543.39 |
Media Library /wp-admin/upload.php | 3.89 ▲0.89 | 47.50 ▲14.06 |
Recipe Tags /wp-admin/edit-tags.php?taxonomy=recipe_tags&post_type=boo_recipe | 3.89 | 46.68 |
Skill Levels /wp-admin/edit-tags.php?taxonomy=skill_level&post_type=boo_recipe | 3.89 | 35.93 |
All Recipes /wp-admin/edit.php?post_type=boo_recipe | 3.95 | 49.59 |
Settings /wp-admin/edit.php?post_type=boo_recipe&page=boorecipe-settings | 3.90 | 50.32 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=recipe_category&post_type=boo_recipe | 3.89 | 48.79 |
Add New /wp-admin/post-new.php?post_type=boo_recipe | 4.13 | 82.84 |
Dashboard /wp-admin/plugins.php?page=meta-box | 3.93 | 41.09 |
Server storage [IO: ▲2.52MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 521 new files
Database: no new tables, 5 new options
New WordPress options |
---|
widget_boorecipe_recipe_tag_cloud |
widget_boorecipe_recipe_skill_level |
widget_boorecipe_recipe_cat |
widget_boorecipe_recipe_search_recipe |
widget_boorecipe_recipes |
Browser metrics Passed 4 tests
An overview of browser requirements for Boo Recipes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,917 ▲321 | 16.72 ▲1.34 | 19.74 ▲10.77 | 45.90 ▼2.09 |
Dashboard /wp-admin | 3,058 ▲124 | 5.95 ▼0.05 | 144.05 ▼5.19 | 110.12 ▲4.27 |
Posts /wp-admin/edit.php | 2,801 ▲62 | 2.71 ▼0.01 | 67.35 ▼17.58 | 86.92 ▼10.47 |
Add New Post /wp-admin/post-new.php | 1,736 ▲155 | 18.21 ▲3.83 | 403.68 ▲11.60 | 108.87 ▼7.14 |
Media Library /wp-admin/upload.php | 1,888 ▲140 | 5.06 ▲0.05 | 161.26 ▼7.75 | 115.57 ▲3.98 |
Recipe Tags /wp-admin/edit-tags.php?taxonomy=recipe_tags&post_type=boo_recipe | 1,770 | 2.41 | 61.01 | 93.21 |
Skill Levels /wp-admin/edit-tags.php?taxonomy=skill_level&post_type=boo_recipe | 1,801 | 2.39 | 62.02 | 80.01 |
All Recipes /wp-admin/edit.php?post_type=boo_recipe | 1,539 | 2.66 | 65.44 | 72.40 |
Settings /wp-admin/edit.php?post_type=boo_recipe&page=boorecipe-settings | 2,646 | 4.80 | 122.89 | 77.72 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=recipe_category&post_type=boo_recipe | 1,801 | 2.39 | 66.00 | 76.28 |
Add New /wp-admin/post-new.php?post_type=boo_recipe | 4,157 | 6.24 | 167.61 | 101.38 |
Dashboard /wp-admin/plugins.php?page=meta-box | 1,903 | 2.35 | 55.32 | 108.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 5 options in the database
- widget_boorecipe_recipe_search_recipe
- widget_boorecipe_recipe_tag_cloud
- widget_boorecipe_recipe_cat
- widget_boorecipe_recipes
- widget_boorecipe_recipe_skill_level
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/templates/video.php
- > /wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/templates/audio.php
- > /wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/templates/upload.php
- > /wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/templates/media.php
- 161× 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/boo-recipes/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/fields/image-advanced.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/boo-recipes/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/fields/key-value.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/boo-recipes/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/fields/fieldset-text.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/boo-recipes/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/fields/textarea.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Multiple_Values_Field' not found in wp-content/plugins/boo-recipes/vendor/meta-box/meta-box/inc/fields/text-list.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/boo-recipes/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: schemaorg, recipes, recipe, rich snippet
boo-recipes/boo-recipes.php Passed 13 tests
"Boo Recipes" version 2.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
104 characters long description:
Easily add Recipes in user friendly way that generates SEO optimized recipes using Schema.org microdata.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected25,924 lines of code in 474 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 294 | 4,313 | 8,087 | 15,371 |
CSS | 44 | 269 | 181 | 4,446 |
JavaScript | 101 | 616 | 537 | 2,344 |
Sass | 25 | 527 | 166 | 1,725 |
PO File | 2 | 544 | 844 | 1,252 |
JSON | 4 | 0 | 0 | 470 |
Markdown | 3 | 116 | 0 | 311 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 212 | |
▷ Abstract classes | 8 | 3.77% |
▷ Concrete classes | 204 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 861 | |
▷ Static methods | 327 | 37.98% |
▷ Public methods | 737 | 85.60% |
▷ Protected methods | 78 | 9.06% |
▷ Private methods | 46 | 5.34% |
Functions | 77 | |
▷ Named functions | 66 | 85.71% |
▷ Anonymous functions | 11 | 14.29% |
Constants | 13 | |
▷ Global constants | 9 | 69.23% |
▷ Class constants | 4 | 30.77% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.62MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/boo_recipe-default-image.png | 298.71KB | 148.71KB | ▼ 50.22% |
assets/images/default-recipe-image.png | 298.71KB | 148.71KB | ▼ 50.22% |