Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.47ms] Passed 4 tests
Server-side resources used by Storefront Hamburger Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.03 ▼2.39 |
Dashboard /wp-admin | 3.34 ▲0.03 | 55.50 ▼2.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.20 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.43 ▼6.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.00 ▲2.15 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
storefront-hamburger-menu-version |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Storefront Hamburger Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.74 ▲0.45 | 1.82 ▼0.03 | 41.93 ▼0.34 |
Dashboard /wp-admin | 2,210 ▲33 | 5.56 ▼0.09 | 92.25 ▲2.68 | 40.18 ▼2.84 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.11 ▲0.13 | 38.22 ▼3.16 | 35.00 ▼5.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.11 ▲5.07 | 663.45 ▲23.74 | 47.42 ▼30.05 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.21 ▲0.04 | 98.14 ▼4.13 | 43.76 ▼2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- storefront-hamburger-menu-version
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: ecommerce, storefront, hamburger, woocommerce, menu
storefront-hamburger-menu/storefront-hamburger-menu.php 92% from 13 tests
The principal PHP file in "Storefront Hamburger Menu" v. 1.2.2 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "4.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin317 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 1 | 15 | 0 | 114 |
PHP | 2 | 36 | 131 | 108 |
CSS | 1 | 3 | 0 | 63 |
JavaScript | 4 | 4 | 5 | 32 |
PHP code Passed 2 tests
A short review 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.14 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 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
There are no PNG files in this plugin