Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.80ms] Passed 4 tests
Analyzing server-side resources used by Unlimited Page Sidebars
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 42.33 ▲4.11 |
Dashboard /wp-admin | 3.42 ▲0.11 | 50.57 ▲0.53 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.50 ▼3.77 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.43 ▼9.40 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 37.67 ▲1.44 |
Unlimited Page Sidebars /wp-admin/options-general.php?page=pagesidebars-options | 3.32 | 34.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Unlimited Page Sidebars
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.21 | 1.70 ▼0.09 | 45.00 ▼3.03 |
Dashboard /wp-admin | 2,210 ▲25 | 5.79 ▼0.05 | 101.03 ▼2.17 | 38.79 ▼1.25 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 1.98 ▼0.02 | 34.28 ▼6.09 | 34.20 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.53 ▼5.65 | 699.66 ▲74.46 | 56.44 ▲3.71 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.40 ▲0.15 | 109.09 ▲8.25 | 49.39 ▲5.40 |
Unlimited Page Sidebars /wp-admin/options-general.php?page=pagesidebars-options | 850 | 2.02 | 28.56 | 30.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-page-sidebars/unlimited-page-sidebars.php:542
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-page-sidebars/unlimited-page-sidebars.php:542
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: sidebars, pages, cms
unlimited-page-sidebars/unlimited-page-sidebars.php Passed 13 tests
The principal PHP file in "Unlimited Page Sidebars" v. 0.2.5 is loaded by WordPress automatically on each request
73 characters long description:
Allows assigning one specific widget area (sidebar) to each page or post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin683 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 71 | 445 |
JavaScript | 1 | 0 | 0 | 110 |
PO File | 1 | 32 | 34 | 100 |
Markdown | 1 | 11 | 0 | 22 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.64 |
▷ 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 | 22 | |
▷ Static methods | 22 | 100.00% |
▷ Public methods | 22 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin