Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.90MB] [CPU: ▲10.98ms] Passed 4 tests
Server-side resources used by Blossom Recipe Maker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.92 | 57.13 ▲12.96 |
Dashboard /wp-admin | 4.24 ▲0.94 | 73.91 ▲24.12 |
Posts /wp-admin/edit.php | 4.28 ▲0.93 | 67.48 ▲12.23 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.88 | 97.35 ▲0.08 |
Media Library /wp-admin/upload.php | 4.12 ▲0.89 | 53.39 ▲18.63 |
Add New /wp-admin/post-new.php?post_type=blossom-recipe | 4.32 | 84.27 |
Categories /wp-admin/edit-tags.php?taxonomy=recipe-category&post_type=blossom-recipe | 4.16 | 53.98 |
Cuisines /wp-admin/edit-tags.php?taxonomy=recipe-cuisine&post_type=blossom-recipe | 4.16 | 52.22 |
Cooking Methods /wp-admin/edit-tags.php?taxonomy=recipe-cooking-method&post_type=blossom-recipe | 4.16 | 53.52 |
Tags /wp-admin/edit-tags.php?taxonomy=recipe-tag&post_type=blossom-recipe | 4.16 | 50.00 |
All Recipes /wp-admin/edit.php?post_type=blossom-recipe | 4.28 | 70.23 |
Server storage [IO: ▲3.60MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_brm_recipe_categories |
db_upgraded |
_blossom_recipe_maker |
widget_brm_recent_recipe |
br_recipe_settings |
widget_brm_popular_recipe |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Blossom Recipe Maker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,176 ▲430 | 20.49 ▲6.11 | 37.22 ▲35.19 | 48.96 ▲5.06 |
Dashboard /wp-admin | 2,427 ▲236 | 7.99 ▲2.13 | 150.17 ▲46.40 | 41.65 ▼3.68 |
Posts /wp-admin/edit.php | 2,330 ▲238 | 5.32 ▲3.31 | 57.27 ▲15.68 | 33.87 ▼4.22 |
Add New Post /wp-admin/post-new.php | 6,351 ▲4,837 | 25.21 ▲7.51 | 876.48 ▲196.57 | 34.78 ▼23.42 |
Media Library /wp-admin/upload.php | 1,506 ▲115 | 5.67 ▲1.47 | 98.77 ▼2.99 | 46.55 ▼2.19 |
Add New /wp-admin/post-new.php?post_type=blossom-recipe | 3,844 | 12.18 | 252.05 | 74.89 |
Categories /wp-admin/edit-tags.php?taxonomy=recipe-category&post_type=blossom-recipe | 1,535 | 5.23 | 50.56 | 29.05 |
Cuisines /wp-admin/edit-tags.php?taxonomy=recipe-cuisine&post_type=blossom-recipe | 1,535 | 5.18 | 50.98 | 31.88 |
Cooking Methods /wp-admin/edit-tags.php?taxonomy=recipe-cooking-method&post_type=blossom-recipe | 1,541 | 5.09 | 52.52 | 29.82 |
Tags /wp-admin/edit-tags.php?taxonomy=recipe-tag&post_type=blossom-recipe | 1,481 | 5.16 | 53.33 | 28.59 |
Settings /wp-admin/class-blossom-recipe-admin.php | 26 | 0.44 | 0.07 | 13.27 |
All Recipes /wp-admin/edit.php?post_type=blossom-recipe | 2,173 | 5.32 | 58.89 | 33.75 |
Uninstaller [IO: ▲0.46MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 12 options
- widget_brm_recent_recipe
- db_upgraded
- widget_brm_recipe_categories
- _blossom_recipe_maker
- br_recipe_settings
- widget_brm_recipe_categories_slider
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- ...
Smoke tests 25% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/blossom-recipe-maker/public/partials/blossom-recipe-public-display.php
- > /wp-content/plugins/blossom-recipe-maker/admin/partials/blossom-recipe-admin-display.php
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossom-recipe-maker/includes/class-blossom-recipe-taxonomy-thumbnail.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossom-recipe-maker/includes/widgets/widget-recipe-categories.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/blossom-recipe-maker/includes/templates/archive-blossom-recipe.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossom-recipe-maker/includes/widgets/widget-recipes-category-slider.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blossom-recipe-maker/admin/meta-data/recipe-ratings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossom-recipe-maker/includes/templates/recipe-search-results.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blossom-recipe-maker/includes/widgets/widget-recent-recipe.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blossom-recipe-maker/includes/backend/settings/misc.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blossom-recipe-maker/admin/meta-data/recipe-notes.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blossom-recipe-maker/admin/meta-data/recipe-overview.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/class-blossom-recipe-admin.php
- > Network (severe)
wp-admin/class-blossom-recipe-admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Overview Tab Backend), #2 (Ingredients Tab Backend), #3 (Instructions Tab Backend), #4 (Gallery Tab Backend), #5 (Plugin Settings Page)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
blossom-recipe-maker/blossom-recipe-maker.php Passed 13 tests
This is the main PHP file of "Blossom Recipe Maker" version 1.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
81 characters long description:
Blossom Recipe Maker is a free Recipe Plugin to create recipes for any food blog.
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 detected7,861 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,443 | 1,227 | 5,027 |
CSS | 5 | 358 | 65 | 2,062 |
JavaScript | 12 | 212 | 160 | 691 |
XML | 1 | 0 | 0 | 50 |
HTML | 1 | 0 | 0 | 18 |
SVG | 3 | 0 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 9 | 7.38% |
▷ Public methods | 117 | 95.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 4.10% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) public/images/demo.png | 35.53KB | 0.00KB | ▼ 100.00% |