Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Simple_Easy_Contact_Form::my_plugin_create_db() should not be called statically
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.13ms] Passed 4 tests
A check of server-side resources used by Simple easy contact form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.39 ▲2.69 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.76 ▼0.81 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 53.72 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 90.48 ▼4.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.81 ▼1.21 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_simpleeasy_contactform |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple easy contact form: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.26 ▼1.12 | 1.85 ▼0.11 | 45.04 ▼0.79 |
Dashboard /wp-admin | 2,224 ▲36 | 5.84 ▲0.95 | 108.57 ▼8.05 | 41.96 ▼6.43 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.03 ▲0.03 | 40.35 ▲5.72 | 37.08 ▲2.44 |
Add New Post /wp-admin/post-new.php | 1,557 ▲146 | 18.41 ▲0.61 | 643.06 ▲32.69 | 69.67 ▲22.80 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.21 ▼0.01 | 94.83 ▼15.44 | 45.17 ▲1.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Simple_Easy_Contact_Form::secf_deactivation_hook() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Admin back end to save contact form screenshot.) image missing
simple-easy-contact-form/simple-easy-contact-form.php Passed 13 tests
The primary PHP file in "Simple easy contact form" version 1.0 is used by WordPress to initiate all plugin functionality
58 characters long description:
Simple easy contact form create contact form in your site.
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
Good job! No executable or dangerous file extensions detected571 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 129 | 72 | 504 |
CSS | 1 | 10 | 3 | 67 |
JavaScript | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 1.28MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 11.63KB | 5.70KB | ▼ 50.99% |
assets/icon-512x512.png | 34.63KB | 11.91KB | ▼ 65.60% |
assets/screenshot-1.png | 161.35KB | 45.36KB | ▼ 71.89% |
assets/banner-772x250.png | 100.26KB | 48.12KB | ▼ 52.01% |
assets/screenshot-2.png | 999.81KB | 322.51KB | ▼ 67.74% |