Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.87ms] Passed 4 tests
Server-side resources used by Arbitrary Sidebars
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.82 ▼6.90 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.88 ▼1.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.66 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.84 ▲3.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.53 ▼1.67 |
Sidebars /wp-admin/themes.php?page=arbitrary-sidebars | 3.18 | 28.57 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Arbitrary Sidebars: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.09 | 1.69 ▼0.21 | 41.05 ▼2.83 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲1.00 | 106.90 ▼6.72 | 40.93 ▼4.58 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.03 ▲0.02 | 39.55 ▲1.68 | 35.40 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,550 ▲14 | 18.44 ▼4.70 | 631.88 ▼33.59 | 83.63 ▲5.37 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.00 | 96.81 ▼9.11 | 39.99 ▼5.29 |
Sidebars /wp-admin/themes.php?page=arbitrary-sidebars | 802 | 2.05 | 24.74 | 23.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% 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/themes.php?page=arbitrary-sidebars
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=arbitrary-sidebars
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: widget, sidebar, sidebars
arbitrary-sidebars/arbitrary-sidebars.php 85% from 13 tests
The principal PHP file in "Arbitrary Sidebars" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/lang")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected388 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 115 | 295 | 388 |
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.30 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 31 | |
▷ Static methods | 23 | 74.19% |
▷ Public methods | 22 | 70.97% |
▷ Protected methods | 4 | 12.90% |
▷ Private methods | 5 | 16.13% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin