Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.89ms] Passed 4 tests
Server-side resources used by Responsive Sidebar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 42.39 ▲1.01 |
Dashboard /wp-admin | 3.46 ▲0.11 | 45.80 ▼15.17 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.20 ▼0.08 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 90.78 ▼4.82 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.60 ▼3.48 |
Responsive Sidebar /wp-admin/options-general.php?page=responsive-sidebar-admin | 3.36 | 30.03 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
responsive_sidebar |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Responsive Sidebar: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.35 ▲0.16 | 2.06 ▲0.40 | 46.83 ▼1.02 |
Dashboard /wp-admin | 2,198 ▲21 | 5.49 ▼0.36 | 83.20 ▼16.43 | 39.29 ▼4.86 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 1.97 ▼0.06 | 38.82 ▲2.84 | 36.15 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.43 ▲0.40 | 680.30 ▲10.58 | 52.91 ▼0.31 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.22 ▲0.01 | 94.81 ▼9.64 | 45.01 ▼4.23 |
Responsive Sidebar /wp-admin/options-general.php?page=responsive-sidebar-admin | 885 | 2.15 | 26.39 | 35.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-sidebar-admin
- > Notice in wp-content/plugins/responsive-sidebar/views/admin/section/main-settings.php+43
Undefined index: sidebar-2
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-sidebar-admin
- > Notice in wp-content/plugins/responsive-sidebar/views/admin/section/main-settings.php+43
Trying to access array offset on value of type null
SRP 50% from 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/responsive-sidebar/src/Admin/Customizer/CustomizeDonate.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/responsive-sidebar/src/Admin/Customizer/CustomizeLabel.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Responsive Sidebar on a small screen), #2 (Responsive Sidebar hidden on a small screen), #3 (Sidebar on a large screen (WooCommerce filtres))
responsive-sidebar/responsive-sidebar.php 92% from 13 tests
The main PHP file in "Responsive Sidebar" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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,588 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 433 | 331 | 1,423 |
JSON | 3 | 1 | 0 | 72 |
Markdown | 1 | 53 | 0 | 70 |
CSS | 1 | 1 | 1 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 5 | 6.49% |
▷ Public methods | 72 | 93.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.49% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.15MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/img/sidebar-icon.png | 0.65KB | 0.68KB | 0.00% |
screenshot-3.png | 152.65KB | 66.54KB | ▼ 56.41% |