Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.92ms] Passed 4 tests
A check of server-side resources used by Contact Form by tech-c.net
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.70 ▼1.42 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.32 ▼1.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.49 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.79 ▼18.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.90 ▲5.77 |
Contact Form by tech-c.net /wp-admin/options-general.php?page=tc_contact_form_options_slug | 3.21 | 34.25 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form by tech-c.net
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.39 | 2.21 ▲0.64 | 43.93 ▲2.70 |
Dashboard /wp-admin | 2,196 ▲19 | 5.54 ▲0.03 | 86.97 ▼15.04 | 39.25 ▼1.73 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 40.86 ▲6.87 | 36.83 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.78 ▼0.70 | 574.30 ▼34.79 | 47.38 ▼1.48 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▼0.08 | 93.18 ▼10.63 | 44.79 ▲0.91 |
Contact Form by tech-c.net /wp-admin/options-general.php?page=tc_contact_form_options_slug | 876 | 2.13 | 24.33 | 31.30 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/contact-form-by-tech-c-net/tc-contact-form.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: recaptcha, form, contact, attachments
contact-form-by-tech-c-net/tc-contact-form.php 92% from 13 tests
The entry point to "Contact Form by tech-c.net" version 2.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("contact-form-by-tech-c-net.php" instead of "tc-contact-form.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,479 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 9 | 315 | 315 | 1,062 |
PHP | 1 | 50 | 19 | 329 |
CSS | 1 | 15 | 0 | 88 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 8 | |
▷ Named functions | 8 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
donate-paypal.png | 18.82KB | 4.92KB | ▼ 73.84% |