Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.24ms] Passed 4 tests
Server-side resources used by Food Blog Categories
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 46.19 ▲4.75 |
Dashboard /wp-admin | 3.37 ▲0.07 | 57.86 ▲7.14 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 56.29 ▲3.27 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 92.55 ▼21.60 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 38.10 ▲0.61 |
Meal Types /wp-admin/edit-tags.php?taxonomy=fbc_meal_type | 3.29 | 39.37 |
Occasions /wp-admin/edit-tags.php?taxonomy=fbc_occasion | 3.29 | 34.90 |
Diet & Cooking Styles /wp-admin/edit-tags.php?taxonomy=fbc_diet | 3.29 | 36.15 |
Dish Types /wp-admin/edit-tags.php?taxonomy=fbc_dish_type | 3.29 | 35.58 |
Seasons /wp-admin/edit-tags.php?taxonomy=fbc_season | 3.29 | 36.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Food Blog Categories: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.27 ▼0.08 | 1.61 ▼0.06 | 43.21 ▼0.01 |
Dashboard /wp-admin | 2,215 ▲41 | 5.52 ▼0.16 | 97.10 ▲4.72 | 42.03 ▼14.84 |
Posts /wp-admin/edit.php | 2,270 ▲167 | 2.00 ▲0.02 | 37.01 ▼2.75 | 34.00 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.11 ▼0.00 | 673.04 ▲54.74 | 55.57 ▼4.70 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.18 ▼0.17 | 101.47 ▼0.52 | 44.44 ▼3.18 |
Meal Types /wp-admin/edit-tags.php?taxonomy=fbc_meal_type | 1,291 | 2.12 | 25.85 | 29.81 |
Occasions /wp-admin/edit-tags.php?taxonomy=fbc_occasion | 1,297 | 2.12 | 27.48 | 31.91 |
Diet & Cooking Styles /wp-admin/edit-tags.php?taxonomy=fbc_diet | 1,294 | 2.11 | 27.98 | 28.74 |
Dish Types /wp-admin/edit-tags.php?taxonomy=fbc_dish_type | 1,291 | 2.12 | 25.42 | 30.08 |
Seasons /wp-admin/edit-tags.php?taxonomy=fbc_season | 1,297 | 2.11 | 27.24 | 29.09 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/food-blog-categories/food-blog-categories.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: categories, food, taxonomies, recipe categories, recipe...
food-blog-categories/food-blog-categories.php Passed 13 tests
The main file in "Food Blog Categories" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Easily Add recipe related taxonomies to your blog posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected133 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 15 | 133 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 5 | |
▷ Named functions | 5 | 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
No PNG images were found in this plugin