Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.86MB] [CPU: ▲2.85ms] Passed 4 tests
A check of server-side resources used by Drag & Drop Builder, Human Face Detector, Pre-built Templates, Spam Protection, User Email Notifications & more!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 44.34 ▲5.18 |
Dashboard /wp-admin | 4.19 ▲0.88 | 56.40 ▲7.93 |
Posts /wp-admin/edit.php | 4.24 ▲0.88 | 64.54 ▲17.59 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 89.47 ▼6.02 |
Media Library /wp-admin/upload.php | 4.09 ▲0.86 | 39.18 ▲4.31 |
Smart Auto Translation /wp-admin/admin.php?page=pf-smarttranslation | 4.14 | 42.74 |
/wp-admin/admin.php?page=pie-forms | 4.24 | 44.88 |
Global Settings /wp-admin/admin.php?page=pf-settings | 4.69 | 48.96 |
Block User /wp-admin/admin.php?page=pf-blockuser | 4.12 | 41.58 |
About Us /wp-admin/admin.php?page=pf-aboutus | 4.12 | 45.20 |
Marketing /wp-admin/admin.php?page=pf-marketing | 4.13 | 43.01 |
Drip Campaign /wp-admin/admin.php?page=pf-drip-campaign | 4.11 | 40.34 |
Welcome to pieform /wp-admin/index.php?page=pieforms-getting-started | 4.08 | 41.81 |
Tools /wp-admin/admin.php?page=pf-tools | 4.18 | 55.82 |
Broadcast Email /wp-admin/admin.php?page=pf-broadcast-email | 4.12 | 41.29 |
Server storage [IO: ▲5.68MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 363 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_pf_entrymeta |
wp_pf_forms |
wp_pf_fields |
wp_pf_entries |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
pie_forms_version |
widget_theysaidso_widget |
pie_forms_db_version |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Drag & Drop Builder, Human Face Detector, Pre-built Templates, Spam Protection, User Email Notifications & more!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,123 ▲362 | 14.75 ▲0.03 | 1.98 ▲0.03 | 34.46 ▼8.80 |
Dashboard /wp-admin | 2,497 ▲320 | 6.50 ▲0.90 | 112.53 ▲17.52 | 42.41 ▼1.73 |
Posts /wp-admin/edit.php | 2,434 ▲334 | 3.74 ▲1.71 | 57.38 ▲15.67 | 37.39 ▼2.45 |
Add New Post /wp-admin/post-new.php | 6,296 ▲4,770 | 19.04 ▼3.88 | 880.64 ▲281.71 | 38.85 ▼15.44 |
Media Library /wp-admin/upload.php | 1,568 ▲168 | 4.50 ▲0.31 | 91.51 ▼4.96 | 44.90 ▲3.53 |
Smart Auto Translation /wp-admin/admin.php?page=pf-smarttranslation | 1,355 | 3.52 | 54.57 | 87.36 |
/wp-admin/admin.php?page=pie-forms | 1,596 | 3.62 | 53.51 | 85.29 |
Global Settings /wp-admin/admin.php?page=pf-settings | 1,401 | 3.63 | 51.16 | 82.81 |
Block User /wp-admin/admin.php?page=pf-blockuser | 1,366 | 3.39 | 51.42 | 80.88 |
About Us /wp-admin/admin.php?page=pf-aboutus | 1,396 | 3.47 | 51.78 | 100.76 |
Marketing /wp-admin/admin.php?page=pf-marketing | 1,356 | 3.42 | 50.55 | 86.68 |
Drip Campaign /wp-admin/admin.php?page=pf-drip-campaign | 1,339 | 3.40 | 47.66 | 73.72 |
Welcome to pieform /wp-admin/index.php?page=pieforms-getting-started | 1,819 | 10.34 | 292.19 | 122.00 |
Tools /wp-admin/admin.php?page=pf-tools | 1,412 | 3.41 | 49.12 | 73.77 |
Broadcast Email /wp-admin/admin.php?page=pf-broadcast-email | 1,356 | 3.41 | 49.05 | 77.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 4 tables in the database
- wp_pf_entries
- wp_pf_forms
- wp_pf_entrymeta
- wp_pf_fields
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- pie_forms_version
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- pie_forms_db_version
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pie-forms-for-wp/includes/templates/settings.php
- > /wp-content/plugins/pie-forms-for-wp/includes/templates/marketing.php
- > /wp-content/plugins/pie-forms-for-wp/includes/templates/smarttranslation.php
- > /wp-content/plugins/pie-forms-for-wp/includes/templates/blockuser.php
- > /wp-content/plugins/pie-forms-for-wp/includes/templates/tools.php
- 29× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/pie-forms-for-wp/includes/templates/recommended-docx.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/pie-forms-for-wp/includes/integration/elementor/widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pie-forms-for-wp/pie-forms-for-wp.php:19
- > PHP Fatal error
Uncaught Error: Class 'PFORM_Abstracts_Blockuser' not found in wp-content/plugins/pie-forms-for-wp/includes/blockuser/emailaddress.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader-skin.php): failed to open stream: No such file or directory in wp-content/plugins/pie-forms-for-wp/includes/core/helper/plugin-silent-upgrader-skin.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'PFORM_Admin_Importers_Interface' not found in wp-content/plugins/pie-forms-for-wp/includes/abstracts/importer.php:6
- > PHP Warning
The use statement with non-compound name 'WP_Error' has no effect in wp-content/plugins/pie-forms-for-wp/includes/core/helper/plugin-silent-upgrader.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WPBakeryShortCode' not found in wp-content/plugins/pie-forms-for-wp/includes/integration/wpbakery/register.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/pie-forms-for-wp/includes/templates/entries-search.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/pie-forms-for-wp/includes/templates/search.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=pf-marketing
- > Network (severe)
wp-content/plugins/pie-forms-for-wp/assets/js/marketing.js?ver=1.4.17 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: form builder, contact form, custom form, email form, contact form plugin
pie-forms-for-wp/pie-forms-for-wp.php 85% from 13 tests
The primary PHP file in "Drag & Drop Builder, Human Face Detector, Pre-built Templates, Spam Protection, User Email Notifications & more!" version 1.4.17 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin38,978 lines of code in 213 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 145 | 4,028 | 4,294 | 17,073 |
SVG | 8 | 0 | 0 | 9,564 |
JavaScript | 25 | 877 | 385 | 5,632 |
CSS | 31 | 406 | 148 | 4,618 |
JSON | 4 | 2 | 0 | 2,091 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 286.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 11 | 9.48% |
▷ Concrete classes | 105 | 90.52% |
▷ Final classes | 17 | 16.19% |
Methods | 725 | |
▷ Static methods | 73 | 10.07% |
▷ Public methods | 679 | 93.66% |
▷ Protected methods | 31 | 4.28% |
▷ Private methods | 15 | 2.07% |
Functions | 15 | |
▷ Named functions | 2 | 13.33% |
▷ Anonymous functions | 13 | 86.67% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
113 PNG files occupy 0.74MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tools/environment-icon.png | 1.00KB | 0.99KB | ▼ 0.59% |
assets/images/recommended/schedule-form.png | 1.81KB | 0.84KB | ▼ 53.40% |
assets/images/pieforms-notice-logo.png | 0.96KB | 0.41KB | ▼ 57.00% |
assets/images/notices/plus.png | 0.17KB | 0.16KB | ▼ 9.50% |
assets/images/settings/captcha_icon_setting.png | 0.53KB | 0.64KB | 0.00% |