Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.13ms] Passed 4 tests
A check of server-side resources used by SubitoSMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.28 ▼1.28 |
Dashboard /wp-admin | 3.46 ▲0.11 | 47.21 ▼12.99 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.57 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.18 ▼15.23 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.30 ▲4.18 |
Send SMS /wp-admin/admin.php?page=subitosms-admin-menu | 3.32 | 30.17 |
Settings /wp-admin/admin.php?page=subitosms-admin-settings | 3.32 | 30.40 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for SubitoSMS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲62 | 13.35 ▼1.03 | 1.59 ▼0.15 | 40.57 ▼1.36 |
Dashboard /wp-admin | 2,239 ▲54 | 4.88 ▼0.98 | 98.78 ▼8.08 | 80.40 ▲34.22 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.04 ▲0.01 | 41.06 ▲4.31 | 35.64 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 18.26 ▼2.79 | 687.46 ▲105.45 | 62.96 ▲11.24 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.14 ▼0.04 | 93.55 ▼5.40 | 73.21 ▲30.10 |
Send SMS /wp-admin/admin.php?page=subitosms-admin-menu | 810 | 2.06 | 33.25 | 26.86 |
Settings /wp-admin/admin.php?page=subitosms-admin-settings | 867 | 2.07 | 22.36 | 32.94 |
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
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=subitosms-admin-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=subitosms-admin-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=subitosms-admin-settings
- > Notice in wp-content/plugins/subitosms/subitosms.php+392
Trying to access array offset on value of type bool
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/subitosms/subitosms.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
subitosms/subitosms.php Passed 13 tests
"SubitoSMS" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
Send SMS messages to all your subscribed users and add mobile number to registration form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected909 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 125 | 50 | 643 |
PO File | 1 | 64 | 85 | 180 |
JavaScript | 1 | 17 | 0 | 83 |
CSS | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_32x32_send.png | 0.54KB | 0.35KB | ▼ 34.31% |
images/icon_16x16.png | 0.52KB | 0.50KB | ▼ 3.02% |