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.13MB] [CPU: ▼3.75ms] Passed 4 tests
An overview of server-side resources used by Verification SMS with TargetSMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.48 ▲3.15 |
Dashboard /wp-admin | 3.45 ▲0.11 | 49.52 ▼12.11 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 51.19 ▲6.41 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 90.79 ▼4.95 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 33.28 ▼1.08 |
Verification SMS with TargetSMS /wp-admin/admin.php?page=verification-sms-targetsms/plugin-options.php | 3.34 | 33.52 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Verification SMS with TargetSMS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲50 | 13.57 ▼0.71 | 2.38 ▲0.37 | 45.11 ▲2.59 |
Dashboard /wp-admin | 2,217 ▲29 | 5.82 ▲0.94 | 96.80 ▼5.61 | 40.78 ▼5.53 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▼0.00 | 37.16 ▼1.84 | 33.72 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 17.63 ▼5.39 | 640.20 ▼7.30 | 51.36 ▼5.92 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.22 ▲0.08 | 99.28 ▲1.70 | 44.15 ▼5.19 |
Verification SMS with TargetSMS /wp-admin/admin.php?page=verification-sms-targetsms/plugin-options.php | 854 | 2.03 | 24.47 | 28.79 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/verification-sms-targetsms/inc/frontend.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/verification-sms-targetsms/inc/backend.php:235
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/verification-sms-targetsms/inc/ajax.php:7
- > PHP Warning
require_once(TARGETVR_PLUGIN_DIR_INC/class-target-send-sms.php): failed to open stream: No such file or directory in wp-content/plugins/verification-sms-targetsms/inc/sendcode.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'TARGETVR_PLUGIN_DIR_INC/class-target-send-sms.php' (include_path='.:/usr/share/php') in wp-content/plugins/verification-sms-targetsms/inc/sendcode.php on line 3
- > PHP Warning
Use of undefined constant TARGETVR_PLUGIN_DIR_INC - assumed 'TARGETVR_PLUGIN_DIR_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/verification-sms-targetsms/inc/sendcode.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function targetvr_get_plugin_menu() in wp-content/plugins/verification-sms-targetsms/plugin-options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: targetsms, sms, confirmed, woocommerce, verification...
verification-sms-targetsms/verification-sms-targetsms.php 85% from 13 tests
The primary PHP file in "Verification SMS with TargetSMS" version 1.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 342 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,283 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 253 | 164 | 751 |
JavaScript | 1 | 89 | 19 | 238 |
CSS | 1 | 9 | 0 | 155 |
PO File | 1 | 55 | 65 | 139 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 7 | |
▷ Static methods | 4 | 57.14% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 42.86% |
Functions | 38 | |
▷ Named functions | 37 | 97.37% |
▷ Anonymous functions | 1 | 2.63% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.26MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon.png | 46.08KB | 14.06KB | ▼ 69.49% |
assets/screenshot-5.png | 15.88KB | 7.94KB | ▼ 50.02% |
assets/screenshot-1.png | 54.73KB | 27.86KB | ▼ 49.09% |
assets/screenshot-2.png | 65.35KB | 32.39KB | ▼ 50.44% |
img/chek.png | 1.74KB | 1.05KB | ▼ 39.71% |