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 gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.98ms] Passed 4 tests
A check of server-side resources used by WP Editor Comments Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.21 | 34.26 ▼12.74 |
Dashboard /wp-admin | 36.76 ▲33.37 | 6,850,873.27 ▲6,850,804.63 |
Posts /wp-admin/edit.php | 3.67 ▲0.27 | 58.19 ▲3.58 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.21 | 95.54 ▼20.70 |
Media Library /wp-admin/upload.php | 3.48 ▲0.21 | 47.53 ▲9.95 |
WP Editor Comments Plus /wp-admin/options-general.php?page=wp-editor-comments-plus | 3.36 | 36.48 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Editor Comments Plus: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 14.66 ▲0.38 | 29.49 ▲27.75 | 39.07 ▼8.71 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▲0.02 | 84.31 ▼11.43 | 41.90 ▼0.97 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▼0.02 | 33.10 ▼5.15 | 37.33 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.28 ▲0.22 | 627.92 ▼80.95 | 50.62 ▼9.64 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▲0.02 | 103.76 ▼0.67 | 45.40 ▼0.97 |
WP Editor Comments Plus /wp-admin/options-general.php?page=wp-editor-comments-plus | 1,214 | 3.27 | 78.62 | 35.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-editor-comments-plus
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-editor-comments-plus
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-editor-comments-plus
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-editor-comments-plus/views/public.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-editor-comments-plus/views/admin.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-editor-comments-plus
- > Network (severe)
wp-content/plugins/wp-editor-comments-plus/src/images/ui-icons_444444_256x240.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (WP Editor Comments Plus installed in the official WordPress Twenty Sixteen theme.), #2 (Settings options for WP Editor Comments Plus.)
wp-editor-comments-plus/wp-editor-comments-plus.php 92% from 13 tests
The main PHP script in "WP Editor Comments Plus" version 1.1.4 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,274 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 146 | 283 | 680 |
JavaScript | 4 | 126 | 84 | 591 |
Markdown | 1 | 0 | 0 | 2 |
CSS | 1 | 1 | 5 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 76.00 |
▷ Minimum class complexity | 76.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 43 | |
▷ Global constants | 43 | 100.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
5 PNG files occupy 0.14MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 52.14KB | 53.91KB | 0.00% |
src/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
src/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
src/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
screenshot-1.png | 72.84KB | 75.12KB | 0.00% |