Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.15ms] Passed 4 tests
Analyzing server-side resources used by Text Message SMS Extension for Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.70 ▲1.33 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.86 ▼3.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.06 ▼10.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.00 ▼5.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.55 ▼1.05 |
Biz Text Integration /wp-admin/admin.php?page=wpcf7biztext | 3.22 | 30.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
wpbiztextc7_options |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Text Message SMS Extension for Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.28 ▼1.12 | 4.58 ▲2.74 | 43.26 ▲1.09 |
Dashboard /wp-admin | 2,206 ▲21 | 5.88 ▲1.01 | 98.42 ▼13.81 | 36.95 ▼4.20 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.02 | 34.29 ▼7.19 | 32.98 ▼4.34 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.14 ▼0.28 | 633.91 ▼48.17 | 63.57 ▲1.00 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.01 | 97.79 ▼7.77 | 42.54 ▼7.82 |
Biz Text Integration /wp-admin/admin.php?page=wpcf7biztext | 846 | 2.06 | 23.38 | 31.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/text-message-sms-extension-for-contact-form-7/admin/wpbiztextc7_tab_form_settings.php:4
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
3 plugin tags: text messages, contact form 7, sms
text-message-sms-extension-for-contact-form-7/cf7-text-message-integration.php 92% from 13 tests
The principal PHP file in "Text Message SMS Extension for Contact Form 7" v. 2.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("text-message-sms-extension-for-contact-form-7.php" instead of "cf7-text-message-integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin623 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 132 | 50 | 482 |
JavaScript | 1 | 43 | 8 | 82 |
CSS | 1 | 17 | 1 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin