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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼8.14ms] Passed 4 tests
Server-side resources used by Off-Canvas Sidebars & Menus (Slidebars)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.38 ▲2.24 |
Dashboard /wp-admin | 3.49 ▲0.14 | 50.36 ▼10.05 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.50 ▼7.42 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 94.79 ▼15.47 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.24 ▲0.40 |
Off-Canvas Sidebars /wp-admin/themes.php?page=off-canvas-sidebars-settings | 3.67 | 34.54 |
Server storage [IO: ▲0.42MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
off_canvas_sidebars_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_off-canvas-control |
Browser metrics Passed 4 tests
Checking browser requirements for Off-Canvas Sidebars & Menus (Slidebars)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.46 ▼0.91 | 11.25 ▲9.58 | 43.68 ▲1.50 |
Dashboard /wp-admin | 2,202 ▲25 | 5.56 ▲0.02 | 107.05 ▲24.30 | 53.53 ▲9.63 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 38.33 ▼2.22 | 35.88 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 18.49 ▼4.64 | 606.42 ▲4.74 | 67.27 ▲10.87 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.05 | 93.85 ▼5.71 | 40.60 ▼2.43 |
Off-Canvas Sidebars /wp-admin/themes.php?page=off-canvas-sidebars-settings | 1,422 | 2.51 | 60.02 | 61.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% 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 did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_off-canvas-control
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
off-canvas-sidebars/off-canvas-sidebars.php 92% from 13 tests
Analyzing the main PHP file in "Off-Canvas Sidebars & Menus (Slidebars)" version 0.5.8.1
The following require your attention:
- 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 check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected6,590 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 756 | 2,267 | 3,980 |
JavaScript | 15 | 532 | 1,081 | 2,227 |
CSS | 6 | 91 | 98 | 383 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 28.75 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 3 | 18.75% |
▷ Concrete classes | 13 | 81.25% |
▷ Final classes | 13 | 100.00% |
Methods | 198 | |
▷ Static methods | 46 | 23.23% |
▷ Public methods | 178 | 89.90% |
▷ Protected methods | 10 | 5.05% |
▷ Private methods | 10 | 5.05% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin