Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.19MB] [CPU: ▼38.53ms] Passed 4 tests
Server-side resources used by UltimateAdminSms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.68 | 14.12 ▼23.53 |
Dashboard /wp-admin | 2.82 ▼0.48 | 16.65 ▼30.71 |
Posts /wp-admin/edit.php | 2.82 ▼0.53 | 19.25 ▼25.86 |
Add New Post /wp-admin/post-new.php | 2.82 ▼3.07 | 17.69 ▼74.01 |
Media Library /wp-admin/upload.php | 2.82 ▼0.41 | 18.94 ▼13.54 |
SMS Settings /wp-admin/admin.php?page=Settings | 2.82 | 17.45 |
Send SMS /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php | 2.82 | 16.10 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for UltimateAdminSms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.90 ▼0.70 | 8.25 ▲6.53 | 43.72 ▲3.07 |
Dashboard /wp-admin | 2,228 ▲40 | 5.88 ▲0.85 | 95.99 ▼5.70 | 83.87 ▲39.38 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.01 ▼0.10 | 34.60 ▼0.54 | 34.14 ▼4.84 |
Add New Post /wp-admin/post-new.php | 1,696 ▲150 | 22.63 ▲4.15 | 772.38 ▲127.55 | 59.73 ▲9.61 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.20 ▲0.02 | 105.08 ▼1.33 | 46.76 ▲2.69 |
SMS Settings /wp-admin/admin.php?page=Settings | 1,124 | 2.15 | 25.05 | 28.40 |
Send SMS /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php | 967 | 2.02 | 25.12 | 42.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_usermeta is deprecated since version 3.0.0! Use get_user_meta() instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php
- > User deprecated in wp-includes/functions.php+5453
Function get_usermeta is deprecated since version 3.0.0! Use get_user_meta() instead.
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php
- > User deprecated in wp-includes/functions.php+5737
Function 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 | 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 trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimateadminsms/UltimateAdminSms.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php
- > Network (severe)
wp-content/plugins%20/UltimateAdminSms/checkLength.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ultimateadminsms/UltimateAdminSms.php
- > Network (severe)
wp-content/plugins/UltimateAdminSms/ultimateSms.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimateadminsms/UltimateAdminSms.php 85% from 13 tests
"UltimateAdminSms" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 277 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimateadminsms.php" instead of "UltimateAdminSms.php")
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
There were no executable files found in this plugin563 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 51 | 337 |
JavaScript | 1 | 9 | 2 | 226 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 19 | |
▷ Named functions | 19 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ultimateSms.png | 3.27KB | 0.59KB | ▼ 82.08% |