Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼1.70ms] Passed 4 tests
This is a short check of server-side resources used by WP Webhooks - Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 37.43 ▼2.98 |
Dashboard /wp-admin | 3.57 ▲0.26 | 47.36 ▼3.66 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 49.89 ▲5.04 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 87.58 ▼3.57 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.51 ▲3.43 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Webhooks - Comments
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.22 ▼1.16 | 1.57 ▼0.23 | 40.71 ▼10.53 |
Dashboard /wp-admin | 2,228 ▲40 | 4.89 ▼0.03 | 112.89 ▲3.79 | 43.72 ▲5.86 |
Posts /wp-admin/edit.php | 2,108 ▲22 | 2.03 ▲0.00 | 41.10 ▲6.32 | 30.44 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 17.84 ▼5.46 | 678.43 ▲35.95 | 51.97 ▲2.25 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.26 ▲0.02 | 102.89 ▲4.33 | 42.00 ▼1.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is required in wp-webhooks-comments/assets to your readme.txt
wp-webhooks-comments/wp-webhooks-comments.php Passed 13 tests
"WP Webhooks - Comments" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
A WP Webhooks and WP Webhooks Pro extension for handling comments
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,281 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 269 | 120 | 1,280 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 182.00 |
▷ Minimum class complexity | 182.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 8.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin