Benchmarks
Plugin footprint 30% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.69MB] [CPU: ▲4.40ms] Passed 4 tests
This is a short check of server-side resources used by GetResponse for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.17 ▲0.71 | 44.42 ▲3.64 |
Dashboard /wp-admin | 4.00 ▲0.69 | 47.68 ▼0.46 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 53.06 ▲8.45 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.69 | 99.26 ▲9.74 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 40.15 ▲5.98 |
/wp-admin/admin.php?page=gr-integration-error | 3.83 | 35.36 |
Help /wp-admin/admin.php?page=gr-integration-help | 3.97 | 38.17 |
Account /wp-admin/admin.php?page=gr-integration-status | 3.99 | 40.36 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 157 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_gr_variants_map |
wp_gr_orders_map |
wp_gr_configuration |
wp_gr_schedule_jobs_queue |
wp_gr_products_map |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_getresponse-widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for GetResponse for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 13.50 ▼0.74 | 1.82 ▼0.15 | 41.65 ▼2.81 |
Dashboard /wp-admin | 2,240 ▲49 | 4.87 ▼1.16 | 107.75 ▼9.97 | 74.41 ▲32.33 |
Posts /wp-admin/edit.php | 2,129 ▲43 | 2.02 ▼0.00 | 39.74 ▲3.96 | 36.52 ▲1.25 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.00 ▼0.32 | 662.40 ▼19.92 | 38.94 ▼16.84 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.27 ▲0.06 | 113.23 ▲5.93 | 81.06 ▲32.87 |
/wp-admin/admin.php?page=gr-integration-error | 967 | 2.27 | 30.11 | 26.13 |
Help /wp-admin/admin.php?page=gr-integration-help | 900 | 2.03 | 25.24 | 26.60 |
Account /wp-admin/admin.php?page=gr-integration-status | 950 | 2.06 | 24.31 | 24.79 |
Uninstaller [IO: ▲0.74MB] [DB: ▲0.01MB] 0% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the followingZombie tables detected upon uninstall: 5 tables This plugin does not fully uninstall, leaving 8 options in the database
- Uninstall procedure validation failed for this plugin
- > Compile error in wp-content/plugins/getresponse-integration/gr-loader.php+45
Cannot redeclare gr() (previously declared in wp-content/plugins/getresponse-integration/gr-loader.php:46)
- Uninstaller has failed for this plugin, leaving 157 files (0.74MB) in the plugin directory
- (new file) getresponse/customer/classes/class-gr-contact-alread-exists-exception.php
- (new file) getresponse/customer/classes/class-gr-customer-service.php
- (new file) getresponse/configuration/classes/class--configuration-service.php
- (new file) getresponse/ecommerce/classes/class-gr-address-factory.php
- (new file) getresponse/customer/classes/class-gr-custom-fields-service.php
- (new file) class-getresponse.php
- (new file) getresponse/ecommerce/classes/class-gr-address.php
- (new file) README.txt
- (new file) composer.json
- (new file) getresponse/ecommerce/classes/class-gr-account-service.php
- ...
- wp_gr_orders_map
- wp_gr_schedule_jobs_queue
- wp_gr_variants_map
- wp_gr_products_map
- wp_gr_configuration
- widget_recent-comments
- widget_getresponse-widget
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/getresponse-integration/gr-settings/gr-settings-filters.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/getresponse-integration/gr-templates/admin/settings/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/getresponse-integration/gr-templates/admin/widgets/admin/scripts.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/getresponse-integration/gr-templates/admin/settings/footer.php:3
- > PHP Fatal error
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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
getresponse-integration/gr-loader.php 85% from 13 tests
The entry point to "GetResponse for WordPress" version 5.5.33 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("getresponse-integration.php" instead of "gr-loader.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 305 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin10,900 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 2,244 | 2,616 | 9,445 |
CSS | 3 | 130 | 34 | 712 |
JavaScript | 7 | 75 | 6 | 389 |
PO File | 1 | 155 | 240 | 297 |
JSON | 2 | 0 | 0 | 51 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 6.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 77 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 399 | |
▷ Static methods | 29 | 7.27% |
▷ Public methods | 368 | 92.23% |
▷ Protected methods | 2 | 0.50% |
▷ Private methods | 29 | 7.27% |
Functions | 97 | |
▷ Named functions | 93 | 95.88% |
▷ Anonymous functions | 4 | 4.12% |
Constants | 61 | |
▷ Global constants | 1 | 1.64% |
▷ Class constants | 60 | 98.36% |
▷ Public constants | 60 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.28MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gr-assets/img/getresponse-web-form-widget.png | 89.57KB | 28.59KB | ▼ 68.08% |
gr-assets/img/getresponse_logo.png | 22.18KB | 11.53KB | ▼ 48.01% |
gr-assets/img/gr_shortcode.png | 21.58KB | 8.88KB | ▼ 58.84% |
gr-assets/img/getresponse-add-widget.png | 58.96KB | 15.55KB | ▼ 73.63% |
gr-assets/img/buddypress_icon.png | 23.82KB | 10.90KB | ▼ 54.22% |