Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.25ms] Passed 4 tests
This is a short check of server-side resources used by WP Hamburger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.31 ▲1.36 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.48 ▼1.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.10 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.24 ▼12.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.20 ▲2.68 |
WP Hamburger /wp-admin/options-general.php?page=wp-hamburger | 3.42 | 38.30 |
Server storage [IO: ▲4.92MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
wpha_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Hamburger
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 16.37 ▲1.99 | 14.15 ▲12.33 | 37.48 ▼7.84 |
Dashboard /wp-admin | 2,211 ▲23 | 5.84 ▲0.76 | 105.04 ▲1.89 | 42.56 ▲1.70 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.05 ▲0.00 | 36.27 ▼4.92 | 36.99 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,540 ▼1 | 23.39 ▲5.05 | 657.73 ▼13.36 | 51.03 ▼9.51 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.37 ▲0.14 | 106.60 ▼0.62 | 42.91 ▼7.08 |
WP Hamburger /wp-admin/options-general.php?page=wp-hamburger | 1,910 | 6.64 | 99.19 | 113.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- wpha_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 0% 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=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+323
Undefined index: font-family
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+341
Undefined index: background
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+362
Undefined index: ham_background
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+365
Undefined index: foreground
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+398
Undefined index: menu-color
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+403
Undefined index: menu-font-size
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+414
Undefined index: menu-bullet-closed
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+415
Undefined index: menu-bullet-closed-img
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+428
Undefined index: menu-bullet-opened
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+429
Undefined index: menu-bullet-opened-img
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+452
Undefined index: sub-menu-color
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+457
Undefined index: sub-menu-font-size
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+469
Undefined index: sub-menu-bullet-closed
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+470
Undefined index: sub-menu-bullet-closed-img
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Notice in wp-content/plugins/wp-hamburger/inc/wpha_settings.php+486
Undefined index: css
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-hamburger/index.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-hamburger/inc/wpha_settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-hamburger/inc/functions-inner.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-hamburger/inc/functions.php:32
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/wp-hamburger/inc/walker-class.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wp-hamburger 451 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wp-hamburger 472 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wp-hamburger 475 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wp-hamburger 508 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wp-hamburger 562 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'ham_background')" "TypeError: Cannot read properties of null (reading 'ham_background')\n at wpha_init_demo (/wp-content/plugins/wp-hamburger/js/admin-scripts.js?t=1697097523&ver=6.3.1:164:73)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-hamburger/js/admin-scripts.js?t=1697097523&ver=6.3.1:290:5)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wp-hamburger
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'ham_background')
Optimizations
Plugin configuration 93% 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
6 plugin tags: sticky, menu, fontawesome, responsive, hamburger...
wp-hamburger/index.php 85% from 13 tests
Analyzing the main PHP file in "WP Hamburger" version 1.6.5
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-hamburger.php" instead of "index.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
No dangerous file extensions were detected11,422 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,546 |
PHP | 6 | 774 | 50 | 1,303 |
CSS | 4 | 93 | 14 | 323 |
JavaScript | 6 | 233 | 65 | 250 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 6.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/butterfly.png | 0.66KB | 0.88KB | 0.00% |
img/default_bg_img.png | 0.12KB | 0.08KB | ▼ 34.40% |
img/icon.png | 0.96KB | 1.03KB | 0.00% |
img/butterfly-b.png | 2.59KB | 1.22KB | ▼ 53.05% |