Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.85MB] [CPU: ▲0.35ms] Passed 4 tests
A check of server-side resources used by Joy Of Text Lite - SMS messaging for Wordpress.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.02 | 46.84 ▲8.26 |
Dashboard /wp-admin | 4.18 ▲0.88 | 50.68 ▼1.88 |
Posts /wp-admin/edit.php | 4.23 ▲0.87 | 49.91 ▲4.60 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.83 | 83.62 ▼9.38 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 40.57 ▲8.05 |
Server storage [IO: ▲0.64MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 72 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_jot_groupmemxref |
wp_jot_groupmembers |
wp_jot_groupinvites |
wp_jot_groupmeta |
wp_jot_groups |
wp_jot_messages |
wp_jot_messagequeue |
New WordPress options |
---|
jot-plugin-version |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Joy Of Text Lite - SMS messaging for Wordpress.: 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,942 ▲181 | 14.18 ▼0.15 | 8.90 ▲7.28 | 41.29 ▼0.89 |
Dashboard /wp-admin | 2,234 ▲54 | 5.04 ▼0.57 | 86.43 ▼2.01 | 38.95 ▼3.15 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.35 ▲0.35 | 36.55 ▲1.95 | 32.53 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,561 ▲24 | 22.82 ▲4.61 | 581.42 ▼52.59 | 58.04 ▼11.87 |
Media Library /wp-admin/upload.php | 1,448 ▲54 | 4.78 ▲0.62 | 106.24 ▲11.38 | 50.36 ▲5.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 7 tables
- wp_jot_groupmemxref
- wp_jot_groups
- wp_jot_messagequeue
- wp_jot_groupinvites
- wp_jot_groupmembers
- wp_jot_groupmeta
- wp_jot_messages
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- jot-plugin-version
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
joy-of-text/joy-of-text.php 92% from 13 tests
This is the main PHP file of "Joy Of Text Lite - SMS messaging for Wordpress." version 2.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,755 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 1,068 | 694 | 4,122 |
JavaScript | 29 | 353 | 269 | 1,187 |
CSS | 5 | 132 | 330 | 1,005 |
PO File | 2 | 196 | 232 | 439 |
INI | 1 | 2 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 63.71 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 7 | 100.00% |
Methods | 138 | |
▷ Static methods | 7 | 5.07% |
▷ Public methods | 124 | 89.86% |
▷ Protected methods | 8 | 5.80% |
▷ Private methods | 6 | 4.35% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
18 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/jotpro.png | 17.58KB | 7.17KB | ▼ 59.20% |
images/jotnotify.png | 14.46KB | 6.27KB | ▼ 56.62% |
images/jotbp.png | 18.14KB | 7.68KB | ▼ 57.64% |
images/Help.png | 0.80KB | 0.99KB | 0.00% |
images/extensions/schedmgr.png | 49.54KB | 31.11KB | ▼ 37.19% |