Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼303.20ms] Passed 4 tests
Server-side resources used by Add Multiple Sidebar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 58.59 ▲9.79 |
Dashboard /wp-admin | 3.44 ▲0.04 | 33.91 ▲0.79 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 42.36 ▲1.10 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 90.62 ▼1,216.87 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 27.36 ▲2.19 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Add Multiple Sidebar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 16.20 ▲0.26 | 6.04 ▼0.40 | 2.58 ▼0.55 |
Dashboard /wp-admin | 2,895 ▲34 | 6.17 ▲0.11 | 120.12 ▼15.08 | 159.34 ▼1.27 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.24 ▼0.01 | 62.21 ▼1.93 | 136.31 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 18.38 ▼4.35 | 386.96 ▼27.79 | 165.19 ▲12.58 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▲0.02 | 145.65 ▲11.88 | 184.35 ▲1.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots require images: #1 (Add Multiple Sidebar Use Your Sidebar), #2 (Add Sidebar Name), #3 (Delete Your Sidebar)
add-multiple-sidebar/sidebar.php 92% from 13 tests
The principal PHP file in "Add Multiple Sidebar" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("add-multiple-sidebar.php" instead of "sidebar.php")
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
Everything looks great! No dangerous files found in this plugin178 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 38 | 102 |
JavaScript | 1 | 5 | 9 | 47 |
PO File | 1 | 4 | 5 | 24 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 9.31KB | 3.49KB | ▼ 62.54% |
screenshot-1.png | 61.13KB | 18.02KB | ▼ 70.52% |
screenshot-2.png | 5.87KB | 2.31KB | ▼ 60.66% |