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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.93ms] Passed 4 tests
An overview of server-side resources used by ContactForm.Pro - Floating Contact Form Widget - No Coding, No Servers & Messages To Your Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.91 ▼1.52 |
Dashboard /wp-admin | 3.33 ▲0.03 | 72.58 ▲13.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.31 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.08 ▼15.15 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.22 ▼2.17 |
ContactForm.Pro /wp-admin/options-general.php?page=contactformpro | 3.22 | 28.93 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for ContactForm.Pro - Floating Contact Form Widget - No Coding, No Servers & Messages To Your Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.52 ▲0.17 | 1.68 ▼0.46 | 42.38 ▼1.19 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▲0.03 | 97.09 ▼3.53 | 43.06 ▼2.07 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 1.98 ▼0.03 | 43.34 ▲4.19 | 33.97 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.12 ▲0.24 | 671.55 ▲69.36 | 56.10 ▲4.69 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.22 ▲0.03 | 98.53 ▼10.53 | 42.33 ▼4.03 |
ContactForm.Pro /wp-admin/options-general.php?page=contactformpro | 873 | 1.99 | 22.91 | 30.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contactformpro/contactformpro.php:21
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in contactformpro/assets to your readme.txt
contactformpro/contactformpro.php 92% from 13 tests
The main file in "ContactForm.Pro - Floating Contact Form Widget - No Coding, No Servers & Messages To Your Email" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 95 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected113 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 11 | 113 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 6.21KB | 3.56KB | ▼ 42.67% |