Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/multiple-sidebars/core.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleSidebarsCore has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼53.57ms] Passed 4 tests
An overview of server-side resources used by Multiple Sidebars
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.29 | 5.24 ▼40.34 |
Dashboard /wp-admin | 2.19 ▼1.12 | 6.71 ▼41.27 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 6.78 ▼43.58 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 7.86 ▼89.08 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.04 ▼30.14 |
Add new sidebar /wp-admin/post-new.php?post_type=multiple-sidebars | 2.19 | 6.72 |
Options /wp-admin/edit.php?post_type=multiple-sidebars&page=opciones | 2.19 | 6.04 |
All sidebars /wp-admin/edit.php?post_type=multiple-sidebars | 2.19 | 7.36 |
Help /wp-admin/edit.php?post_type=multiple-sidebars&page=ayuda | 2.19 | 6.27 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_multiple_sidebars_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Multiple Sidebars
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.27 ▼1.11 | 1.77 ▼0.23 | 42.19 ▼9.14 |
Dashboard /wp-admin | 2,229 ▲41 | 4.93 ▼0.98 | 104.33 ▼8.12 | 74.04 ▲32.25 |
Posts /wp-admin/edit.php | 2,131 ▲45 | 2.24 ▲0.19 | 36.38 ▼3.94 | 34.50 ▼2.15 |
Add New Post /wp-admin/post-new.php | 6,343 ▲4,809 | 19.51 ▼3.55 | 969.52 ▲286.68 | 40.93 ▼17.82 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.15 ▼0.06 | 102.49 ▼5.10 | 68.56 ▲21.16 |
Add new sidebar /wp-admin/post-new.php?post_type=multiple-sidebars | 1,428 | 2.49 | 49.78 | 63.23 |
Options /wp-admin/edit.php?post_type=multiple-sidebars&page=opciones | 1,132 | 2.32 | 38.78 | 28.61 |
All sidebars /wp-admin/edit.php?post_type=multiple-sidebars | 1,095 | 2.19 | 40.10 | 29.16 |
Help /wp-admin/edit.php?post_type=multiple-sidebars&page=ayuda | 861 | 1.82 | 27.68 | 28.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/multiple-sidebars/core.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleSidebarsCore has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_multiple_sidebars_widget
- widget_recent-posts
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)
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=multiple-sidebars&page=ayuda
- > Deprecated in wp-content/plugins/multiple-sidebars/core.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleSidebarsCore has a deprecated constructor
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=multiple-sidebars&page=ayuda
- > Deprecated in wp-content/plugins/multiple-sidebars/herramientas.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleSidebars has a deprecated constructor
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=multiple-sidebars&page=ayuda
- > Deprecated in wp-content/plugins/multiple-sidebars/widget.php+59
Function create_function() is deprecated
SRP 50% from 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
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/multiple-sidebars/multiple-sidebars.php:32
- > PHP Fatal error
Uncaught Error: Class 'MultipleSidebarsCore' not found in wp-content/plugins/multiple-sidebars/herramientas.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/multiple-sidebars/ayuda.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multiple-sidebars/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/multiple-sidebars/opciones.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% 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 to be fixed:
- Screenshots: Add images for these screenshots: #1 (Arrastrar para seleccionar el/los sidebar correspondiente), #2 (Colocar el widget MULTIPLE SIDEBARS WIDGET en el sidebar principal del tema elegido), #3 (Colocar en el theme la función para hacer funcionar el plugin)
- Plugin Name: Please specify the plugin name on the first line (
=== multiple-sidebars ===
) - Tags: Please delete some tags, you are using 13 tag instead of maximum 10
multiple-sidebars/multiple-sidebars.php 85% from 13 tests
Analyzing the main PHP file in "Multiple Sidebars" version 1.3.0
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 147 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin796 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 50 | 70 | 507 |
PO File | 1 | 62 | 92 | 138 |
JavaScript | 1 | 4 | 0 | 90 |
CSS | 1 | 1 | 0 | 61 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
10 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ayuda.png.png | 2.25KB | 1.67KB | ▼ 25.73% |
images/mas.png | 0.16KB | 0.12KB | ▼ 24.24% |
images/movitems.png | 0.99KB | 0.17KB | ▼ 82.96% |
images/sidebar.png | 0.42KB | 0.45KB | 0.00% |
images/mas2.png | 3.13KB | 0.26KB | ▼ 91.58% |