Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/seo-nutrition-and-print-for-recipes-by-edamam/edamam.php+159
Undefined variable: optional_headers
Server metrics [RAM: ▲0.21MB] [CPU: ▼10.07ms] Passed 4 tests
Analyzing server-side resources used by SEO, Nutrition and Print for Recipes by Edamam
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 25.24 ▼14.48 |
Dashboard /wp-admin | 3.53 ▲0.23 | 50.36 ▼0.82 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 49.55 ▼1.95 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 87.74 ▼23.04 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 40.67 ▲2.64 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: 1 new table, 36 new options
New tables |
---|
wp_edamam_recipe_recipes |
New WordPress options |
---|
recipe_image_hide_print |
widget_theysaidso_widget |
recipe_print_link_hide |
can_compress_scripts |
recipe_ingredient_label |
edamam_recipe_version |
recipe_instruction_label |
recipe_instruction_label_hide |
recipe_prep_time_label |
recipe_serving_size_label_hide |
... |
Browser metrics Passed 4 tests
A check of browser resources used by SEO, Nutrition and Print for Recipes by Edamam
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.17 ▼1.13 | 1.73 ▼0.20 | 43.88 ▲0.96 |
Dashboard /wp-admin | 2,230 ▲39 | 5.84 ▼0.04 | 103.87 ▼2.85 | 48.51 ▲2.63 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.01 ▲0.01 | 39.84 ▼1.70 | 35.41 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.19 ▼0.01 | 679.42 ▲70.18 | 52.95 ▼0.88 |
Media Library /wp-admin/upload.php | 1,410 ▲28 | 4.19 ▲0.01 | 95.51 ▼8.68 | 41.86 ▼2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_edamam_recipe_recipes
- This plugin did not uninstall successfully, leaving 36 options in the database
- recipe_ingredient_label
- recipe_nutritional_info
- recipe_ingredient_list_type
- recipe_instruction_label_hide
- recipe_rating_label
- recipe_ingredient_label_hide
- recipe_outer_border_style
- recipe_instruction_list_type
- edamam_recipe_db_version
- recipe_serving_size_label_hide
- ...
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/seo-nutrition-and-print-for-recipes-by-edamam/edamam.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tested up to: Invalid version format
seo-nutrition-and-print-for-recipes-by-edamam/edamam.php 92% from 13 tests
The main PHP script in "SEO, Nutrition and Print for Recipes by Edamam" version 3.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seo-nutrition-and-print-for-recipes-by-edamam.php" instead of "edamam.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,546 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 235 | 91 | 1,260 |
CSS | 2 | 5 | 10 | 205 |
JavaScript | 2 | 21 | 52 | 81 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
edamam.png | 1.57KB | 0.67KB | ▼ 57.12% |
screenshot-1.png | 86.49KB | 30.95KB | ▼ 64.22% |
image.png | 18.24KB | 9.24KB | ▼ 49.36% |
logo-plugin-big.png | 4.92KB | 2.16KB | ▼ 56.22% |
edamam-logo-plugin.png | 2.29KB | 1.08KB | ▼ 52.98% |