Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.61MB] [CPU: ▼47.17ms] Passed 4 tests
Server-side resources used by Multiple Sidebar Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.32 ▼1.14 | 9.72 ▼34.74 |
Dashboard /wp-admin | 2.41 ▼0.89 | 14.09 ▼34.25 |
Posts /wp-admin/edit.php | 2.41 ▼0.94 | 13.03 ▼37.07 |
Add New Post /wp-admin/post-new.php | 2.41 ▼3.47 | 11.58 ▼82.62 |
Media Library /wp-admin/upload.php | 2.41 ▼0.82 | 13.46 ▼23.86 |
/wp-admin/admin.php?page=multiple-sidebar-generator | 2.41 | 13.36 |
Server storage [IO: ▲0.14MB] [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: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
simple_page_sidebars_version |
widget_area |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Sidebar Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.68 ▼0.69 | 1.72 ▼0.61 | 38.63 ▼5.09 |
Dashboard /wp-admin | 2,200 ▲12 | 5.78 ▲0.69 | 101.60 ▼4.87 | 39.16 ▼1.85 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.01 | 35.37 ▼7.28 | 33.18 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,514 ▼2 | 17.84 ▲0.29 | 658.47 ▲48.26 | 63.17 ▲11.17 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.32 ▲0.12 | 94.87 ▼4.32 | 42.12 ▼4.12 |
/wp-admin/admin.php?page=multiple-sidebar-generator | 846 | 2.36 | 35.96 | 22.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Simple_Page_Sidebars_Widget_Area is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- widget_area
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=multiple-sidebar-generator
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Simple_Page_Sidebars_Widget_Area is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/admin.php?page=multiple-sidebar-generator
- > Notice in wp-content/plugins/multiple-sidebar-generator/admin/admin.php+415
Undefined index: sidebar
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
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/multiple-sidebar-generator/simple-page-sidebars.php:14
- > PHP Fatal error
Uncaught Error: Class 'Walker_Page' not found in wp-content/plugins/multiple-sidebar-generator/admin/includes/class-simple-page-sidebars-walker-page-checklist.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/multiple-sidebar-generator/admin/views/edit-sidebar-screen.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multiple-sidebar-generator/includes/widget-area.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/multiple-sidebar-generator/admin/views/meta-box-sidebar-pages.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/multiple-sidebar-generator/admin/views/meta-box-page-sidebar.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: dynamic sidebar, custom sidebars, simple, sidebars, widgets...
multiple-sidebar-generator/simple-page-sidebars.php 92% from 13 tests
The main PHP script in "Multiple Sidebar Generator" version 2.1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("multiple-sidebar-generator.php" instead of "simple-page-sidebars.php")
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
Everything looks great! No dangerous files found in this plugin1,033 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 165 | 376 | 748 |
PO File | 3 | 82 | 93 | 285 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 36 | |
▷ Static methods | 31 | 86.11% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.73KB | 6.86KB | ▼ 50.03% |
screenshot-2.png | 48.54KB | 27.96KB | ▼ 42.39% |