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
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.71ms] Passed 4 tests
Analyzing server-side resources used by Easy Custom Sidebars
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 37.66 ▼0.43 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.73 ▲0.94 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.73 ▲1.35 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 84.58 ▼4.69 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.28 ▲2.11 |
Sidebar Replacements /wp-admin/themes.php?page=easy-custom-sidebars | 3.60 | 32.29 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
ecs_show_admin_pointer |
ecs_force_user_redirect |
widget_recent-posts |
widget_theysaidso_widget |
ecs_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Custom Sidebars
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 16.31 ▲1.94 | 1.76 ▼0.12 | 36.18 ▼2.96 |
Dashboard /wp-admin | 2,296 ▲107 | 6.96 ▲1.92 | 231.17 ▲124.79 | 40.87 ▲3.86 |
Posts /wp-admin/edit.php | 2,202 ▲113 | 6.55 ▲4.51 | 75.48 ▲40.53 | 34.39 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,541 ▲21 | 23.59 ▲0.50 | 550.25 ▼98.56 | 36.50 ▼14.97 |
Media Library /wp-admin/upload.php | 1,498 ▲110 | 8.76 ▲4.46 | 123.90 ▲26.60 | 42.88 ▲1.47 |
Sidebar Replacements /wp-admin/themes.php?page=easy-custom-sidebars | 1,187 | 8.86 | 103.60 | 38.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Admin\\add_action() in wp-content/plugins/easy-custom-sidebars/src/includes/admin.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Customizer\\add_action() in wp-content/plugins/easy-custom-sidebars/src/includes/customizer.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Frontend\\add_filter() in wp-content/plugins/easy-custom-sidebars/src/includes/frontend.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Deprecated\\add_filter() in wp-content/plugins/easy-custom-sidebars/src/includes/deprecated.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Data\\add_action() in wp-content/plugins/easy-custom-sidebars/src/includes/data.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Setup\\add_action() in wp-content/plugins/easy-custom-sidebars/src/includes/setup.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function ECS\\Api\\add_action() in wp-content/plugins/easy-custom-sidebars/src/includes/api.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #10, #8, #9 in easy-custom-sidebars/assets to your readme.txt
- Tags: You are using too many tags: 14 tag instead of maximum 10
easy-custom-sidebars/easy-custom-sidebars.php Passed 13 tests
The main file in "Easy Custom Sidebars" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
Replace any sidebar/widget area in any WordPress theme (no coding required).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected5,383 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 337 | 30 | 4,211 |
PHP | 12 | 230 | 556 | 1,152 |
SVG | 1 | 0 | 0 | 18 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 78 | |
▷ Named functions | 47 | 60.26% |
▷ Anonymous functions | 31 | 39.74% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.23MB with 0.16MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/main-pic.png | 230.83KB | 67.89KB | ▼ 70.59% |