Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.80ms] Passed 4 tests
This is a short check of server-side resources used by Food & Drink Menu House
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.28 ▼1.99 |
Dashboard /wp-admin | 3.39 ▲0.08 | 45.10 ▼7.15 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.70 ▼3.99 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.99 ▼10.08 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.41 ▲3.64 |
Other Plugins /wp-admin/admin.php?page=food-menu-ultimate-other-plugins | 3.28 | 31.94 |
List All /wp-admin/admin.php?page=food-menu-ultimate | 3.28 | 31.20 |
New Items /wp-admin/admin.php?page=food-menu-ultimate-new | 3.30 | 29.80 |
Server storage [IO: ▲2.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_food_menu_list |
wp_food_menu_style |
New WordPress options |
---|
theysaidso_admin_options |
food_menu_ultimate_version |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Food & Drink Menu House: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.25 ▼1.13 | 1.79 ▲0.05 | 43.77 ▼1.32 |
Dashboard /wp-admin | 2,240 ▲52 | 5.86 ▼0.04 | 102.20 ▼11.67 | 39.43 ▼4.77 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 1.99 ▼0.03 | 34.52 ▼2.44 | 35.53 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 18.40 ▼4.40 | 597.80 ▼88.60 | 49.20 ▼16.90 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.17 ▼0.04 | 100.13 ▼0.46 | 44.02 ▲1.21 |
Other Plugins /wp-admin/admin.php?page=food-menu-ultimate-other-plugins | 919 | 2.01 | 27.16 | 34.57 |
List All /wp-admin/admin.php?page=food-menu-ultimate | 844 | 2.17 | 26.36 | 43.44 |
New Items /wp-admin/admin.php?page=food-menu-ultimate-new | 1,307 | 2.15 | 26.88 | 81.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_food_menu_style
- wp_food_menu_list
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- food_menu_ultimate_version
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=food-menu-ultimate-new
- > Notice in wp-content/plugins/food-drink-menu-house/admin.php+67
Undefined index: styleid
- > GET request to /wp-admin/admin.php?page=food-menu-ultimate-new
- > Notice in wp-content/plugins/food-drink-menu-house/admin/style-new.php+9
Undefined index: submit
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
food-drink-menu-house/index.php 92% from 13 tests
Analyzing the main PHP file in "Food & Drink Menu House" version 1.0
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("food-drink-menu-house.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected7,553 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 95 | 9 | 4,221 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 48 | 16 | 589 |
JavaScript | 5 | 5 | 21 | 72 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 16 | |
▷ Named functions | 16 | 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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/style1.png | 1.12KB | 0.20KB | ▼ 81.99% |
other-plugins/sb-image-hover-effects.png | 8.13KB | 6.68KB | ▼ 17.76% |
other-plugins/responsive-tabs-with-accordions.png | 3.58KB | 2.46KB | ▼ 31.31% |
other-plugins/image-hover-effects-ultimate.png | 11.81KB | 9.85KB | ▼ 16.63% |
other-plugins/accordions-or-faqs.png | 4.64KB | 3.60KB | ▼ 22.50% |