Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.81ms] Passed 4 tests
Server-side resources used by CX Easy Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.41 ▼0.32 |
Dashboard /wp-admin | 3.39 ▲0.09 | 40.29 ▼3.40 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 44.66 ▼0.19 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 74.81 ▼11.04 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.03 ▼0.48 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CX Easy Contact Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.56 ▲0.16 | 1.54 ▼0.05 | 38.31 ▼2.36 |
Dashboard /wp-admin | 2,209 ▲29 | 5.58 ▼0.10 | 94.54 ▲1.63 | 42.72 ▲1.32 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 1.98 ▼0.05 | 41.22 ▲2.49 | 35.06 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 22.98 ▲0.06 | 645.24 ▲3.49 | 56.69 ▲2.58 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.18 ▼0.03 | 100.01 ▲4.40 | 42.28 ▲2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% 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 successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cx-easy-contact-form/cx-easy-contact-settings.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/cx-easy-contact-form/cx-easy-contact-form-admin.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: A description for screenshot #2 is required in cx-easy-contact-form/assets to your readme.txt
cx-easy-contact-form/cx-easy-contact-form.php Passed 13 tests
"CX Easy Contact Form" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
121 characters long description:
Through this contact form, you can create contacts and generate leads. For better contacts, use this simple contact form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected542 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 52 | 418 |
CSS | 2 | 8 | 0 | 64 |
JavaScript | 1 | 13 | 2 | 60 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plus.png | 3.01KB | 2.33KB | ▼ 22.80% |
images/minus.png | 2.79KB | 2.27KB | ▼ 18.52% |