Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.06ms] Passed 4 tests
An overview of server-side resources used by Recipe Rating
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.91 ▲7.77 |
Dashboard /wp-admin | 3.37 ▲0.02 | 43.76 ▼12.61 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.24 ▲2.06 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 88.79 ▼2.53 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.57 ▲0.86 |
All Recipes /wp-admin/edit.php?post_type=recipe | 3.35 | 36.37 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=recipe | 3.29 | 32.91 |
Add New Recipe /wp-admin/post-new.php?post_type=recipe | 6.03 | 78.91 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=recipe | 3.29 | 35.75 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_recipe_ratings |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
category_children |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Recipe Rating
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲202 | 13.62 ▼0.74 | 13.91 ▲12.34 | 38.12 ▼1.11 |
Dashboard /wp-admin | 2,230 ▲50 | 5.58 ▲0.05 | 90.49 ▼0.14 | 40.41 ▲1.76 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.10 ▲0.12 | 39.04 ▲2.38 | 36.40 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.27 ▲0.21 | 633.95 ▼17.91 | 55.26 ▼0.03 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.21 ▲0.05 | 99.60 ▲2.50 | 42.95 ▼3.68 |
All Recipes /wp-admin/edit.php?post_type=recipe | 1,167 | 1.94 | 30.30 | 28.57 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=recipe | 1,357 | 2.13 | 25.32 | 29.95 |
Add New Recipe /wp-admin/post-new.php?post_type=recipe | 6,244 | 23.19 | 881.33 | 32.43 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=recipe | 1,490 | 2.13 | 27.00 | 34.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_recipe_ratings
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- category_children
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/recipe-rating/recipe-template.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% 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: There are too many tags (29 tag instead of maximum 10)
recipe-rating/index.php 77% from 13 tests
The primary PHP file in "Recipe Rating" version 1.5.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("recipe-rating.php" instead of "index.php")
- Domain Path: The domain path folder was not found ("/languages")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,710 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 3,919 |
JavaScript | 3 | 76 | 54 | 310 |
PHP | 2 | 53 | 23 | 204 |
CSS | 1 | 24 | 2 | 119 |
Markdown | 3 | 34 | 0 | 85 |
XML | 1 | 17 | 0 | 73 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin