Benchmarks
Plugin footprint 64% 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.43MB] [CPU: ▲1,550.80ms] 50% from 4 tests
An overview of server-side resources used by Follow Hook
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,526.44ms on /wp-admin/edit.php?post_type=people)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 1,550.80ms on /wp-admin/edit.php?post_type=people)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▲0.72 | 3,279.18 ▲3,258.89 |
Dashboard /wp-admin | 3.53 ▲0.48 | 1,910.25 ▲1,867.39 |
Posts /wp-admin/edit.php | 3.59 ▲0.48 | 3,133.68 ▲3,088.42 |
Add New Post /wp-admin/post-new.php | 5.66 ▲0.23 | 1,899.64 ▲1,248.56 |
Media Library /wp-admin/upload.php | 3.55 ▲0.55 | 30.85 ▼1.17 |
Add Pods to Forms /wp-admin/admin.php?page=pod_Follow_Hook_forms_admin_pg | 3.51 | 29.38 |
Tags /wp-admin/edit-tags.php?taxonomy=people_tags&post_type=people | 3.54 | 2,587.38 |
Today's Touchpoints /wp-admin/admin.php?page=Follow_Hook_daily_touchpoints | 3.52 | 4,125.28 |
Select GDPR for Forms /wp-admin/admin.php?page=forms_GDPR_admin_pg | 3.52 | 1,061.39 |
Custom Fields /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg | 3.52 | 1,631.75 |
Add New Touchpoint /wp-admin/post-new.php?post_type=touchpoints | 3.63 | 3,622.52 |
Add New /wp-admin/post-new.php?post_type=people | 3.64 | 4,940.97 |
Touchpoints /wp-admin/edit.php?post_type=touchpoints | 3.58 | 4,930.00 |
Groups /wp-admin/edit-tags.php?taxonomy=pods&post_type=people | 3.54 | 4,928.22 |
People /wp-admin/edit.php?post_type=people | 3.58 | 1,526.44 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 90 new files
Database: 4 new tables, 2 new options
New tables |
---|
wp_custom_fields |
wp_CF7_pods |
wp_campaign_touchpoints |
wp_cultivate_form_assoc |
New WordPress options |
---|
remove_from_Mailchimp |
cultivate_cron_time |
Browser metrics Passed 4 tests
Follow Hook: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,780 ▲184 | 16.08 ▲0.55 | 9.04 ▲0.78 | 46.83 ▼2.17 |
Dashboard /wp-admin | 3,056 ▲119 | 6.20 ▲0.25 | 134.16 ▼15.17 | 131.25 ▲22.46 |
Posts /wp-admin/edit.php | 2,850 ▲111 | 3.09 ▲0.39 | 64.35 ▼1.61 | 103.46 ▲17.55 |
Add New Post /wp-admin/post-new.php | 1,689 ▲189 | 21.66 ▲2.90 | 270.45 ▼103.34 | 91.58 ▼19.75 |
Media Library /wp-admin/upload.php | 1,841 ▲31 | 5.08 ▲0.02 | 125.88 ▼31.36 | 137.82 ▲19.47 |
Add Pods to Forms /wp-admin/admin.php?page=pod_Follow_Hook_forms_admin_pg | 1,165 | 2.38 | 56.40 | 94.73 |
Tags /wp-admin/edit-tags.php?taxonomy=people_tags&post_type=people | 2,023 | 3.03 | 58.00 | 113.92 |
Today's Touchpoints /wp-admin/admin.php?page=Follow_Hook_daily_touchpoints | 1,326 | 2.39 | 52.51 | 86.38 |
Select GDPR for Forms /wp-admin/admin.php?page=forms_GDPR_admin_pg | 1,174 | 2.37 | 52.93 | 84.60 |
Custom Fields /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg | 1,347 | 2.38 | 56.81 | 99.14 |
Add New Touchpoint /wp-admin/post-new.php?post_type=touchpoints | 2,917 | 3.75 | 87.67 | 77.96 |
Add New /wp-admin/post-new.php?post_type=people | 3,199 | 3.88 | 90.75 | 66.67 |
Touchpoints /wp-admin/edit.php?post_type=touchpoints | 1,726 | 2.92 | 62.82 | 112.03 |
Groups /wp-admin/edit-tags.php?taxonomy=pods&post_type=people | 2,073 | 3.02 | 61.45 | 112.08 |
People /wp-admin/edit.php?post_type=people | 1,817 | 2.92 | 64.36 | 114.02 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_campaign_touchpoints
- wp_custom_fields
- wp_cultivate_form_assoc
- wp_CF7_pods
- Zombie WordPress options detected upon uninstall: 2 options
- cultivate_cron_time
- remove_from_Mailchimp
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=people
- > Notice in wp-content/plugins/follow-hook/follow-hook.php+189
Undefined index: action
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=forms_GDPR_admin_pg
- > Notice in wp-content/plugins/follow-hook/CF7_GDPR_pg.php+39
Undefined index: f
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=people
- > Notice in wp-content/plugins/follow-hook/fh-functions.php+5
Undefined index: page
- > GET request to /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg
- > Notice in wp-content/plugins/follow-hook/custom_fields_pg.php+110
Undefined variable: lable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg
- > Notice in wp-content/plugins/follow-hook/custom_fields_pg.php+113
Undefined variable: name
- > GET request to /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg
- > Notice in wp-content/plugins/follow-hook/custom_fields_pg.php+114
Undefined variable: did
- > GET request to /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg
- > Notice in wp-content/plugins/follow-hook/custom_fields_pg.php+115
Undefined variable: class
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Follow_Hook_custom_fields_admin_pg
- > Notice in wp-content/plugins/follow-hook/custom_fields_pg.php+119
Undefined variable: type
- > GET request to /wp-admin/post-new.php?post_type=touchpoints
- > User deprecated in wp-includes/functions.php+5495
WP_Query was called with an argument that is deprecated since version 3.1.0! caller_get_posts is deprecated. Use ignore_sticky_posts instead.
- > GET request to /wp-admin/post-new.php?post_type=people
- > Notice in wp-content/plugins/follow-hook/follow-hook.php+547
Undefined variable: dob
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=people
- > Notice in wp-content/plugins/follow-hook/follow-hook.php+2319
Undefined variable: null
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
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/follow-hook/touchpoint_div_add_new.php
- > /wp-content/plugins/follow-hook/calendar/calendar_div_add_new.php
- > /wp-content/plugins/follow-hook/MC_list_members.php
- > /wp-content/plugins/follow-hook/Third_Party_Sync.php
- > /wp-content/plugins/follow-hook/add_update_option.php
- > /wp-content/plugins/follow-hook/js/admin_pg_JS.php
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined index: tab in wp-content/plugins/follow-hook/admin_pg.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/follow-hook/admin_pg.php:10
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/follow-hook/forms_admin_pg.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/follow-hook/calendar/admin-calendar-code.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/follow-hook/next_touchpoint.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/follow-hook/pods.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/follow-hook/follow-hook.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/follow-hook/add_GDPR_to_quick_edit.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/follow-hook/forms_admin_pg.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/follow-hook/admin-header.php:3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=people
- > Javascript (severe) in unknown
/wp-content/plugins/follow-hook/js/bulk_quick_edit.js?ver=5.8.1 1:17 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: contact form 7, convertkit, crm, project broadcast, mailchimp...
follow-hook/follow-hook.php Passed 13 tests
The primary PHP file in "Follow Hook" version 3.0.1 is used by WordPress to initiate all plugin functionality
66 characters long description:
A custom CRM plugin developed by Kyler Boudreau and Ian Lincicome.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin7,328 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 963 | 1,579 | 5,232 |
CSS | 11 | 172 | 126 | 1,726 |
JavaScript | 20 | 81 | 58 | 338 |
SVG | 10 | 2 | 0 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 115 | |
▷ Named functions | 114 | 99.13% |
▷ Anonymous functions | 1 | 0.87% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
calendar/info.png | 2.04KB | 1.65KB | ▼ 18.99% |
images/menu-icon.png | 7.18KB | 2.37KB | ▼ 66.95% |
images/fh-support.png | 4.81KB | 2.68KB | ▼ 44.21% |
images/admin-logo.png | 4.65KB | 3.18KB | ▼ 31.58% |
images/imgpsh_fullsize_blu.png | 2.95KB | 2.13KB | ▼ 27.76% |