Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.96ms] Passed 4 tests
Analyzing server-side resources used by CF7 Reply Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.60 ▼31.04 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.21 ▼44.33 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.35 ▼40.31 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.87 ▼96.15 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.82 ▼29.36 |
Settings /wp-admin/admin.php?page=cf7_reply_manager-settings | 2.05 | 5.63 |
CF7 Reply Manager /wp-admin/admin.php?page=cf7_reply_manager | 2.05 | 7.20 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/cf7-reply-manager/" and "wp-content/uploads/"
- (new file) wp-content/cf7-rm-uploads/.empty
Filesystem: 17 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_cf7rm_vdata_entry |
wp_cf7rm_replies |
wp_cf7rm_vdata |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CF7 Reply Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲47 | 14.42 ▲0.07 | 2.04 ▲0.29 | 35.98 ▼5.87 |
Dashboard /wp-admin | 2,231 ▲51 | 5.62 ▲0.00 | 81.62 ▼2.11 | 39.92 ▲0.13 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.02 ▲0.00 | 35.00 ▼0.36 | 34.05 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,558 ▲19 | 23.20 ▲0.15 | 673.14 ▼20.05 | 61.22 ▲4.71 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 4.22 ▼0.01 | 96.42 ▼3.74 | 45.95 ▲3.87 |
Settings /wp-admin/admin.php?page=cf7_reply_manager-settings | 1,993 | 7.99 | 156.98 | 59.51 |
CF7 Reply Manager /wp-admin/admin.php?page=cf7_reply_manager | 1,077 | 2.66 | 54.54 | 38.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the cf7_rm_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the cf7_rm_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the cf7_rm_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the cf7_rm_script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the cf7_rm_script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/form-list.php+10
Undefined index: formId
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/form-list.php+10
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/form-list.php+10
Trying to get property 'ID' of non-object
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+80
Undefined property: stdClass::$email_field
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+84
Undefined property: stdClass::$from_name
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+86
Undefined property: stdClass::$from_mail
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+88
Undefined property: stdClass::$reply_to
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+90
Undefined property: stdClass::$cc
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+92
Undefined property: stdClass::$bcc
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+97
Undefined property: stdClass::$approval_subject
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+99
Undefined property: stdClass::$approval_message
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+146
Undefined variable: file_info
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+146
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+127
Undefined property: stdClass::$rejection_subject
- > GET request to /wp-admin/admin.php?page=cf7_reply_manager-settings
- > Notice in wp-content/plugins/cf7-reply-manager/admin/partials/replies.php+129
Undefined property: stdClass::$rejection_message
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-reply-manager/admin/class-cf7-reply-manager-admin.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please a description for screenshot #3 in cf7-reply-manager/assets to your readme.txt
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== cf7-reply-manager ===
)
cf7-reply-manager/contact-form-7-reply-manager.php 77% from 13 tests
The entry point to "CF7 Reply Manager" version 1.2.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("cf7-reply-manager.php" instead of "contact-form-7-reply-manager.php")
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,029 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 128 | 180 | 564 |
CSS | 2 | 59 | 14 | 283 |
JavaScript | 2 | 29 | 34 | 182 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 2 | 28.57% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 21 | |
▷ Named functions | 18 | 85.71% |
▷ Anonymous functions | 3 | 14.29% |
Constants | 4 | |
▷ Global constants | 4 | 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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/DataTables-1.10.18/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/css/DataTables-1.10.18/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/css/DataTables-1.10.18/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
admin/css/DataTables-1.10.18/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/css/DataTables-1.10.18/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |