Benchmarks
Plugin footprint 65% 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.14MB] [CPU: ▼5.83ms] Passed 4 tests
Analyzing server-side resources used by Side Menu Lite - add sticky fixed buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 36.82 ▼5.49 |
Dashboard /wp-admin | 3.45 ▲0.14 | 44.82 ▼4.05 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 49.28 ▼4.62 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 94.10 ▼9.17 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.95 ▼1.14 |
Welcome /wp-admin/admin.php?page=wow-company | 3.34 | 30.32 |
Side Menu Lite /wp-admin/admin.php?page=side-menu-lite | 3.46 | 35.33 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 94 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wow_side_menu_pro |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Side Menu Lite - add sticky fixed buttons: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲94 | 14.25 ▼0.28 | 1.69 ▲0.07 | 40.36 ▼1.69 |
Dashboard /wp-admin | 2,264 ▲87 | 5.63 ▼0.02 | 98.79 ▲0.24 | 41.84 ▼2.04 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.03 ▲0.00 | 42.53 ▲4.49 | 35.55 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 22.97 ▼0.15 | 670.35 ▲10.11 | 60.91 ▲10.32 |
Media Library /wp-admin/upload.php | 1,466 ▲66 | 4.18 ▲0.01 | 103.96 ▲4.04 | 42.74 ▼1.16 |
Welcome /wp-admin/admin.php?page=wow-company | 922 | 1.99 | 26.09 | 42.86 |
Side Menu Lite /wp-admin/admin.php?page=side-menu-lite | 1,114 | 2.23 | 43.28 | 48.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_wow_side_menu_pro
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: icons_new in wp-content/plugins/side-menu-lite/admin/settings/options/clone.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/side-menu-lite/admin/settings/options/menu.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/side-menu-lite/admin/settings/options/main.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/side-menu-lite/admin/settings/options/clone.php:33
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (This is an example of a side menu), #2 (Admin panel), #3 (Admin panel)
side-menu-lite/side-menu-lite.php 92% from 13 tests
The primary PHP file in "Side Menu Lite - add sticky fixed buttons" version 4.1.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected14,518 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 2,848 | 111 | 7,750 |
PHP | 32 | 530 | 601 | 4,810 |
Sass | 14 | 187 | 1 | 1,192 |
JavaScript | 5 | 132 | 267 | 747 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 21.40 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 2 | 40.00% |
Methods | 53 | |
▷ Static methods | 3 | 5.66% |
▷ Public methods | 45 | 84.91% |
▷ Protected methods | 1 | 1.89% |
▷ Private methods | 7 | 13.21% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.27MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/about/image/icon.png | 121.88KB | 28.08KB | ▼ 76.96% |
screenshot-1.png | 7.60KB | 3.01KB | ▼ 60.34% |
admin/assets/img/side-menu-logo.png | 5.60KB | 2.88KB | ▼ 48.61% |
screenshot-2.png | 74.15KB | 28.39KB | ▼ 61.71% |
screenshot-3.png | 66.30KB | 24.69KB | ▼ 62.76% |