Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.60ms] Passed 4 tests
Server-side resources used by Text Message Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 42.35 ▲0.94 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.99 ▼16.66 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.50 ▼7.05 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.73 ▼7.61 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.52 ▲4.66 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_biztext_form_widget |
biztext_custom_role_contact |
can_compress_scripts |
Browser metrics Passed 4 tests
Text Message Contact Form: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 14.23 ▲0.25 | 1.88 ▲0.12 | 43.84 ▼0.61 |
Dashboard /wp-admin | 2,246 ▲69 | 5.63 ▼0.02 | 90.06 ▲2.60 | 41.49 ▲1.22 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.01 ▲0.01 | 34.71 ▼7.18 | 39.55 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 18.37 ▼4.72 | 611.25 ▼43.44 | 49.88 ▼9.89 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.24 ▲0.08 | 98.58 ▼4.77 | 44.80 ▼2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_biztext_form_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: email, contact form, text messages, sms
text-message-contact-form-biztext/text-message-form.php 85% from 13 tests
The main PHP script in "Text Message Contact Form" version 2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("text-message-contact-form-biztext.php" instead of "text-message-form.php")
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
Everything looks great! No dangerous files found in this plugin2,324 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 829 | 747 | 1,965 |
CSS | 2 | 133 | 5 | 216 |
JavaScript | 2 | 62 | 13 | 96 |
SVG | 1 | 0 | 1 | 47 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 82.50 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 9 | 22.50% |
▷ Public methods | 37 | 92.50% |
▷ Protected methods | 2 | 5.00% |
▷ Private methods | 1 | 2.50% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and 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 |
images/Biz Text Logo Colour.png | 8.53KB | 3.95KB | ▼ 53.72% |