Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.38MB] [CPU: ▲5.45ms] Passed 4 tests
A check of server-side resources used by Recipe Card Blocks for Gutenberg & Elementor - Best WordPress Recipe Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.76 ▲1.30 | 46.12 ▲4.87 |
Dashboard /wp-admin | 4.70 ▲1.36 | 54.12 ▼6.23 |
Posts /wp-admin/edit.php | 4.82 ▲1.46 | 56.15 ▲10.31 |
Add New Post /wp-admin/post-new.php | 7.44 ▲1.55 | 108.19 ▲14.23 |
Media Library /wp-admin/upload.php | 4.62 ▲1.39 | 47.60 ▲12.83 |
Free vs. PRO /wp-admin/admin.php?page=wpzoom-recipe-card-vs-pro | 4.60 | 39.87 |
Settings /wp-admin/admin.php?page=wpzoom-recipe-card-settings | 4.60 | 46.36 |
All Recipes /wp-admin/edit.php?post_type=wpzoom_rcb | 4.67 | 44.85 |
Server storage [IO: ▲3.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 101 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Recipe Card Blocks for Gutenberg & Elementor - Best WordPress Recipe Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,003 ▲267 | 14.95 ▲0.60 | 17.40 ▲15.59 | 39.18 ▼4.22 |
Dashboard /wp-admin | 2,288 ▲117 | 5.80 ▲0.13 | 96.44 ▼1.76 | 41.71 ▼7.51 |
Posts /wp-admin/edit.php | 2,196 ▲96 | 2.32 ▲0.37 | 48.29 ▲8.76 | 36.38 ▼0.50 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,715 | 20.40 ▼2.77 | 881.23 ▲258.10 | 51.01 ▼5.62 |
Media Library /wp-admin/upload.php | 1,493 ▲90 | 4.39 ▲0.21 | 100.33 ▲4.84 | 46.59 ▲5.50 |
Free vs. PRO /wp-admin/admin.php?page=wpzoom-recipe-card-vs-pro | 1,345 | 1.84 | 33.74 | 56.29 |
Settings /wp-admin/admin.php?page=wpzoom-recipe-card-settings | 2,882 | 4.77 | 134.79 | 66.65 |
All Recipes /wp-admin/edit.php?post_type=wpzoom_rcb | 1,208 | 2.23 | 41.95 | 32.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-plugin-loader.php on line 20
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-plugin-loader.php on line 20
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/recipe-card-blocks-by-wpzoom/elementor/widgets/recipe-card/templates/rcb-newdesign.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/recipe-card-blocks-by-wpzoom/elementor/widgets/recipe-card/templates/rcb-simple.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_language_attributes() in wp-content/plugins/recipe-card-blocks-by-wpzoom/templates/public/print.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-print.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function WPZOOMElementorRecipeCard\\add_action() in wp-content/plugins/recipe-card-blocks-by-wpzoom/elementor/wpzoom-elementor-recipe-card.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-plugin-loader.php:24
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-plugin-loader.php on line 20
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/recipe-card-blocks-by-wpzoom/src/classes/class-wpzoom-plugin-loader.php on line 20
- > PHP Warning
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
recipe-card-blocks-by-wpzoom/wpzoom-recipe-card.php 92% from 13 tests
"Recipe Card Blocks for Gutenberg & Elementor - Best WordPress Recipe Plugin" version 3.2.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("recipe-card-blocks-by-wpzoom.php" instead of "wpzoom-recipe-card.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin13,194 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,686 | 2,207 | 10,138 |
CSS | 15 | 168 | 61 | 1,803 |
JavaScript | 12 | 199 | 174 | 1,162 |
XML | 1 | 0 | 0 | 41 |
JSON | 4 | 0 | 0 | 32 |
SVG | 4 | 0 | 1 | 18 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 108)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 357.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 108.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 3 | 9.09% |
Methods | 277 | |
▷ Static methods | 106 | 38.27% |
▷ Public methods | 254 | 91.70% |
▷ Protected methods | 15 | 5.42% |
▷ Private methods | 8 | 2.89% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
16 PNG files occupy 1.36MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
elementor/assets/images/examples/rcb-example-default.png | 210.14KB | 51.43KB | ▼ 75.52% |
dist/assets/images/previews/wpzoom_rcb_settings_display_course.png | 64.87KB | 70.03KB | 0.00% |
dist/assets/images/previews/wpzoom_rcb_settings_display_cuisine.png | 65.28KB | 70.55KB | 0.00% |
dist/assets/images/previews/wpzoom_rcb_settings_user_ratings.png | 61.07KB | 66.13KB | 0.00% |
elementor/assets/images/examples/rcb-example-classic.png | 117.96KB | 40.59KB | ▼ 65.59% |