Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.46MB] [CPU: ▲6.51ms] Passed 4 tests
Server-side resources used by FormLift for Infusionsoft Web Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.94 ▲1.48 | 50.05 ▲6.88 |
Dashboard /wp-admin | 4.76 ▲1.45 | 55.90 ▲6.10 |
Posts /wp-admin/edit.php | 4.87 ▲1.51 | 55.99 ▲6.25 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 105.67 ▲6.80 |
Media Library /wp-admin/upload.php | 4.68 ▲1.45 | 51.90 ▲19.22 |
Campaigns /wp-admin/edit-tags.php?taxonomy=campaigns&post_type=infusion_form | 4.67 | 43.74 |
Licenses /wp-admin/edit.php?post_type=infusion_form&page=formlift_modules | 4.65 | 46.33 |
All Forms /wp-admin/edit.php?post_type=infusion_form | 4.73 | 49.50 |
Settings /wp-admin/edit.php?post_type=infusion_form&page=formlift_settings_page | 6.65 | 50.68 |
Add Form /wp-admin/post-new.php?post_type=infusion_form | 5.09 | 67.77 |
Server storage [IO: ▲0.71MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 76 new files
Database: 3 new tables, 13 new options
New tables |
---|
wp_formlift_submissions |
wp_formlift_impressions |
wp_formlift_sessions |
New WordPress options |
---|
can_compress_scripts |
formlift_impressions_db_version |
formlift_form_settings |
widget_recent-posts |
formlift_db_version |
formlift_sessions_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
formlift_style_settings |
formlift_notices |
... |
Browser metrics Passed 4 tests
Checking browser requirements for FormLift for Infusionsoft Web Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲265 | 13.74 ▼0.64 | 10.27 ▲7.81 | 38.68 ▼2.76 |
Dashboard /wp-admin | 2,235 ▲53 | 4.93 ▼0.93 | 94.57 ▼9.07 | 71.82 ▲26.91 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.02 ▼0.02 | 33.86 ▼2.95 | 36.21 ▲4.83 |
Add New Post /wp-admin/post-new.php | 1,702 ▲183 | 22.19 ▼0.92 | 734.79 ▲63.15 | 51.99 ▼8.81 |
Media Library /wp-admin/upload.php | 1,432 ▲41 | 4.12 ▼0.08 | 110.46 ▲10.86 | 46.52 ▲2.06 |
Campaigns /wp-admin/edit-tags.php?taxonomy=campaigns&post_type=infusion_form | 1,303 | 2.14 | 24.68 | 30.37 |
Licenses /wp-admin/edit.php?post_type=infusion_form&page=formlift_modules | 850 | 1.80 | 30.21 | 27.57 |
All Forms /wp-admin/edit.php?post_type=infusion_form | 1,195 | 2.19 | 34.71 | 33.52 |
Settings /wp-admin/edit.php?post_type=infusion_form&page=formlift_settings_page | 5,828 | 3.88 | 181.40 | 29.77 |
Add Form /wp-admin/post-new.php?post_type=infusion_form | 2,363 | 4.56 | 83.88 | 87.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_formlift_submissions
- wp_formlift_sessions
- wp_formlift_impressions
- Zombie WordPress options were found after uninstall: 13 options
- formlift_db_version
- formlift_form_settings
- formlift_notices
- widget_recent-comments
- widget_recent-posts
- formlift_style_settings
- theysaidso_admin_options
- formlift_submissions_db_version
- db_upgraded
- formlift_impressions_db_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formlift/modules/premium-modules/updater/example.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formlift/modules/tracking/tracking.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/formlift/templates/formlift-single.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formlift/modules/personalization/sessions.php:95
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=infusion_form
- > Javascript (severe) in unknown
/wp-content/plugins/formlift/modules/settings-page/assets/js/wp-color-picker-alpha.min.js?ver=7.5.14 10:503 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: forms, formlift, official, infusionsoft, web form...
formlift/FormLift.php 85% from 13 tests
The primary PHP file in "FormLift for Infusionsoft Web Forms" version 7.5.17 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 153 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("formlift.php" instead of "FormLift.php")
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
There were no executable files found in this plugin7,091 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,460 | 889 | 5,803 |
CSS | 8 | 179 | 58 | 881 |
JavaScript | 9 | 73 | 48 | 407 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 412 | |
▷ Static methods | 112 | 27.18% |
▷ Public methods | 383 | 92.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 29 | 7.04% |
Functions | 58 | |
▷ Named functions | 57 | 98.28% |
▷ Anonymous functions | 1 | 1.72% |
Constants | 43 | |
▷ Global constants | 38 | 88.37% |
▷ Class constants | 5 | 11.63% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.34MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/notices/assets/icon-30x30.png | 1.31KB | 1.46KB | 0.00% |
modules/form/assets/images/icon-30x30.png | 1.05KB | 1.16KB | 0.00% |
modules/settings-page/assets/images/formlift-icon-with-name-1046x1046.png | 52.79KB | 19.63KB | ▼ 62.81% |
modules/settings-page/assets/images/join-our-facebook-group.png | 25.48KB | 11.96KB | ▼ 53.08% |
modules/settings-page/assets/join-our-facebook-group.png | 25.48KB | 11.96KB | ▼ 53.08% |