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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼8.91ms] Passed 4 tests
Server-side resources used by Productive Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.79 ▼8.76 |
Dashboard /wp-admin | 3.54 ▲0.24 | 47.19 ▼2.84 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 49.64 ▲4.92 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 78.93 ▼19.91 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 34.38 ▼4.11 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 3.40 | 33.61 |
Productive Forms /wp-admin/admin.php?page=productive_forms_options_submenu | 3.43 | 29.79 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 3.43 | 32.01 |
Server storage [IO: ▲1.78MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 95 new files
Database: 1 new table, 17 new options
New tables |
---|
wp_productive_forms |
New WordPress options |
---|
widget_recent-posts |
productive_global_section_misc_options |
widget_productive_forms_widget_newsletter |
productive_global_section_grid_options |
productive_forms_current_db_version |
theysaidso_admin_options |
productive_forms_section_newsletter_options |
productive_forms_section_contact_options |
widget_recent-comments |
productive_global_section_slider_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Productive Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲81 | 14.29 ▼0.06 | 2.33 ▲0.55 | 39.67 ▼2.14 |
Dashboard /wp-admin | 2,222 ▲48 | 5.60 ▲0.00 | 93.49 ▼6.31 | 42.17 ▲0.62 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.98 ▼0.04 | 39.75 ▲2.07 | 36.68 ▲1.99 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.78 ▲0.36 | 627.30 ▼56.47 | 50.08 ▼9.92 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.19 ▼0.01 | 95.76 ▼10.43 | 41.77 ▼1.66 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 1,129 | 1.96 | 30.27 | 43.37 |
Productive Forms /wp-admin/admin.php?page=productive_forms_options_submenu | 1,129 | 1.99 | 26.68 | 43.11 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 1,420 | 1.93 | 27.83 | 37.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 13 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_productive_forms_widget_contact
- productive_global_section_misc_options
- productive_global_section_sharing_options
- theysaidso_admin_options
- widget_productive_forms_widget_newsletter
- productive_global_section_grid_options
- db_upgraded
- ...
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'PRODUCTIVE_FORMS_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php' (include_path='.:/usr/share/php') in wp-content/plugins/productive-forms/admin/standard/options/partials/section-integration.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-forms/admin/common/options/global/productiveminds-icons.php:463
- > PHP Warning
require_once(PRODUCTIVE_FORMS_PLUGIN_PATHincludes/common/db/db_install.php): failed to open stream: No such file or directory in wp-content/plugins/productive-forms/includes/standard/functions.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/productive-forms/libraries/recaptcha-master/src/ReCaptcha/RequestMethod/CurlPost.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/productive-forms/admin/common/options/functions-options.php:9
- > PHP Warning
require(PRODUCTIVE_FORMS_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php): failed to open stream: No such file or directory in wp-content/plugins/productive-forms/admin/standard/options/partials/section-integration.php on line 34
- > PHP Warning
Use of undefined constant PRODUCTIVE_FORMS_PLUGIN_PATH - assumed 'PRODUCTIVE_FORMS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/productive-forms/includes/standard/functions.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-forms/admin/common/options/global/productiveminds-social-share.php:137
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/productive-forms/admin/common/options/global/global-settings-admin.php:12
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/productive-forms/libraries/recaptcha-master/src/ReCaptcha/RequestMethod/Post.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
productive-forms/productive-forms.php 92% from 13 tests
The primary PHP file in "Productive Forms" version 1.1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin16,505 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 1,629 | 2,027 | 11,131 |
CSS | 5 | 41 | 108 | 4,842 |
JavaScript | 3 | 33 | 43 | 288 |
Markdown | 1 | 33 | 0 | 109 |
XML | 1 | 0 | 0 | 90 |
JSON | 1 | 0 | 0 | 39 |
YAML | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 1 | 1.47% |
▷ Public methods | 65 | 95.59% |
▷ Protected methods | 3 | 4.41% |
▷ Private methods | 0 | 0.00% |
Functions | 439 | |
▷ Named functions | 438 | 99.77% |
▷ Anonymous functions | 1 | 0.23% |
Constants | 108 | |
▷ Global constants | 96 | 88.89% |
▷ Class constants | 12 | 11.11% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/productivemedia/icons/close-jagged.png | 4.12KB | 2.46KB | ▼ 40.23% |
public/images/productivemedia/icons/check-jagged.png | 3.41KB | 1.91KB | ▼ 43.99% |
public/images/productivemedia/icons/check-circle.png | 5.45KB | 2.58KB | ▼ 52.71% |
public/images/productivemedia/icons/check.png | 3.05KB | 1.70KB | ▼ 44.22% |
public/images/productivemedia/icons/close.png | 3.46KB | 1.76KB | ▼ 49.15% |