Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.34ms] Passed 4 tests
This is a short check of server-side resources used by VHT SMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 41.65 ▲3.09 |
Dashboard /wp-admin | 3.45 ▲0.10 | 46.92 ▼18.00 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.85 ▲3.57 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 95.12 ▼1.01 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 35.47 ▼1.43 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
VHT SMS: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.68 ▼0.70 | 4.50 ▲2.85 | 43.52 ▲0.60 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▲0.63 | 95.38 ▼9.21 | 37.97 ▼5.70 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.05 | 40.93 ▲5.12 | 35.49 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.44 ▲0.27 | 577.54 ▼80.59 | 48.62 ▼11.90 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.01 | 91.09 ▼15.53 | 45.77 ▼0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vht-sms/vht-sms.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Cài đặt chung của VHT SMS và cài đặt cho Contact Form 7 và NinjaForm), #2 (Cài đặt API của VHT)
vht-sms/vht-sms.php 77% from 13 tests
The entry point to "VHT SMS" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 215 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("3.0" instead of "3.0.0")
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
Success! There were no dangerous files found in this plugin882 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 28 | 768 |
CSS | 1 | 0 | 0 | 81 |
JavaScript | 1 | 0 | 0 | 33 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 187.00 |
▷ Minimum class complexity | 187.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 8.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 55.84KB | 18.28KB | ▼ 67.26% |
screenshot-1.png | 70.05KB | 24.66KB | ▼ 64.80% |
screenshot-3.png | 14.13KB | 4.17KB | ▼ 70.47% |