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.01MB] [CPU: ▼4.70ms] Passed 4 tests
This is a short check of server-side resources used by WebSub (FKA. PubSubHubbub)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.09 ▼5.39 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.79 ▼2.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.79 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.85 ▼8.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.90 ▲2.86 |
WebSub /wp-admin/options-general.php?page=pubsubhubbub | 3.25 | 30.99 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WebSub (FKA. PubSubHubbub)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.72 ▲0.01 | 1.54 ▼0.11 | 38.02 ▼6.62 |
Dashboard /wp-admin | 2,202 ▲38 | 5.62 ▲0.03 | 90.79 ▼16.31 | 42.12 ▼0.99 |
Posts /wp-admin/edit.php | 2,107 ▲25 | 1.96 ▼0.03 | 38.36 ▲2.56 | 35.72 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▼0.08 | 623.38 ▲9.99 | 55.96 ▲4.62 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.04 | 99.10 ▲2.80 | 42.22 ▲0.71 |
WebSub /wp-admin/options-general.php?page=pubsubhubbub | 978 | 1.97 | 23.12 | 34.97 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× 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/pubsubhubbub/pubsubhubbub.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/pubsubhubbub/templates/settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pubsubhubbub/includes/deprecated.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (The WebSub Settings page allows you to define which hubs you want to use)
pubsubhubbub/pubsubhubbub.php Passed 13 tests
This is the main PHP file of "WebSub (FKA. PubSubHubbub)" version 3.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
A better way to tell the world when your blog is updated.
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
No dangerous file extensions were detected332 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 83 | 183 | 332 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 53.58KB | 14.66KB | ▼ 72.63% |