Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.99MB] [CPU: ▲20.34ms] Passed 4 tests
A check of server-side resources used by Forms to Zapier, Integromat, IFTTT, Workato, Automate.io, elastic.io, Built.io, APIANT, Webhook
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.85 ▲5.39 | 69.57 ▲31.19 |
Dashboard /wp-admin | 8.87 ▲5.57 | 67.84 ▲12.91 |
Posts /wp-admin/edit.php | 8.87 ▲5.52 | 76.53 ▲31.42 |
Add New Post /wp-admin/post-new.php | 9.35 ▲3.47 | 104.19 ▲5.85 |
Media Library /wp-admin/upload.php | 8.87 ▲5.65 | 67.97 ▲33.78 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.87 | 56.69 |
Server storage [IO: ▲3.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 210 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_forms_to_zapier |
New WordPress options |
---|
widget_recent-comments |
fs_active_plugins |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
fs_debug_mode |
fs_accounts |
can_compress_scripts |
Browser metrics Passed 4 tests
Forms to Zapier, Integromat, IFTTT, Workato, Automate.io, elastic.io, Built.io, APIANT, Webhook: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 14.46 ▼0.20 | 1.76 ▼0.11 | 30.16 ▼17.95 |
Dashboard /wp-admin | 2,237 ▲49 | 5.83 ▲0.92 | 98.68 ▼12.71 | 40.44 ▼4.83 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.04 ▲0.04 | 39.45 ▲4.27 | 33.42 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,532 ▲15 | 22.52 ▲4.87 | 692.46 ▲37.28 | 55.80 ▼7.91 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.31 ▲0.08 | 94.47 ▼0.32 | 48.83 ▲7.14 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,084 | 1.69 | 28.02 | 27.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/forms-to-zapier/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 1 table
- wp_forms_to_zapier
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- fs_accounts
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- fs_debug_mode
- theysaidso_admin_options
- fs_active_plugins
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-to-zapier/includes/functions-cf7.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/forms-to-zapier/views/new_relation.php:14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/forms-to-zapier/includes/class-ftoz-list-table.php on line 2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/forms-to-zapier/views/edit_relation.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/forms-to-zapier/views/edit_relation.php:5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/forms-to-zapier/includes/class-ftoz-list-table.php on line 2
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/forms-to-zapier/includes/class-ftoz-list-table.php on line 2
- > PHP Fatal error
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 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 your attention:
- Screenshots: Screenshot #1 (screenshot-1.png) image missing
forms-to-zapier/forms-to-zapier.php 85% from 13 tests
"Forms to Zapier, Integromat, IFTTT, Workato, Automate.io, elastic.io, Built.io, APIANT, Webhook" version 1.1.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin34,047 lines of code in 144 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 8,173 | 17,426 | 33,749 |
JavaScript | 5 | 48 | 65 | 279 |
CSS | 14 | 1 | 0 | 19 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 87.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,301 | |
▷ Static methods | 198 | 15.22% |
▷ Public methods | 911 | 70.02% |
▷ Protected methods | 17 | 1.31% |
▷ Private methods | 373 | 28.67% |
Functions | 107 | |
▷ Named functions | 107 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 100.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
3 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
schreenshot-1.png | 59.68KB | 14.20KB | ▼ 76.20% |