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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.41ms] Passed 4 tests
Analyzing server-side resources used by Text Message Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 35.64 ▼4.67 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.25 ▼12.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 39.97 ▼12.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.25 ▼7.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.82 ▼0.18 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Text Message Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲138 | 14.35 ▲0.18 | 1.95 ▲0.28 | 33.30 ▼7.30 |
Dashboard /wp-admin | 2,265 ▲88 | 5.73 ▲0.09 | 80.90 ▼4.88 | 77.57 ▲38.11 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.99 ▲0.05 | 34.43 ▼2.17 | 33.33 ▼3.23 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.33 ▲0.18 | 659.51 ▼35.92 | 52.25 ▼2.63 |
Media Library /wp-admin/upload.php | 1,409 ▲15 | 4.14 ▼0.04 | 111.53 ▲15.08 | 47.24 ▲0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/text-message-contact-form/_admin/_read.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/text-message-contact-form/admin_home.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/text-message-contact-form/index.php:2
- > 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 90% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (fbtc-screenshot-1.png), #2 (fbtc-screenshot-2.png), #3 (fbtc-screenshot-3.png), #4 (fbtc-screenshot-4.png), #5 (fbtc-screenshot-5.png), #6 (fbtc-screenshot-6.png), #7 (fbtc-screenshot-7.png), #8 (fbtc-screenshot-8.png)
- Plugin Name: You should set the name of your plugin on the first line (
=== text-message-contact-form ===
)
text-message-contact-form/text-message-contact-form.php 92% from 13 tests
This is the main PHP file of "Text Message Contact Form" version .91..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of ".91...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,570 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 234 | 249 | 2,570 |
PHP code Passed 2 tests
This is a very shot 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.19 |
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 | 61 | |
▷ Named functions | 61 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
49 PNG files occupy 0.12MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_btns/btn_upG16_reg.png | 1.38KB | 0.35KB | ▼ 74.45% |
_cap_lets/s.png | 3.08KB | 0.51KB | ▼ 83.48% |
_btns/btn_downG16_reg.png | 1.37KB | 0.35KB | ▼ 74.25% |
_btns/btn_print16_reg.png | 1.71KB | 0.69KB | ▼ 59.75% |
_cap_lets/j.png | 3.00KB | 0.43KB | ▼ 85.83% |