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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼0.82ms] Passed 4 tests
A check of server-side resources used by WordPress Default Widget Extension
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 44.70 ▲6.81 |
Dashboard /wp-admin | 3.51 ▲0.20 | 50.55 ▼0.24 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.52 ▼0.45 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 86.25 ▼2.14 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 35.89 ▼0.44 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
wp-widget-extentions |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Default Widget Extension
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.53 ▼1.22 | 1.64 ▼0.12 | 41.73 ▼6.60 |
Dashboard /wp-admin | 2,222 ▲34 | 4.85 ▼1.06 | 112.25 ▼4.25 | 41.94 ▼3.31 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.06 ▲0.04 | 34.44 ▼1.31 | 34.19 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.65 ▲0.19 | 665.66 ▼4.60 | 52.43 ▼4.35 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.19 ▼0.01 | 95.09 ▲0.89 | 48.66 ▲7.53 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-calendar.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-categories.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-widget-extentions/wp-widget-extentions.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-recent-comments.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-tag-cloud.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-text.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-archives.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-nav-menu.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-meta.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function unregister_widget() in wp-content/plugins/wp-widget-extentions/includes/wp-widget-extensions-search.php:12
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Archives Widget( Added: Type, Order By, Number of archives to show )), #2 (Categories Widget( Added: Sort By, Order By, Exclude )), #3 (Meta Widget( Added: Checked, Custom Post RSS )), #4 (Tag Cloud Widget( Added: Font Size, Font Unit, Display Format,Number of tags to show, Separate Text, Sort By, Order By )), #5 (Page Widget( Added: Hierarchy ))
wp-widget-extentions/wp-widget-extentions.php Passed 13 tests
The principal PHP file in "WordPress Default Widget Extension" v. 2.1.3 is loaded by WordPress automatically on each request
57 characters long description:
Plug-ins that extend the standard of the widget function.
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 detected1,581 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 291 | 969 | 1,483 |
PO File | 1 | 42 | 56 | 98 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 55 | 74.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 25.68% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.33MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 78.16KB | 26.35KB | ▼ 66.28% |
screenshot-1.png | 65.00KB | 22.54KB | ▼ 65.32% |
screenshot-5.png | 40.86KB | 14.18KB | ▼ 65.29% |
screenshot-3.png | 62.37KB | 21.59KB | ▼ 65.38% |
screenshot-4.png | 86.99KB | 30.27KB | ▼ 65.20% |