Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.40ms] Passed 4 tests
This is a short check of server-side resources used by Easy Sidebar Menu Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 47.81 ▲6.78 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.83 ▼4.51 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.87 ▼2.27 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 90.71 ▼8.60 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.16 ▲1.78 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
easy_sidebar_menu_widget_installDate |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_easy_sidebar_menu_widget |
Browser metrics Passed 4 tests
Easy Sidebar Menu Widget: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲88 | 13.69 ▼1.02 | 9.28 ▲7.00 | 36.49 ▼12.84 |
Dashboard /wp-admin | 2,200 ▲23 | 5.68 ▲0.10 | 85.14 ▼10.62 | 43.94 ▲1.35 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.02 ▲0.02 | 36.32 ▲0.41 | 33.42 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,528 ▼6 | 23.19 ▲4.76 | 657.16 ▲19.15 | 59.51 ▼8.34 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.18 ▲0.01 | 104.91 ▲1.99 | 44.72 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- easy_sidebar_menu_widget_installDate
- db_upgraded
- theysaidso_admin_options
- widget_easy_sidebar_menu_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Sidebar Menu Widget Demo), #2 (Sidebar Menu Widget)
- Tags: There are too many tags (14 tag instead of maximum 10)
easy-sidebar-menu-widget/plugin.php 92% from 13 tests
"Easy Sidebar Menu Widget" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-sidebar-menu-widget.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin403 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 46 | 89 | 250 |
Sass | 2 | 2 | 1 | 122 |
JavaScript | 2 | 4 | 0 | 16 |
SVG | 1 | 1 | 0 | 13 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected