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.16MB] [CPU: ▲1.44ms] Passed 4 tests
A check of server-side resources used by WP Custom Sidebars
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.61 ▲3.77 |
Dashboard /wp-admin | 3.50 ▲0.20 | 45.92 ▼2.04 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.25 ▲4.39 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 94.72 ▲0.26 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 37.75 ▲3.77 |
Sidebars /wp-admin/themes.php?page=wp-custom-sidebars | 3.40 | 32.07 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Custom Sidebars
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.22 ▼1.17 | 1.69 ▼0.19 | 43.56 ▼1.61 |
Dashboard /wp-admin | 2,212 ▲21 | 5.00 ▲0.17 | 109.23 ▼5.55 | 40.29 ▲1.82 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.06 ▲0.09 | 39.94 ▲1.64 | 34.50 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 18.49 ▼4.94 | 603.42 ▼66.92 | 52.59 ▼3.23 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.28 ▲0.11 | 96.19 ▼10.15 | 43.58 ▼3.50 |
Sidebars /wp-admin/themes.php?page=wp-custom-sidebars | 910 | 1.92 | 27.15 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-custom-sidebars/inc/public/main.php:12
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: widget, personalize, sidebars, custom-sidebars, sidebar...
wp-custom-sidebars/wp-custom-sidebars.php Passed 13 tests
The main PHP file in "WP Custom Sidebars" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
Create unlimited sidebars for pages/posts easily without writing a single line of code
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
Success! There were no dangerous files found in this plugin1,175 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 279 | 413 | 899 |
PO File | 1 | 44 | 53 | 127 |
JavaScript | 6 | 54 | 35 | 112 |
Sass | 2 | 5 | 2 | 26 |
JSON | 1 | 0 | 0 | 11 |
CSS | 2 | 4 | 2 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 6 | 100.00% |
Methods | 57 | |
▷ Static methods | 10 | 17.54% |
▷ Public methods | 55 | 96.49% |
▷ Protected methods | 1 | 1.75% |
▷ Private methods | 1 | 1.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin