Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.62MB] [CPU: ▼7.23ms] Passed 4 tests
An overview of server-side resources used by AuMenu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.25 ▲5.86 |
Dashboard /wp-admin | 3.37 ▲0.07 | 54.41 ▲3.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 55.36 ▲4.56 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 43.36 ▼43.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 44.08 ▲8.26 |
All Page /wp-admin/edit.php?post_type=aumenu | 3.32 | 42.12 |
Add New /wp-admin/post-new.php?post_type=aumenu | 3.15 | 36.55 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_wp_widget_aumenu |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AuMenu: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 13.51 ▼1.07 | 7.92 ▲6.12 | 42.84 ▼2.64 |
Dashboard /wp-admin | 2,245 ▲68 | 5.62 ▼0.03 | 90.32 ▼0.13 | 41.08 ▲4.06 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.04 ▼0.01 | 40.03 ▲4.50 | 36.83 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,569 ▲24 | 17.77 ▼5.43 | 672.42 ▲55.61 | 52.58 ▲1.49 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.20 ▼0.16 | 101.64 ▼12.08 | 45.95 ▼3.95 |
All Page /wp-admin/edit.php?post_type=aumenu | 1,114 | 2.02 | 34.77 | 32.68 |
Add New /wp-admin/post-new.php?post_type=aumenu | 2,265 | 7.72 | 206.32 | 94.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_wp_widget_aumenu
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=aumenu
- > Notice in wp-content/plugins/aumenu/aumenu.php+367
Undefined index: aumenu_nonce
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/aumenu/images/beer_default.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/aumenu/templates/aumenu.beer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aumenu/aumenu_admin.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/aumenu/templates/single.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/aumenu/templates/aumenu.foods.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/aumenu/templates/aumenu.beers.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/aumenu/templates/aumenu.bottles.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/aumenu/aumenu.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/aumenu/templates/aumenu.taps.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aumenu/widget/aumenu_widget.php:12
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 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
7 plugin tags: bire, aumenu, bires, beers, ft...
aumenu/aumenu.php 92% from 13 tests
The entry point to "AuMenu" version 1.1.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,313 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 222 | 151 | 1,368 |
CSS | 1 | 314 | 101 | 851 |
PO File | 1 | 21 | 25 | 54 |
SVG | 1 | 0 | 1 | 22 |
JavaScript | 1 | 3 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin