Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.67MB] [CPU: ▲24.16ms] Passed 4 tests
An overview of server-side resources used by Ninja Forms Contact Form - The Drag and Drop Form Builder for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.13 ▲1.67 | 63.63 ▲23.62 |
Dashboard /wp-admin | 4.97 ▲1.67 | 78.86 ▲32.50 |
Posts /wp-admin/edit.php | 5.02 ▲1.67 | 69.20 ▲20.63 |
Add New Post /wp-admin/post-new.php | 7.71 ▲1.82 | 114.49 ▲20.86 |
Media Library /wp-admin/upload.php | 4.92 ▲1.69 | 65.10 ▲31.51 |
Dashboard /wp-admin/admin.php?page=ninja-forms | 5.38 | 65.67 |
Import / Export /wp-admin/admin.php?page=nf-import-export | 4.95 | 56.59 |
Settings /wp-admin/admin.php?page=nf-settings | 5.00 | 61.22 |
Get Help /wp-admin/admin.php?page=nf-system-status | 4.88 | 57.73 |
Processing /wp-admin/options.php?page=nf-processing | 4.80 | 54.73 |
Submissions /wp-admin/admin.php?page=nf-submissions | 4.92 | 64.91 |
Server storage [IO: ▲17.54MB] [DB: ▲0.12MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 674 new files
Database: 11 new tables, 14 new options
New tables |
---|
wp_nf3_chunks |
wp_nf3_action_meta |
wp_nf3_object_meta |
wp_nf3_objects |
wp_nf3_upgrades |
wp_nf3_form_meta |
wp_nf3_field_meta |
wp_nf3_fields |
wp_nf3_relationships |
wp_nf3_actions |
... |
New WordPress options |
---|
nf_admin_notice |
ninja-forms-views-secret |
widget_ninja_forms_widget |
widget_recent-posts |
ninja_forms_required_updates |
widget_theysaidso_widget |
ninja_forms_settings |
db_upgraded |
widget_recent-comments |
ninja_forms_needs_updates |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ninja Forms Contact Form - The Drag and Drop Form Builder for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲47 | 14.16 ▼0.24 | 1.73 ▼0.58 | 43.63 ▼1.73 |
Dashboard /wp-admin | 2,239 ▲59 | 5.59 ▼0.01 | 95.27 ▼3.70 | 42.67 ▼2.64 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.97 ▼0.04 | 38.81 ▲2.29 | 33.69 ▲0.01 |
Add New Post /wp-admin/post-new.php | 6,458 ▲4,932 | 27.40 ▲4.43 | 866.60 ▲194.80 | 38.01 ▼12.60 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.19 ▲0.05 | 96.33 ▼0.69 | 42.10 ▼1.39 |
Dashboard /wp-admin/admin.php?page=ninja-forms | 1,403 | 7.29 | 260.16 | 82.25 |
Add New /wp-admin/admin.php?page=ninja-forms#new-form | 1,671 | 7.77 | 122.87 | 68.30 |
Import / Export /wp-admin/admin.php?page=nf-import-export | 1,131 | 2.11 | 37.51 | 37.29 |
Settings /wp-admin/admin.php?page=nf-settings | 1,492 | 2.42 | 37.62 | 46.99 |
Get Help /wp-admin/admin.php?page=nf-system-status | 1,219 | 2.03 | 23.60 | 36.47 |
Processing /wp-admin/options.php?page=nf-processing | 847 | 2.15 | 37.96 | 36.29 |
Submissions /wp-admin/admin.php?page=nf-submissions | 940 | 9.74 | 171.78 | 31.04 |
Add-Ons /wp-admin/admin.php?page=ninja-forms#apps | 2,531 | 7.20 | 112.91 | 102.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.12MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 11 tables
- wp_nf3_field_meta
- wp_nf3_action_meta
- wp_nf3_chunks
- wp_nf3_forms
- wp_nf3_objects
- wp_nf3_upgrades
- wp_nf3_fields
- wp_nf3_object_meta
- wp_nf3_form_meta
- wp_nf3_relationships
- ...
- The uninstall procedure has failed, leaving 14 options in the database
- ninja_forms_required_updates
- nf_admin_notice
- ninja_forms_oauth_client_secret
- ninja_forms_version
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_ninja_forms_widget
- ninja-forms-views-secret
- theysaidso_admin_options
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options.php?page=nf-processing
- > Notice in wp-content/plugins/ninja-forms/lib/StepProcessing/menu.php+72
Undefined index: title
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ninja-forms/includes/Templates/admin-metabox-append-a-form.html.php
- > /wp-content/plugins/ninja-forms/includes/Templates/admin-metaboxes-calcs.html.php
- 68× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ninja-forms/includes/Templates/admin-menu-system-status.html.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/ninja-forms/includes/Templates/admin-metaboxes-calcs.html.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ninja-forms/includes/Templates/admin-notice.html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ninja-forms/includes/Templates/admin-notice-form-import.html.php:3
- > PHP Fatal error
Uncaught Error: Class 'NinjaForms\\Includes\\Entities\\SimpleEntity' not found in wp-content/plugins/ninja-forms/includes/Entities/SubmissionExtraHandlerResponse.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ninja-forms/includes/Templates/ui-nf-drawer-buttons.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ninja-forms/includes/Templates/display-noscript-message.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ninja-forms/includes/Templates/ui-nf-menu-drawer.html.php:3
- > PHP Notice
Undefined variable: edit_url in wp-content/plugins/ninja-forms/includes/Templates/admin-menu-all-forms-column-title.html.php on line 2
- > PHP Fatal error
Uncaught Error: Interface 'NF_Exports_Interfaces_SubmissionCsvExportInterface' not found in wp-content/plugins/ninja-forms/includes/Exports/SubmissionCsvExport.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/options.php?page=nf-processing
- > Network (severe)
wp-content/plugins/ninja-forms/lib/Legacy/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (50 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #3 (Emails and Actions) image required
ninja-forms/ninja-forms.php Passed 13 tests
The main PHP script in "Ninja Forms Contact Form - The Drag and Drop Form Builder for WordPress" version 3.7.0 is automatically included on every request by WordPress
76 characters long description:
Ninja Forms is a webform builder with unparalleled ease of use and features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin126,694 lines of code in 546 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 28 | 35,960 | 62,901 | 84,718 |
PHP | 353 | 8,586 | 13,630 | 31,286 |
JavaScript | 75 | 1,228 | 2,153 | 7,565 |
CSS | 27 | 256 | 4,767 | 1,675 |
HTML | 57 | 73 | 1 | 694 |
SVG | 1 | 0 | 0 | 655 |
Markdown | 2 | 49 | 0 | 83 |
JSON | 3 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 242 | |
▷ Abstract classes | 27 | 11.16% |
▷ Concrete classes | 215 | 88.84% |
▷ Final classes | 55 | 25.58% |
Methods | 1,748 | |
▷ Static methods | 131 | 7.49% |
▷ Public methods | 1,379 | 78.89% |
▷ Protected methods | 236 | 13.50% |
▷ Private methods | 133 | 7.61% |
Functions | 57 | |
▷ Named functions | 28 | 49.12% |
▷ Anonymous functions | 29 | 50.88% |
Constants | 33 | |
▷ Global constants | 3 | 9.09% |
▷ Class constants | 30 | 90.91% |
▷ Public constants | 30 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
57 PNG files occupy 0.76MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/add-ons/zapier.png | 11.36KB | 4.45KB | ▼ 60.87% |
assets/img/promotions/dashboard-user-management.png | 17.03KB | 4.97KB | ▼ 70.80% |
assets/img/add-ons/cleverreach.png | 20.38KB | 8.02KB | ▼ 60.65% |
assets/img/add-ons/vimeo-uploader.png | 20.58KB | 7.98KB | ▼ 61.22% |
assets/img/add-ons/convertkit.png | 11.89KB | 5.15KB | ▼ 56.65% |