Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.89MB] [CPU: ▼189.67ms] Passed 4 tests
Server-side resources used by Send SMS to Wordpress Users via Arsys
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼0.98 | 4.22 ▼24.46 |
Dashboard /wp-admin | 1.76 ▼1.29 | 5.32 ▼43.17 |
Posts /wp-admin/edit.php | 1.76 ▼1.35 | 5.66 ▼38.86 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 5.36 ▼648.34 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 5.34 ▼28.31 |
Send SMS /wp-admin/admin.php?page=send-sms-arsys/send-sms-arsys.php | 1.76 | 5.17 |
Options /wp-admin/admin.php?page=sendsmsarsys-options | 1.76 | 5.02 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Send SMS to Wordpress Users via Arsys
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,846 ▲250 | 16.15 ▲0.73 | 13.00 ▲1.06 | 48.91 ▼1.34 |
Dashboard /wp-admin | 2,998 ▲64 | 6.11 ▲0.01 | 145.90 ▼5.33 | 135.10 ▲22.31 |
Posts /wp-admin/edit.php | 2,789 ▲50 | 2.72 ▲0.02 | 66.19 ▲2.37 | 86.27 ▲5.25 |
Add New Post /wp-admin/post-new.php | 1,639 ▼44 | 21.43 ▲3.11 | 300.33 ▼103.04 | 107.18 ▲2.45 |
Media Library /wp-admin/upload.php | 1,786 ▼21 | 5.06 ▲0.03 | 146.55 ▼12.57 | 140.66 ▲18.13 |
Send SMS /wp-admin/admin.php?page=send-sms-arsys/send-sms-arsys.php | 1,218 | 2.34 | 50.21 | 77.54 |
Options /wp-admin/admin.php?page=sendsmsarsys-options | 1,255 | 2.35 | 57.10 | 69.46 |
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
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sendsmsarsys-options
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sendsmsarsys-options
- > User notice in wp-includes/functions.php+5663
wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the send-sms-arsys handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sendsmsarsys-options
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the send-sms-arsys handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sendsmsarsys-options
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'WP_PLUGIN_DIR/send-sms-arsys/options.php' (include_path='.:/usr/share/php') in wp-content/plugins/send-sms-arsys/send-sms-arsys.php on line 14
- > PHP Warning
require_once(WP_PLUGIN_DIR/send-sms-arsys/options.php): failed to open stream: No such file or directory in wp-content/plugins/send-sms-arsys/send-sms-arsys.php on line 14
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/send-sms-arsys/send-sms-arsys.php on line 14
- > PHP Fatal error
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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (SMS Admin Panel to send SMS.), #2 (Options page with API data to connect to Arsys.)
send-sms-arsys/send-sms-arsys.php Passed 13 tests
The main PHP file in "Send SMS to Wordpress Users via Arsys" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
132 characters long description:
Allow Administrator Users send to Wordpress Users using a customized variable for the telephone number. It's send the sms via Arsys.
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 plugin535 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 20 | 440 |
PO File | 1 | 15 | 32 | 52 |
JavaScript | 1 | 4 | 0 | 22 |
Markdown | 1 | 13 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 8 | |
▷ Named functions | 8 | 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
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.61KB | 10.24KB | ▼ 62.91% |
arsys.png | 0.87KB | 0.77KB | ▼ 10.90% |
screenshot-2.png | 23.26KB | 7.99KB | ▼ 65.67% |