Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.26ms] Passed 4 tests
This is a short check of server-side resources used by Responder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 39.19 ▼4.08 |
Dashboard /wp-admin | 3.48 ▲0.17 | 46.02 ▼3.65 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.04 ▲3.20 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.36 ▼1.98 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.92 ▲0.67 |
Server storage [IO: ▲4.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 123 new files
Database: no new tables, 15 new options
New WordPress options |
---|
responder_live_user_token |
widget_theysaidso_widget |
Responder_Plugin_EnterUsername |
responder_live_auth_token |
theysaidso_admin_options |
responder_live_enabled |
Responder_Plugin__installed |
responder_settings_advanced |
Responder_Plugin_EnterPassword |
Responder_Plugin__version |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Responder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 14.04 ▼0.13 | 5.58 ▲3.85 | 44.78 ▼1.27 |
Dashboard /wp-admin | 2,243 ▲55 | 5.84 ▲0.82 | 99.04 ▼15.38 | 42.60 ▼6.17 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.06 ▲0.08 | 41.17 ▲5.73 | 37.86 ▲7.71 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.74 ▲0.17 | 674.39 ▲20.82 | 60.89 ▲13.74 |
Media Library /wp-admin/upload.php | 1,421 ▲30 | 4.23 ▲0.04 | 95.59 ▲0.13 | 43.41 ▼2.18 |
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 does not fully uninstall, leaving 15 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- responder_settings_elementor
- Responder_Plugin_EnterPassword
- responder_live_auth_token
- responder_live_enabled
- Responder_Plugin_EnterUsername
- responder_live_user_token
- widget_recent-posts
- responder_settings_advanced
- ...
Smoke tests 50% from 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 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
The following issues need your attention
- 48× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/responder/plugin/AJAX.php
- > /wp-content/plugins/responder/integrations/ElementorPro/Controls/SystemChoice.php
- > /wp-content/plugins/responder/integrations/PojoForms/DataManager.php
- > /wp-content/plugins/responder/integrations/ContactForm7/Custom/PhoneValidation.php
- > /wp-content/plugins/responder/responder.php
- > /wp-content/plugins/responder/integrations/Elementor/Controls/StyleControls.php
- > /wp-content/plugins/responder/api/SystemApi.php
- > /wp-content/plugins/responder/plugin/AdminNotices.php
- > /wp-content/plugins/responder/integrations/Version.php
- > /wp-content/plugins/responder/integrations/Elementor/FormWidget.php
- 19× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RavMesser\\Plugin\\API' not found in wp-content/plugins/responder/templates/integrations/elementor/tab/forms.tpl.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/responder/templates/footer.tpl.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/responder/templates/integrations/pojo_forms/metabox.tpl.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/responder/templates/settings_page.tpl.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/responder/templates/integrations/elementor/controls/field_type.tpl.php:4
- > PHP Fatal error
Uncaught Error: Class 'RavMesser\\Plugin\\API' not found in wp-content/plugins/responder/templates/integrations/pojo_forms/tab.tpl.php:1
- > PHP Fatal error
Uncaught Error: Class 'RavMesser\\Plugin\\SettingsPage' not found in wp-content/plugins/responder/templates/tabs/getting_started.tpl.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/responder/templates/integrations/elementor/controls/hidden_field.tpl.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/responder/templates/integrations/elementor/tab/index.tpl.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/responder/templates/integrations/elementor_pro/controls/tags.tpl.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: responder, rav messer
responder/responder.php 92% from 13 tests
The primary PHP file in "Responder" version 4.3.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 170 characters long)
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
Everything looks great! No dangerous files found in this plugin15,908 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 1,736 | 776 | 8,016 |
SVG | 2 | 0 | 0 | 2,674 |
CSS | 10 | 495 | 60 | 2,555 |
JavaScript | 16 | 433 | 104 | 2,114 |
PO File | 1 | 251 | 420 | 516 |
XML | 1 | 12 | 10 | 28 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of 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.34 |
Average class complexity | 12.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 57 | |
▷ Abstract classes | 3 | 5.26% |
▷ Concrete classes | 54 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 433 | |
▷ Static methods | 214 | 49.42% |
▷ Public methods | 325 | 75.06% |
▷ Protected methods | 24 | 5.54% |
▷ Private methods | 84 | 19.40% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 33 | |
▷ Global constants | 10 | 30.30% |
▷ Class constants | 23 | 69.70% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.43MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendors/DataTables/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/vendors/DataTables/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/vendors/DataTables/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/vendors/DataTables/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/plugins_structure.png | 437.98KB | 108.99KB | ▼ 75.11% |