Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.12ms] Passed 4 tests
An overview of server-side resources used by Side Slide Responsive Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.78 ▲1.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.85 ▼1.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.09 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 99.48 ▲9.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.60 ▼2.70 |
Side Slide Menu /wp-admin/options-general.php?page=side-slide-menu | 5.45 | 50.92 |
Server storage [IO: ▲0.46MB] [DB: ▲0.33MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ssmenu_menu_admin_webfonts_date |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
ssmenu_settings |
widget_recent-posts |
ssmenu_menu_admin_webfonts |
Browser metrics Passed 4 tests
Side Slide Responsive Menu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲89 | 13.23 ▼1.15 | 2.83 ▲0.88 | 42.85 ▲1.45 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.21 | 105.73 ▼5.02 | 43.18 ▲3.90 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.14 ▲0.10 | 41.87 ▲1.54 | 38.39 ▲3.38 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.21 ▼0.09 | 627.68 ▼6.51 | 46.17 ▼13.20 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.22 ▼0.01 | 97.28 ▼0.29 | 40.51 ▼2.41 |
Side Slide Menu /wp-admin/options-general.php?page=side-slide-menu | 3,624 | 2.05 | 23.85 | 30.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- ssmenu_settings
- widget_recent-posts
- can_compress_scripts
- ssmenu_menu_admin_webfonts_date
- theysaidso_admin_options
- ssmenu_menu_admin_webfonts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/side-slide-responsive-menu/sideslide_html.php
- > /wp-content/plugins/side-slide-responsive-menu/sideslide_css.php
- 50× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_html.php on line 55
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_admin.php on line 10
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 13
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 33
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 47
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 30
- > PHP Notice
Undefined variable: settings in wp-content/plugins/side-slide-responsive-menu/sideslide_css.php on line 50
- > PHP Notice
Undefined variable: menuitems in wp-content/plugins/side-slide-responsive-menu/sideslide_html.php on line 12
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=side-slide-menu
- > Network (severe)
wp-content/plugins/sideslidemenu/js/sideslideadmin.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=side-slide-menu
- > Network (severe)
wp-content/plugins/sideslidemenu/jscolor/jscolor.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not 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
6 plugin tags: push menu, responsive menu, flyout menu, kick menu, side menu...
side-slide-responsive-menu/sideslidemenu.php 92% from 13 tests
"Side Slide Responsive Menu" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("side-slide-responsive-menu.php" instead of "sideslidemenu.php")
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 plugin1,490 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 168 | 62 | 947 |
PHP | 5 | 70 | 66 | 355 |
CSS | 1 | 45 | 10 | 188 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |