Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼6.30ms] Passed 4 tests
This is a short check of server-side resources used by Simple Basic Contact Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 39.30 ▼4.68 |
Dashboard /wp-admin | 3.54 ▲0.20 | 51.69 ▼13.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 55.89 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 94.88 ▼6.58 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.99 ▼0.95 |
Contact Form /wp-admin/options-general.php?page=simple-basic-contact-form/simple-basic-contact-form.php | 3.43 | 33.29 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
scf_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Basic Contact Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.56 ▼1.03 | 4.57 ▲2.82 | 45.34 ▲1.36 |
Dashboard /wp-admin | 2,216 ▲13 | 5.85 ▲0.01 | 116.85 ▼7.36 | 41.11 ▼4.02 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.01 ▲0.02 | 38.21 ▲3.29 | 32.20 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,543 ▲2 | 23.35 ▲5.00 | 669.46 ▼12.95 | 56.67 ▲0.84 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▼0.04 | 97.13 ▼5.16 | 41.25 ▼5.70 |
Contact Form /wp-admin/options-general.php?page=simple-basic-contact-form/simple-basic-contact-form.php | 1,739 | 1.68 | 27.85 | 54.44 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: antispam, anti spam, anti-spam, contact form, captcha...
simple-basic-contact-form/simple-basic-contact-form.php 85% from 13 tests
The main file in "Simple Basic Contact Form" v. 20221201... serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "20221201...")
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
Success! There were no dangerous files found in this plugin3,022 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 800 | 859 | 1,843 |
PHP | 2 | 387 | 81 | 1,179 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 23 | |
▷ Named functions | 23 | 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.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sbcf-icon.png | 10.91KB | 4.89KB | ▼ 55.19% |