Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼8.44ms] Passed 4 tests
This is a short check of server-side resources used by Dadevarzan WordPress Recipe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.72 ▲1.73 |
Dashboard /wp-admin | 3.42 ▲0.07 | 45.50 ▼13.38 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.15 ▼2.46 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 81.09 ▼16.42 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.33 ▼1.51 |
Add Recipe /wp-admin/post-new.php?post_type=recipe | 6.13 | 78.39 |
Recipe Tags /wp-admin/edit-tags.php?taxonomy=recipe_tag&post_type=recipe | 3.33 | 33.82 |
All Recipes /wp-admin/edit.php?post_type=recipe | 3.38 | 33.04 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=recipe_category&post_type=recipe | 3.33 | 33.73 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Dadevarzan WordPress Recipe
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.52 ▼0.03 | 1.68 ▲0.07 | 44.73 ▲4.90 |
Dashboard /wp-admin | 2,230 ▲53 | 5.60 ▲0.02 | 81.36 ▼3.75 | 35.60 ▼5.58 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.97 ▲0.03 | 40.29 ▲1.84 | 34.89 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 23.41 ▲0.42 | 668.52 ▼8.38 | 58.20 ▲3.98 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.24 ▲0.04 | 94.53 ▼14.69 | 40.46 ▼5.69 |
Add Recipe /wp-admin/post-new.php?post_type=recipe | 6,284 | 25.32 | 871.56 | 30.88 |
Recipe Tags /wp-admin/edit-tags.php?taxonomy=recipe_tag&post_type=recipe | 1,278 | 2.12 | 26.51 | 31.94 |
All Recipes /wp-admin/edit.php?post_type=recipe | 1,166 | 1.96 | 30.74 | 31.05 |
Recipe Categories /wp-admin/edit-tags.php?taxonomy=recipe_category&post_type=recipe | 1,306 | 2.12 | 25.04 | 31.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: dadehvarzan, wordpress, recipe, wp, dadevarzan
dadevarzan-wp-recipe/dadevarzan-wp-recipe.php Passed 13 tests
The primary PHP file in "Dadevarzan WordPress Recipe" version 1.2.6 is used by WordPress to initiate all plugin functionality
30 characters long description:
recipe post type for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin367 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 19 | 302 |
PO File | 1 | 25 | 27 | 65 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 7 | 100.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin