Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.33ms] 75% from 4 tests
An overview of server-side resources used by Subscribe To Comments Reloaded
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 736.63ms on /wp-admin/admin.php?page=stcr_system)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.10 ▼2.60 |
Dashboard /wp-admin | 3.46 ▲0.16 | 48.22 ▲0.33 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.37 ▲4.42 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 87.82 ▼1.29 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.50 ▼1.75 |
Support /wp-admin/admin.php?page=stcr_support | 3.34 | 33.07 |
Comment Form /wp-admin/admin.php?page=stcr_comment_form | 3.45 | 34.67 |
Management Page /wp-admin/admin.php?page=stcr_management_page | 3.46 | 35.89 |
Manage subscriptions /wp-admin/admin.php?page=stcr_manage_subscriptions | 3.46 | 36.02 |
StCR System /wp-admin/admin.php?page=stcr_system | 3.60 | 736.63 |
Options /wp-admin/admin.php?page=stcr_options | 3.65 | 62.94 |
Notifications /wp-admin/admin.php?page=stcr_notifications | 3.42 | 33.11 |
Server storage [IO: ▲13.27MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 295 new files
Database: 1 new table, 64 new options
New tables |
---|
wp_subscribe_reloaded_subscribers |
New WordPress options |
---|
subscribe_reloaded_unique_key |
subscribe_reloaded_htmlify_message_links |
subscribe_reloaded_author_text |
subscribe_reloaded_post_type_supports |
subscribe_reloaded_reply_to |
subscribe_reloaded_auto_clean_log_frecuency |
theysaidso_admin_options |
subscribe_reloaded_manager_page_enabled |
subscribe_reloaded_subscription_confirmed |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Subscribe To Comments Reloaded
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲112 | 13.33 ▼1.05 | 4.65 ▲2.95 | 37.11 ▼8.17 |
Dashboard /wp-admin | 2,252 ▲60 | 5.91 ▲0.96 | 101.51 ▼23.58 | 42.52 ▼4.71 |
Posts /wp-admin/edit.php | 2,134 ▲48 | 2.02 ▼0.01 | 35.37 ▼1.18 | 34.32 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,576 ▲57 | 18.40 ▼5.01 | 634.87 ▼38.85 | 56.65 ▲3.35 |
Media Library /wp-admin/upload.php | 1,431 ▲40 | 4.17 ▼0.13 | 97.67 ▼5.48 | 40.31 ▼4.66 |
Support /wp-admin/admin.php?page=stcr_support | 1,014 | 2.17 | 32.61 | 65.04 |
Comment Form /wp-admin/admin.php?page=stcr_comment_form | 2,443 | 10.38 | 180.28 | 129.24 |
Management Page /wp-admin/admin.php?page=stcr_management_page | 2,692 | 9.69 | 239.74 | 132.87 |
Manage subscriptions /wp-admin/admin.php?page=stcr_manage_subscriptions | 1,242 | 2.38 | 32.76 | 59.22 |
StCR System /wp-admin/admin.php?page=stcr_system | 1,381 | 2.23 | 28.60 | 55.98 |
Options /wp-admin/admin.php?page=stcr_options | 1,723 | 2.39 | 31.58 | 50.57 |
Notifications /wp-admin/admin.php?page=stcr_notifications | 2,631 | 10.50 | 202.38 | 120.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_subscribe_reloaded_subscribers
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
- 27× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/subscribe-to-comments-reloaded/options/panel1-business-logic.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/templates/not-allowed.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/templates/request-management-link.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/templates/author.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_manage.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/options/panel1-edit-subscription.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/options/stcr_system.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/options/panel1-add-subscription.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php
- > /wp-content/plugins/subscribe-to-comments-reloaded/templates/user.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
subscribe-to-comments-reloaded/subscribe-to-comments-reloaded.php 85% from 13 tests
The main file in "Subscribe To Comments Reloaded" v. 220725... serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 250 characters long)
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "220725...")
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 detected86,897 lines of code in 199 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 20 | 9,137 | 14,220 | 23,941 |
JavaScript | 48 | 5,895 | 13,349 | 22,902 |
CSS | 46 | 3,388 | 245 | 22,417 |
PHP | 37 | 1,411 | 1,429 | 7,779 |
SVG | 4 | 0 | 12 | 5,551 |
Sass | 26 | 128 | 42 | 2,413 |
LESS | 16 | 41 | 51 | 1,870 |
XML | 1 | 0 | 0 | 23 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 57.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 270.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 6 | 4.03% |
▷ Public methods | 146 | 97.99% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.01% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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
12 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/datatables/media/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
vendor/datatables/media/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/subscribe-to-comments-small.png | 1.44KB | 0.67KB | ▼ 53.64% |
images/subscribe-to-comments.png | 2.04KB | 1.20KB | ▼ 40.92% |
vendor/datatables/media/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |