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.24MB] [CPU: ▼2.14ms] Passed 4 tests
A check of server-side resources used by Alpha SMS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 40.90 ▼5.68 |
Dashboard /wp-admin | 3.54 ▲0.24 | 47.08 ▼5.48 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 49.37 ▲1.65 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 88.83 ▲0.97 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.62 ▲7.77 |
Settings /wp-admin/admin.php?page=alpha_sms_settings | 3.66 | 31.45 |
Campaign /wp-admin/admin.php?page=alpha_sms | 3.44 | 33.20 |
Server storage [IO: ▲1.68MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Alpha SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲226 | 13.64 ▼0.73 | 5.70 ▲3.33 | 37.52 ▼5.90 |
Dashboard /wp-admin | 2,296 ▲105 | 4.87 ▼0.01 | 103.99 ▼0.71 | 39.59 ▼5.58 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.02 ▼0.04 | 41.71 ▲0.86 | 36.19 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 22.95 ▼0.63 | 633.07 ▼58.12 | 56.01 ▲5.43 |
Media Library /wp-admin/upload.php | 1,477 ▲89 | 4.25 ▲0.01 | 94.46 ▼3.31 | 40.00 ▼3.48 |
Settings /wp-admin/admin.php?page=alpha_sms_settings | 956 | 2.07 | 26.31 | 32.11 |
Campaign /wp-admin/admin.php?page=alpha_sms | 935 | 2.03 | 27.03 | 31.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 90% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
alpha-sms/alpha_sms.php 85% from 13 tests
"Alpha SMS" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("alpha-sms.php" instead of "alpha_sms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,024 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 453 | 836 | 1,500 |
JavaScript | 3 | 50 | 51 | 357 |
CSS | 3 | 40 | 10 | 167 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 2 | 2.99% |
▷ Public methods | 59 | 88.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.94% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 58.08KB | 58.59KB | 0.00% |
assets/icon-256x256.png | 4.89KB | 2.76KB | ▼ 43.60% |
assets/icon-128x128.png | 2.39KB | 1.39KB | ▼ 41.69% |
assets/banner-1544x500.png | 73.09KB | 34.80KB | ▼ 52.39% |