Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.28ms] Passed 4 tests
Server-side resources used by PowerFormBuilder - Contact Form Database Manager for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.05 ▼3.12 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.65 ▲2.80 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.68 ▲1.53 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 107.65 ▲4.92 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.72 ▼2.32 |
GDPR Delete Requests /wp-admin/admin.php?page=power-form-gdpr-delete | 3.29 | 32.36 |
Settings /wp-admin/edit.php?post_type=powerform&page=power-form-settings | 3.40 | 47.20 |
All Forms /wp-admin/edit.php?post_type=powerform | 3.42 | 40.66 |
Add New /wp-admin/post-new.php?post_type=powerform | 3.71 | 65.75 |
Entries /wp-admin/edit.php?post_type=powerform&page=power-form-entries | 3.30 | 33.37 |
Requests /wp-admin/admin.php?page=power-form-gdpr-requests | 3.29 | 34.67 |
Server storage [IO: ▲3.87MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 229 new files
Database: 4 new tables, 18 new options
New tables |
---|
wp_wpf_entries |
wp_wpf_gdpr_requested_data |
wp_wpf_entry_meta |
wp_wpf_gdpr_delete_data |
New WordPress options |
---|
widget_recent-posts |
opt-form-secret-key |
opt-form-sucess-message |
opt-form-gdpr-form-checkbox-text |
power_form_builtin_template |
opt-form-gdpr-checkbox-text |
opt-form-error-message |
opt-form-site-key |
opt-form-submit |
opt-form-page-id |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for PowerFormBuilder - Contact Form Database Manager for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲236 | 14.14 ▼0.24 | 13.23 ▲11.22 | 43.28 ▼8.52 |
Dashboard /wp-admin | 2,253 ▲65 | 4.89 ▼1.02 | 108.56 ▲1.37 | 50.88 ▲8.80 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.01 ▲0.02 | 39.99 ▲0.58 | 36.92 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 23.62 ▲0.41 | 645.05 ▼28.88 | 56.29 ▲0.63 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.31 ▲0.14 | 99.53 ▲0.31 | 43.11 ▼0.16 |
GDPR Delete Requests /wp-admin/admin.php?page=power-form-gdpr-delete | 1,036 | 2.03 | 24.43 | 27.84 |
Settings /wp-admin/edit.php?post_type=powerform&page=power-form-settings | 1,989 | 6.24 | 151.30 | 108.51 |
All Forms /wp-admin/edit.php?post_type=powerform | 1,698 | 2.64 | 37.61 | 28.48 |
Add New /wp-admin/post-new.php?post_type=powerform | 3,020 | 6.71 | 181.90 | 73.57 |
Entries /wp-admin/edit.php?post_type=powerform&page=power-form-entries | 1,142 | 2.26 | 34.16 | 38.45 |
Requests /wp-admin/admin.php?page=power-form-gdpr-requests | 1,032 | 2.06 | 25.22 | 30.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/power-forms-builder/admin/partials/power-forms-admin-display.php
- > /wp-content/plugins/power-forms-builder/public/includes/user-email-template.php
- > /wp-content/plugins/power-forms-builder/public/includes/admin-email-template.php
- > /wp-content/plugins/power-forms-builder/public/partials/power-forms-public-display.php
- > /wp-content/plugins/power-forms-builder/public/includes/power-forms-gdpr-request-data-view.php
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/power-forms-builder/admin/partials/power-forms-details-modal.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/power-forms-builder/admin/partials/power-forms-admin-entry-detail.php:32
- > PHP Notice
Undefined variable: array in wp-content/plugins/power-forms-builder/public/includes/user-email-template.php on line 81
- > 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/power-forms-builder/admin/includes/class-power-forms-entries.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/power-forms-builder/admin/includes/class-power-forms-admin-post-type.php:34
- > PHP Notice
Undefined variable: emailResults in wp-content/plugins/power-forms-builder/public/includes/power-forms-gdpr-request-data-view.php on line 41
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/power-forms-builder/admin/includes/class-power-forms-gdpr-requests.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/power-forms-builder/admin/partials/power-forms-admin-display-post-type.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/power-forms-builder/admin/partials/power-forms-admin-display-form-stop.php:24
- > PHP Notice
Undefined variable: res in wp-content/plugins/power-forms-builder/public/includes/admin-email-template.php on line 81
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #10, #11 in power-forms-builder/assets to your readme.txt
power-forms-builder/power-forms.php 77% from 13 tests
Analyzing the main PHP file in "PowerFormBuilder - Contact Form Database Manager for WordPress" version 1.0.6
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("power-forms-builder.php" instead of "power-forms.php")
- Description: The description should be shorter than 140 characters (currently 298 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected23,408 lines of code in 208 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 21 | 1,331 | 273 | 13,199 |
PHP | 41 | 706 | 2,296 | 4,507 |
JavaScript | 142 | 320 | 683 | 3,762 |
PO File | 4 | 560 | 548 | 1,940 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 28.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 167.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 14 | 9.72% |
▷ Public methods | 136 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.56% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 6.85KB | 4.19KB | ▼ 38.78% |