Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲4.07ms] Passed 4 tests
Analyzing server-side resources used by WP EASY RECIPE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.59 ▼0.87 |
Dashboard /wp-admin | 3.41 ▲0.11 | 60.36 ▲6.74 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 59.59 ▲12.93 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 96.09 ▼1.86 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 44.49 ▲12.28 |
Recipe Tips /wp-admin/edit.php?post_type=wp_easy_recipe_tips | 3.36 | 43.08 |
Add New /wp-admin/post-new.php?post_type=wp_easy_recipe_tips | 3.45 | 57.47 |
Recipes /wp-admin/edit.php?post_type=wp_easy_recipe | 3.36 | 43.87 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=wp_easy_recipe_tax&post_type=wp_easy_recipe | 3.35 | 46.71 |
Add New /wp-admin/post-new.php?post_type=wp_easy_recipe | 3.45 | 55.60 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wp_easy_recipe | 3.33 | 43.36 |
Settings /wp-admin/edit.php?post_type=wp_easy_recipe&page=wper-settings | 3.30 | 40.25 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP EASY RECIPE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲234 | 13.65 ▼1.10 | 5.49 ▲2.54 | 40.50 ▼3.38 |
Dashboard /wp-admin | 2,284 ▲96 | 5.82 ▲0.98 | 94.29 ▼10.91 | 38.66 ▼4.96 |
Posts /wp-admin/edit.php | 2,164 ▲75 | 2.06 ▲0.04 | 35.99 ▼5.48 | 35.05 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,584 ▲70 | 23.17 ▲5.61 | 663.02 ▼27.56 | 38.33 ▼16.29 |
Media Library /wp-admin/upload.php | 1,470 ▲85 | 4.26 ▲0.04 | 84.99 ▼27.38 | 44.35 ▼2.02 |
Recipe Tips /wp-admin/edit.php?post_type=wp_easy_recipe_tips | 1,128 | 2.00 | 28.47 | 30.10 |
Add New /wp-admin/post-new.php?post_type=wp_easy_recipe_tips | 2,212 | 7.54 | 168.81 | 70.84 |
Recipes /wp-admin/edit.php?post_type=wp_easy_recipe | 1,144 | 2.00 | 28.94 | 30.66 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=wp_easy_recipe_tax&post_type=wp_easy_recipe | 1,585 | 3.15 | 40.57 | 27.96 |
Add New /wp-admin/post-new.php?post_type=wp_easy_recipe | 2,538 | 7.79 | 164.95 | 56.31 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wp_easy_recipe | 1,379 | 2.18 | 25.31 | 31.43 |
Settings /wp-admin/edit.php?post_type=wp_easy_recipe&page=wper-settings | 1,071 | 1.69 | 22.06 | 32.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-easy-recipe/lib/shortcode-list-page.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-recipe/wp-easy-recipe.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-easy-recipe/lib/templates/single-page-template.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-easy-recipe/lib/templates/list-page-template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-recipe/lib/class-wp-easy-recipe.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-easy-recipe/lib/recipe-slider.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=wp_easy_recipe_tax&post_type=wp_easy_recipe
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/edit-tags.php?taxonomy=wp_easy_recipe_tax&post_type=wp_easy_recipe:296:21)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
- > GET request to /wp-admin/edit-tags.php?taxonomy=wp_easy_recipe_tax&post_type=wp_easy_recipe
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #2, #3, #4 in wp-easy-recipe/assets to your readme.txt
wp-easy-recipe/wp-easy-recipe.php 92% from 13 tests
The main PHP file in "WP EASY RECIPE" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,356 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 250 | 204 | 1,180 |
JavaScript | 1 | 67 | 464 | 785 |
CSS | 3 | 54 | 18 | 391 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/images/controls.png | 1.46KB | 1.39KB | ▼ 4.30% |
lib/images/drop_icon.png | 1.31KB | 0.36KB | ▼ 72.76% |
lib/images/recipe_icon.png | 3.18KB | 2.33KB | ▼ 26.69% |