Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.50ms] Passed 4 tests
This is a short check of server-side resources used by Text Message SMS Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 36.76 ▼10.63 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.82 ▼3.45 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.44 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 94.46 ▼8.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 35.87 ▲1.06 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
biztext_custom_role |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_biztext_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Text Message SMS Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲99 | 14.68 ▲0.44 | 1.51 ▼0.31 | 38.06 ▼5.55 |
Dashboard /wp-admin | 2,254 ▲73 | 5.62 ▼0.09 | 91.90 ▼20.06 | 38.58 ▼8.67 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 1.99 ▲0.01 | 41.69 ▲2.17 | 36.60 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,554 ▲25 | 23.43 ▲0.28 | 607.11 ▼16.75 | 46.42 ▼18.41 |
Media Library /wp-admin/upload.php | 1,456 ▲56 | 4.24 ▲0.05 | 97.55 ▲3.00 | 41.97 ▲2.02 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_biztext_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/text-message/inc/wpbiztext-display.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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please a description for screenshot #10 in text-message/assets to your readme.txt
text-message/text-message.php 92% from 13 tests
The primary PHP file in "Text Message SMS Plugin" version 3.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,580 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 493 | 215 | 1,692 |
PHP | 7 | 647 | 94 | 1,306 |
CSS | 1 | 252 | 12 | 535 |
SVG | 1 | 0 | 1 | 47 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 49.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 13.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.46MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Biz Text Logo Colour.png | 8.53KB | 3.95KB | ▼ 53.72% |
images/biztext_widget-two.png | 124.93KB | 42.93KB | ▼ 65.64% |
images/biztext_support_classes.png | 15.55KB | 5.52KB | ▼ 64.52% |
images/biztext_widget-one.png | 184.89KB | 55.63KB | ▼ 69.91% |
images/biztext_support_shortcodes.png | 40.08KB | 14.20KB | ▼ 64.57% |