Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▼1.80ms] Passed 4 tests
Server-side resources used by Arigato Autoresponder and Newsletter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 45.93 ▲6.22 |
Dashboard /wp-admin | 3.79 ▲0.48 | 48.20 ▼0.94 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 56.00 ▲8.55 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 88.06 ▼16.01 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.97 ▲3.52 |
Mailing List /wp-admin/admin.php?page=bft_list | 3.65 | 39.34 |
Settings /wp-admin/admin.php?page=bft_options | 3.83 | 49.69 |
Send Newsletter /wp-admin/admin.php?page=bft_newsletter | 3.69 | 36.35 |
Webhooks / Zapier /wp-admin/admin.php?page=bft_webhooks | 3.66 | 38.19 |
Import/Export /wp-admin/admin.php?page=bft_import | 3.71 | 37.19 |
Integrate in Contact Form /wp-admin/admin.php?page=bft_integrate_contact | 3.69 | 36.28 |
Help /wp-admin/admin.php?page=bft_help | 3.72 | 36.12 |
Raw Email Log /wp-admin/admin.php?page=bft_log | 3.71 | 36.78 |
Configure Email Message /wp-admin/admin.php?page=bft_messages_config | 3.65 | 34.95 |
Email Messages /wp-admin/admin.php?page=bft_messages | 3.78 | 44.25 |
Server storage [IO: ▲0.31MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 46 new files
Database: 8 new tables, 13 new options
New tables |
---|
wp_bft_attachments |
wp_bft_mails |
wp_bft_unsubs |
wp_bft_emaillog |
wp_bft_webhooks |
wp_bft_newsletters |
wp_bft_sentmails |
wp_bft_users |
New WordPress options |
---|
bft_hooked_up |
widget_theysaidso_widget |
bft_last_start |
widget_recent-posts |
bft_db_version |
bft_current_status |
bft_date |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Arigato Autoresponder and Newsletter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲89 | 14.31 ▼0.03 | 1.74 ▲0.03 | 42.70 ▲0.15 |
Dashboard /wp-admin | 2,254 ▲79 | 5.64 ▲0.02 | 93.24 ▼24.02 | 40.17 ▼6.09 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.01 ▲0.07 | 40.80 ▲3.85 | 36.62 ▲5.62 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 23.21 ▲0.02 | 675.04 ▼36.60 | 51.79 ▲2.23 |
Media Library /wp-admin/upload.php | 1,456 ▲59 | 4.18 ▲0.03 | 100.62 ▲0.50 | 41.63 ▼0.09 |
Mailing List /wp-admin/admin.php?page=bft_list | 1,390 | 1.97 | 33.73 | 32.98 |
Settings /wp-admin/admin.php?page=bft_options | 2,308 | 6.47 | 130.33 | 54.24 |
Send Newsletter /wp-admin/admin.php?page=bft_newsletter | 1,778 | 6.49 | 123.21 | 58.15 |
Webhooks / Zapier /wp-admin/admin.php?page=bft_webhooks | 837 | 2.00 | 23.94 | 26.38 |
Import/Export /wp-admin/admin.php?page=bft_import | 1,127 | 2.13 | 23.70 | 36.22 |
Integrate in Contact Form /wp-admin/admin.php?page=bft_integrate_contact | 1,139 | 1.97 | 23.00 | 32.74 |
Help /wp-admin/admin.php?page=bft_help | 1,180 | 1.97 | 24.60 | 27.55 |
Raw Email Log /wp-admin/admin.php?page=bft_log | 1,088 | 2.03 | 24.81 | 33.68 |
Configure Email Message /wp-admin/admin.php?page=bft_messages_config | 1,582 | 6.46 | 123.90 | 44.94 |
Email Messages /wp-admin/admin.php?page=bft_messages | 2,110 | 6.57 | 129.59 | 50.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_bft_webhooks
- wp_bft_attachments
- wp_bft_newsletters
- wp_bft_unsubs
- This plugin does not fully uninstall, leaving 12 options in the database
- bft_hooked_up
- db_upgraded
- bft_date
- bft_lock_tables
- widget_recent-posts
- bft_webhooks
- widget_theysaidso_widget
- theysaidso_admin_options
- bft_last_start
- bft_current_status
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bft_list
- > Notice in wp-content/plugins/bft-autoresponder/controllers/list.php+79
Undefined index: ob
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bft_newsletter
- > Notice in wp-content/plugins/bft-autoresponder/views/newsletter.html.php+23
Undefined variable: nl
- > GET request to /wp-admin/admin.php?page=bft_newsletter
- > Notice in wp-content/plugins/bft-autoresponder/views/newsletter.html.php+18
Trying to get property 'subject' of non-object
- > GET request to /wp-admin/admin.php?page=bft_newsletter
- > Notice in wp-content/plugins/bft-autoresponder/views/newsletter.html.php+23
Trying to get property 'message' of non-object
- > GET request to /wp-admin/admin.php?page=bft_integrate_contact
- > Notice in wp-content/plugins/bft-autoresponder/views/integration-contact-form.html.php+16
Undefined index: classes
- > GET request to /wp-admin/admin.php?page=bft_integrate_contact
- > Notice in wp-content/plugins/bft-autoresponder/views/integration-contact-form.html.php+21
Undefined index: html_id
- > GET request to /wp-admin/admin.php?page=bft_messages_config
- > Notice in wp-content/plugins/bft-autoresponder/controllers/config.php+5
Undefined index: msg
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bft-autoresponder/cron-start.php
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: newsletter in wp-content/plugins/bft-autoresponder/views/view-archived-newsletter.html.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/bft-autoresponder/views/signup-form.html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/bft-autoresponder/views/view-archived-newsletter.html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/help.html.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function bft_resp_table_css() in wp-content/plugins/bft-autoresponder/views/raw-email-log.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/integration-wpforms.html.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/list-user.html.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/integration-ninja-form.html.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/message-config.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bft-autoresponder/views/unsubscribe.html.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: autoresponder, auto responder, wpmu, mailing list, contact form...
bft-autoresponder/bft-autoresponder.php 85% from 13 tests
"Arigato Autoresponder and Newsletter" version 2.7.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
- 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 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected4,368 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 756 | 335 | 3,311 |
CSS | 3 | 150 | 124 | 1,057 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 22.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 6.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 27 | 84.38% |
▷ Public methods | 31 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.12% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 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
No PNG images were found in this plugin