Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.80ms] Passed 4 tests
Server-side resources used by Contact Coldform
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 42.39 ▲3.49 |
Dashboard /wp-admin | 3.50 ▲0.20 | 47.39 ▼3.18 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.45 ▼3.56 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 82.10 ▼11.94 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 41.34 ▲5.68 |
Contact Coldform /wp-admin/options-general.php?page=contact-coldform/contact-coldform.php | 3.42 | 33.71 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
contact_coldform_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Coldform
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.31 ▼0.18 | 1.76 ▲0.02 | 44.53 ▼1.48 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▲0.06 | 92.93 ▲7.19 | 40.63 ▲2.35 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.07 | 37.08 ▲0.43 | 34.68 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.31 ▼0.20 | 666.32 ▼36.09 | 52.57 ▼9.27 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.01 | 98.27 ▲6.93 | 42.72 ▼2.12 |
Contact Coldform /wp-admin/options-general.php?page=contact-coldform/contact-coldform.php | 1,576 | 1.70 | 24.82 | 44.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: mail, contact, contact form, email, form...
contact-coldform/contact-coldform.php 92% from 13 tests
The main file in "Contact Coldform" v. 20231019... serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "20231019...")
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
Success! There were no dangerous files found in this plugin1,352 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 375 | 90 | 952 |
PO File | 1 | 149 | 168 | 363 |
CSS | 3 | 0 | 12 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 24 | |
▷ Named functions | 24 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
contact-coldform.png | 18.64KB | 7.28KB | ▼ 60.92% |