Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▲0.66ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.57 | 45.25 ▲2.58 |
Dashboard /wp-admin | 3.88 ▲0.57 | 53.93 ▲1.13 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 47.81 ▲1.22 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 95.89 ▼2.29 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 41.06 ▲9.19 |
Settings /wp-admin/admin.php?page=contact-form-manager-manage | 3.83 | 35.53 |
Contact Forms /wp-admin/admin.php?page=contact-form-manager-managecontactforms | 3.82 | 38.17 |
Suggest a Feature /wp-admin/admin.php?page=contact-form-manager-feature | 3.79 | 34.29 |
SMTP Settings /wp-admin/admin.php?page=contact-form-manager-manage-smtp | 3.84 | 36.08 |
About /wp-admin/admin.php?page=contact-form-manager-about | 3.87 | 39.49 |
Theme CSS /wp-admin/admin.php?page=contact-form-manager-theme | 3.81 | 35.97 |
Server storage [IO: ▲1.61MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 88 new files
Database: 4 new tables, 18 new options
New tables |
---|
wp_xyz_cfm_theme_details |
wp_xyz_cfm_form |
wp_xyz_cfm_form_elements |
wp_xyz_cfm_sender_email_address |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
xyz_cfm_DateFormat |
xyz_cfm_paging_limit |
xyz_cfm_mandatory_sign |
xyz_cfm_tinymce_filter |
xyz_cfm_layout_setting |
xyz_cfm_sendViaSmtp |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲230 | 13.52 ▼0.72 | 9.66 ▲7.92 | 44.01 ▼1.64 |
Dashboard /wp-admin | 2,249 ▲69 | 5.74 ▲0.10 | 85.46 ▼3.24 | 86.16 ▲42.00 |
Posts /wp-admin/edit.php | 2,169 ▲66 | 2.20 ▲0.26 | 34.31 ▼4.59 | 35.52 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,740 ▲214 | 22.69 ▼0.83 | 664.62 ▼32.42 | 33.84 ▼21.35 |
Media Library /wp-admin/upload.php | 1,460 ▲63 | 4.20 ▲0.02 | 103.24 ▲0.22 | 81.79 ▲40.24 |
Settings /wp-admin/admin.php?page=contact-form-manager-manage | 1,473 | 1.92 | 30.49 | 49.48 |
Contact Forms /wp-admin/admin.php?page=contact-form-manager-managecontactforms | 1,198 | 1.91 | 25.10 | 40.56 |
Suggest a Feature /wp-admin/admin.php?page=contact-form-manager-feature | 1,171 | 1.78 | 25.08 | 37.46 |
SMTP Settings /wp-admin/admin.php?page=contact-form-manager-manage-smtp | 1,183 | 1.80 | 25.14 | 40.09 |
About /wp-admin/admin.php?page=contact-form-manager-about | 2,085 | 1.93 | 28.47 | 42.01 |
Theme CSS /wp-admin/admin.php?page=contact-form-manager-theme | 1,241 | 1.78 | 27.54 | 45.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- widget_theysaidso_widget
- xyz_credit_link
- can_compress_scripts
- widget_recent-comments
- xyz_cfm_recaptcha_type
- db_upgraded
- xyz_cfm_hidepmAds
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/contact-form-manager/captcha/random.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: formId in wp-content/plugins/contact-form-manager/captcha/random.php on line 3
- > PHP Notice
Undefined index: formName in wp-content/plugins/contact-form-manager/captcha/random.php on line 4
- > PHP Notice
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
contact-form-manager/contact-form-manager.php 92% from 13 tests
The primary PHP file in "Contact Form Manager" version 1.6 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 358 characters long)
Code Analysis Passed 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 detected10,470 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,694 | 213 | 8,621 |
CSS | 3 | 207 | 77 | 1,003 |
JavaScript | 3 | 912 | 123 | 790 |
PO File | 1 | 19 | 28 | 56 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
31 PNG files occupy 0.80MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/theme/light-coffee.png | 7.75KB | 4.03KB | ▼ 48.00% |
images/theme/blue-n-white.png | 7.48KB | 3.73KB | ▼ 50.10% |
images/orange_buynow.png | 5.08KB | 2.84KB | ▼ 44.03% |
images/contact.png | 1.26KB | 1.34KB | 0.00% |
images/help.png | 2.50KB | 1.35KB | ▼ 45.96% |