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 gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.90ms] Passed 4 tests
Server-side resources used by Assign Widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.74 ▼1.03 |
Dashboard /wp-admin | 3.40 ▲0.06 | 44.62 ▼14.91 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 43.79 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 83.31 ▼6.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.35 ▲0.30 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Assign Widgets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.45 | 1.93 ▲0.30 | 40.03 ▼3.58 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.02 | 85.62 ▼5.73 | 38.29 ▼3.62 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.08 | 43.59 ▲5.78 | 34.25 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 23.42 ▲0.35 | 637.06 ▼19.84 | 67.39 ▲12.50 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.12 ▼0.09 | 100.26 ▼0.69 | 43.20 ▼6.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
assign-widgets/assign-widgets.php Passed 13 tests
The main PHP file in "Assign Widgets" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
55 characters long description:
Assign widgets to selected pages or create widget areas
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
There were no executable files found in this plugin1,596 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 264 | 108 | 667 |
CSS | 2 | 7 | 23 | 469 |
PO File | 3 | 127 | 137 | 301 |
JavaScript | 2 | 69 | 9 | 159 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 119.00 |
▷ Minimum class complexity | 119.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 6.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 15 | 65.22% |
▷ Protected methods | 8 | 34.78% |
▷ 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
There are no PNG files in this plugin