Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▲0.61ms] Passed 4 tests
A check of server-side resources used by eSMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 46.96 ▲8.45 |
Dashboard /wp-admin | 3.46 ▲0.16 | 48.59 ▲2.76 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 48.59 ▲3.53 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 81.03 ▼4.58 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 38.88 ▲0.75 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for eSMS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▼0.18 | 1.68 ▼0.14 | 44.22 ▲1.13 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▼0.00 | 94.04 ▲8.73 | 41.73 ▼3.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.07 | 34.03 ▼0.17 | 35.96 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.11 ▼0.19 | 645.60 ▼8.34 | 60.03 ▼4.14 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▼0.07 | 94.16 ▼9.37 | 43.30 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/esms-gui-tin-nhan-sms/esms.php
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)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Cài đặt chung của eSMS và cài đặt cho Contact Form 7 và NinjaForm), #2 (Cài đặt API của eSMS)
esms-gui-tin-nhan-sms/esms.php 69% from 13 tests
Analyzing the main PHP file in "eSMS" version 1.0.2
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("esms-gui-tin-nhan-sms.php" instead of "esms.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 205 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Success! There were no dangerous files found in this plugin872 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 12 | 769 |
CSS | 1 | 0 | 3 | 75 |
JavaScript | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 188.00 |
▷ Minimum class complexity | 188.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 8.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.50% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 85.33KB | 29.35KB | ▼ 65.60% |
screenshot-2.png | 58.01KB | 19.14KB | ▼ 67.01% |
screenshot-3.png | 41.86KB | 14.24KB | ▼ 65.98% |