Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.67ms] Passed 4 tests
A check of server-side resources used by Contact Us Simple Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.20 ▼4.04 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.80 ▼16.99 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 42.63 ▼10.19 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.69 ▼7.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.24 ▼0.97 |
Contact Us Simple Form /wp-admin/options-general.php?page=contact-us-simple-form/contact-us-simple-form.php | 3.24 | 31.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
bruter_cf_contact_plugin_options |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Contact Us Simple Form: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.40 ▼0.98 | 8.08 ▲6.24 | 46.40 ▲2.76 |
Dashboard /wp-admin | 2,196 ▲19 | 5.56 ▲0.02 | 87.06 ▼13.88 | 39.85 ▼2.94 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.02 | 39.46 ▲1.74 | 37.01 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 17.95 ▼5.07 | 641.74 ▼6.98 | 71.47 ▲7.95 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▲0.02 | 100.60 ▼0.74 | 42.61 ▼5.06 |
Contact Us Simple Form /wp-admin/options-general.php?page=contact-us-simple-form/contact-us-simple-form.php | 866 | 2.02 | 25.03 | 31.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- bruter_cf_contact_plugin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-us-simple-form/contact-us-simple-form.php:109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
contact-us-simple-form/contact-us-simple-form.php Passed 13 tests
Analyzing the main PHP file in "Contact Us Simple Form" version 1.0
74 characters long description:
Contact Us Simple Form - Quick, small and easy contact form for wordpress.
Code Analysis Passed 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
There were no executable files found in this plugin412 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 184 | 2 | 215 |
PHP | 1 | 39 | 28 | 193 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/contact-icon.png | 3.51KB | 1.91KB | ▼ 45.55% |