Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/hamburger-icon-menu-lite/index.php+106
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.00ms] Passed 4 tests
This is a short check of server-side resources used by Hamburger Icon Menu Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 40.96 ▼7.71 |
Dashboard /wp-admin | 3.66 ▲0.36 | 72.50 ▲25.57 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 57.02 ▲10.60 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 86.16 ▼16.15 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.89 ▲1.28 |
Hamburger Icon Menu Lite /wp-admin/options-general.php?page=iwpmenu-setting-admin | 3.46 | 33.11 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
iwpmenu_items |
iwpmenu_general |
iwpmenu_bar |
widget_theysaidso_widget |
iwpmenu_icon |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Hamburger Icon Menu Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,086 ▲351 | 15.33 ▲0.75 | 6.77 ▲4.73 | 37.90 ▼12.17 |
Dashboard /wp-admin | 2,375 ▲187 | 6.64 ▲1.73 | 140.63 ▲30.99 | 39.62 ▼1.25 |
Posts /wp-admin/edit.php | 2,277 ▲188 | 3.52 ▲1.50 | 53.86 ▲17.19 | 30.79 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,698 ▲184 | 22.60 ▲5.13 | 611.85 ▲9.73 | 37.17 ▼26.10 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.39 ▲0.14 | 83.58 ▼18.97 | 41.65 ▲0.76 |
Hamburger Icon Menu Lite /wp-admin/options-general.php?page=iwpmenu-setting-admin | 1,069 | 3.25 | 40.74 | 24.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-posts
- iwpmenu_bar
- iwpmenu_general
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- iwpmenu_icon
- iwpmenu_items
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=iwpmenu-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=iwpmenu-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/hamburger-icon-menu-lite/settings.php
- > /wp-content/plugins/hamburger-icon-menu-lite/css/iwpmenu.php
- > /wp-content/plugins/hamburger-icon-menu-lite/js/iwpmenu.php
- > /wp-content/plugins/hamburger-icon-menu-lite/edit_custom_walker.php
- > /wp-content/plugins/hamburger-icon-menu-lite/index.php
- > /wp-content/plugins/hamburger-icon-menu-lite/custom_walker.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=iwpmenu-setting-admin
- > Network (severe)
http://fonts.googleapis.com/css?family= - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration 90% 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:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== hamburger-icon-menu-lite ===
)
hamburger-icon-menu-lite/index.php 85% from 13 tests
"Hamburger Icon Menu Lite" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hamburger-icon-menu-lite.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 247 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,171 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 269 | 153 | 1,922 |
CSS | 1 | 38 | 9 | 172 |
JavaScript | 1 | 17 | 2 | 62 |
SVG | 2 | 0 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 43.67 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
PNG images were not found in this plugin