Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.95ms] Passed 4 tests
Server-side resources used by Ultimatesmsapi SMS PLugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.86 ▼7.39 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.25 ▼1.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.39 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.71 ▼2.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.90 ▲0.40 |
UltimateSMSapi feedback form /wp-admin/options-general.php?page=ultimatesmsapi | 3.25 | 31.20 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimatesmsapi SMS PLugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.30 ▼1.34 | 1.58 ▼0.91 | 36.95 ▼8.84 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.15 | 103.12 ▼7.99 | 40.07 ▼2.91 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 39.77 ▼2.24 | 34.95 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 22.85 ▲4.55 | 618.23 ▼13.48 | 52.30 ▲0.17 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.00 | 99.45 ▲0.75 | 41.50 ▼2.14 |
UltimateSMSapi feedback form /wp-admin/options-general.php?page=ultimatesmsapi | 921 | 2.06 | 24.60 | 38.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-sms-feedback-form/ultimatesmsapi_import_admin.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ultimate-sms-feedback-form/ultimatesmsapi.php:102
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=ultimatesmsapi
- > Network (severe)
http://ultimatesmsapi.tk/mainlogo.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: sms gateway, sms contact, sms api, free sms api, sms
ultimate-sms-feedback-form/ultimatesmsapi.php 92% from 13 tests
The primary PHP file in "Ultimatesmsapi SMS PLugin" version 1.1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ultimate-sms-feedback-form.php" instead of "ultimatesmsapi.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected207 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 14 | 207 |
PHP code Passed 2 tests
Analyzing 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.13 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.PNG | 37.24KB | 13.96KB | ▼ 62.52% |