Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wpcontactus/wpcontactus.php+111
Non-static method Conversations_Admin_Settings::create_default_pages() should not be called statically
Server metrics [RAM: ▼0.84MB] [CPU: ▼39.64ms] Passed 4 tests
This is a short check of server-side resources used by WPContactUs - Turn Form Submissions into Conversations
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.06 ▼0.40 | 19.59 ▼25.34 |
Dashboard /wp-admin | 3.20 ▼0.10 | 21.51 ▼33.01 |
Posts /wp-admin/edit.php | 3.20 ▼0.16 | 22.57 ▼30.30 |
Add New Post /wp-admin/post-new.php | 3.20 ▼2.69 | 25.49 ▼69.89 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 24.29 ▼13.35 |
Integration /wp-admin/admin.php?page=conversations-home | 3.20 | 20.39 |
Form Settings /wp-admin/admin.php?page=conversations-settings-of-a-form | 3.20 | 20.23 |
Settings /wp-admin/admin.php?page=conversations-settings | 3.20 | 22.73 |
Server storage [IO: ▲0.39MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 64 new files
Database: 3 new tables, 17 new options
New tables |
---|
wp_convxns_followups |
wp_convxns_forms |
wp_convxns_log |
New WordPress options |
---|
conversations_db_version |
conversations_end_users_view_page_slug |
conversations_responders_login_page_slug |
conversations_end_users_login_page_slug |
conversations_convxns_sort_method |
conversations_responders_view_page_slug |
convx_temp_password_responder_1 |
conversations_email_from |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WPContactUs - Turn Form Submissions into Conversations
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.18 ▼0.20 | 2.58 ▲0.89 | 40.00 ▼7.64 |
Dashboard /wp-admin | 2,226 ▲52 | 5.65 ▲0.08 | 89.59 ▼2.71 | 41.61 ▲0.33 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.98 ▼0.05 | 40.19 ▲3.11 | 36.68 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.75 ▼0.30 | 692.10 ▼45.76 | 54.29 ▲2.05 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.19 ▼0.01 | 98.39 ▼6.64 | 43.61 ▼0.33 |
Integration /wp-admin/admin.php?page=conversations-home | 1,065 | 2.00 | 24.23 | 35.46 |
Form Settings /wp-admin/admin.php?page=conversations-settings-of-a-form | 1,238 | 2.02 | 24.98 | 32.14 |
Settings /wp-admin/admin.php?page=conversations-settings | 1,015 | 2.03 | 24.53 | 39.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Conversations::block_conversation_users_from_dashboard() should not be called statically
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_convxns_log
- Zombie WordPress options detected upon uninstall: 7 options
- convx_temp_password_responder_1
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=conversations-settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Conversations::block_conversation_users_from_dashboard() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-home
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Conversations_Admin_Settings::conv_home_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-home
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings.php+306
Non-static method Conversations_Admin_Settings::create_responders_block() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings-of-a-form
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Conversations_Admin_Settings_Of_A_Form::conv_settings_of_a_form_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings-of-a-form
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings-of-a-form.php+404
Non-static method Conversations_Admin_Settings_Of_A_Form::get_first_form_category_name() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings-of-a-form
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings-of-a-form.php+408
Non-static method Conversations_Admin_Settings_Of_A_Form::get_saved_values() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings-of-a-form
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings-of-a-form.php+420
Non-static method Conversations_Admin_Settings_Of_A_Form::insert_values_in_html() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings-of-a-form
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings-of-a-form.php+422
Non-static method Conversations_Admin_Settings_Of_A_Form::get_saved_form_categories() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Conversations_Admin_Settings::conv_settings_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings.php+276
Non-static method Conversations_Admin_Settings::get_saved_values() should not be called statically
- > GET request to /wp-admin/admin.php?page=conversations-settings
- > Deprecated in wp-content/plugins/wpcontactus/admin/admin-settings.php+284
Non-static method Conversations_Admin_Settings::insert_values_in_html() should not be called statically
SRP 50% 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
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcontactus/classes/conversations-ajax-calls.php:358
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcontactus/classes/conversations-post-calls.php:67
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcontactus/classes/conversations-forms.php:471
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcontactus/classes/conversations-view.php:318
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcontactus/classes/conversations-login-view.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wpcontactus/wpcontactus.php 92% from 13 tests
This is the main PHP file of "WPContactUs - Turn Form Submissions into Conversations" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,473 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 690 | 954 | 2,167 |
HTML | 28 | 204 | 25 | 770 |
JavaScript | 4 | 69 | 75 | 278 |
CSS | 3 | 50 | 0 | 258 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.26 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 6.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 33 | 54.10% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/settings-help-general.png | 82.86KB | 27.64KB | ▼ 66.64% |
admin/images/settings-help-end-users.png | 64.49KB | 21.35KB | ▼ 66.89% |
admin/images/settings-help-responders.png | 65.77KB | 21.18KB | ▼ 67.80% |