Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.27ms] Passed 4 tests
Server-side resources used by Quform Zapier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.58 ▼10.70 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.78 ▲1.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.64 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.26 ▼13.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.30 ▲3.34 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
quform_zapier_activated |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Quform Zapier: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.77 ▲0.18 | 1.85 ▼0.20 | 43.00 ▲2.52 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.08 | 101.55 ▼3.35 | 45.53 ▲0.94 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.01 | 39.03 ▲3.98 | 36.65 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.20 ▲5.14 | 675.59 ▼66.86 | 54.98 ▲0.43 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.02 | 112.91 ▲11.96 | 48.39 ▲3.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- quform_zapier_activated
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Quform_Zapier_Admin_Page' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Admin/Page/Integrations/List.php:7
- > PHP Fatal error
Uncaught Error: Class 'Quform_Zapier_Admin_Page' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Admin/Page/Settings.php:7
- > PHP Fatal error
Uncaught Error: Class 'Quform_Admin_Page' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Admin/Page.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Integration/List/Table.php:7
- > PHP Fatal error
Uncaught Error: Class 'Quform_Zapier_Admin_Page' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Admin/Page/Integrations/Edit.php:7
- > PHP Fatal error
Uncaught Error: Class 'Quform_Zapier_Admin_Page' not found in wp-content/plugins/quform-zapier/library/Quform/Zapier/Admin/Page/Integrations/Add.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: quform, form builder, zapier, forms
quform-zapier/quform-zapier.php Passed 13 tests
This is the main PHP file of "Quform Zapier" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Easily integrate Zapier with Quform forms.
Code Analysis Passed 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
No dangerous file extensions were detected3,831 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 615 | 973 | 2,542 |
JavaScript | 6 | 268 | 278 | 979 |
CSS | 2 | 1 | 8 | 310 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 1 | 4.35% |
▷ Concrete classes | 22 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 153 | |
▷ Static methods | 9 | 5.88% |
▷ Public methods | 97 | 63.40% |
▷ Protected methods | 56 | 36.60% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/zapier-logo@2x.png | 0.82KB | 0.68KB | ▼ 17.06% |
admin/images/zapier-logo.png | 0.49KB | 0.42KB | ▼ 13.86% |