Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/easy-softonic-contact-form/includes/class-escf-options.php+1071
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▲0.48MB] [CPU: ▼43.22ms] Passed 4 tests
A check of server-side resources used by WP Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.95 | 49.93 ▲6.86 |
Dashboard /wp-admin | 4.51 ▲1.21 | 17.15 ▼36.88 |
Posts /wp-admin/edit.php | 4.51 ▲1.15 | 16.89 ▼32.31 |
Add New Post /wp-admin/post-new.php | 4.51 ▼1.38 | 16.57 ▼84.47 |
Media Library /wp-admin/upload.php | 4.51 ▲1.28 | 17.06 ▼19.20 |
Server storage [IO: ▲6.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 154 new files
Database: no new tables, 7 new options
New WordPress options |
---|
es_contact_global |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Contact Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.34 ▼0.01 | 1.84 ▼0.59 | 44.17 ▼0.04 |
Dashboard /wp-admin | 2,207 ▲30 | 5.65 ▲0.01 | 85.77 ▼11.85 | 39.48 ▼3.63 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.01 ▼0.01 | 37.45 ▲0.79 | 33.53 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.29 ▲0.03 | 689.83 ▲0.39 | 51.77 ▼2.50 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▲0.14 | 99.23 ▼20.44 | 51.10 ▲2.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/easy-softonic-contact-form/includes/class-escf-options.php+1071
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-softonic-contact-form/captcha/securimage_show.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (screenshot-1.gif is the contact form.), #2 (screenshot-2.gif is the contact form showing the inline error messages.), #3 (screenshot-3.gif is the `Contact Form options` tab on the `Admin Plugins` page.), #4 (screenshot-4.gif adding the shortcode `[easy-softonic-contact-form form='1']` in a Page.)
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
easy-softonic-contact-form/easy-softonic-contact-form.php 92% from 13 tests
The entry point to "WP Contact Form" version 1.1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 146 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected74,530 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 26 | 21,847 | 32,542 | 64,267 |
PHP | 17 | 1,566 | 1,609 | 8,244 |
CSS | 5 | 130 | 139 | 1,030 |
JavaScript | 4 | 68 | 202 | 989 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 159)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 199.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 518.00 |
Average method complexity | 10.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 159.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 179 | |
▷ Static methods | 155 | 86.59% |
▷ Public methods | 179 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/star.png | 0.60KB | 0.53KB | ▼ 10.64% |
captcha/backgrounds/dg.png | 6.29KB | 3.33KB | ▼ 47.05% |
includes/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |