Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/woo-app-sms-server/includes/class-appsmsserver.php+94
Undefined property: APPSMSServer::$appsms_api_key
Server metrics [RAM: ▼1.72MB] [CPU: ▼56.57ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce APP SMS Server
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.19 | 8.09 ▼35.88 |
Dashboard /wp-admin | 2.29 ▼1.01 | 8.89 ▼42.70 |
Posts /wp-admin/edit.php | 2.29 ▼1.07 | 10.82 ▼39.61 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.60 | 8.50 ▼108.08 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 11.05 ▼27.62 |
Predefined SMS /wp-admin/admin.php?page=app-sms-predef | 2.29 | 12.24 |
APPSMSServer /wp-admin/admin.php?page=app-sms | 2.29 | 11.04 |
Settings /wp-admin/admin.php?page=app-sms-settings | 2.29 | 10.75 |
Server storage [IO: ▲2.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Woocommerce APP SMS Server
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.25 ▼0.10 | 1.80 ▲0.16 | 44.80 ▲4.04 |
Dashboard /wp-admin | 2,235 ▲58 | 5.62 ▲0.02 | 92.03 ▼1.77 | 43.08 ▼0.97 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 2.00 ▼0.02 | 36.68 ▼1.91 | 35.38 ▲3.26 |
Add New Post /wp-admin/post-new.php | 1,561 ▲34 | 23.29 ▲0.00 | 682.03 ▲50.54 | 60.57 ▲6.18 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.31 ▲0.13 | 111.70 ▲5.59 | 49.96 ▲6.38 |
Predefined SMS /wp-admin/admin.php?page=app-sms-predef | 815 | 2.04 | 25.96 | 25.27 |
APPSMSServer /wp-admin/admin.php?page=app-sms | 1,242 | 8.84 | 98.73 | 76.77 |
Settings /wp-admin/admin.php?page=app-sms-settings | 872 | 2.16 | 23.70 | 33.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/woo-app-sms-server/includes/class-appsmsserver.php+94
Undefined property: APPSMSServer::$appsms_api_key
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=app-sms-settings
- > Notice in wp-content/plugins/woo-app-sms-server/includes/class-appsmsserver.php+94
Undefined property: APPSMSServer::$appsms_api_key
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=app-sms-settings
- > Notice in wp-content/plugins/woo-app-sms-server/includes/assets/langs/en_US.php+71
Undefined property: APPSMSServer::$api_sms_user_name
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=app-sms-settings
- > Notice in wp-content/plugins/woo-app-sms-server/includes/assets/langs/en_US.php+110
Undefined index: app_sms_user_name
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=app-sms
- > Notice in wp-content/plugins/woo-app-sms-server/includes/class-api.php+43
Undefined variable: request
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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/woo-app-sms-server/includes/assets/langs/en_US.php:71
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/woo-app-sms-server/includes/assets/langs/ro_RO.php:74
- > 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
- > GET request to /wp-admin/admin.php?page=app-sms
- > Network (severe)
wp-content/plugins/appsmsserver/includes/assets/img/icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=app-sms
- > Network (severe)
wp-content/plugins/appsmsserver/includes/assets/img/woo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=app-sms
- > Network (severe)
wp-content/plugins/appsmsserver/includes/assets/img/clock.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=app-sms
- > Network (severe)
wp-content/plugins/appsmsserver/includes/assets/img/qrcode.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=app-sms
- > Network (severe)
wp-content/plugins/appsmsserver/includes/assets/img/android.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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (First screenshot represents the main app sms dashboard), #2 (Second screenshot is the appsmsserver plugin settings panel)
woo-app-sms-server/appsmsserver.php 85% from 13 tests
Analyzing the main PHP file in "Woocommerce APP SMS Server" version 1.0.1
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-app-sms-server.php" instead of "appsmsserver.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 plugin3,775 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 2,880 |
PHP | 7 | 184 | 212 | 875 |
CSS | 3 | 4 | 4 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 29.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.17MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/qrcode.png | 0.68KB | 0.68KB | 0.14% |
includes/assets/img/android.png | 152.62KB | 92.33KB | ▼ 39.50% |
includes/assets/img/woo.png | 6.84KB | 6.85KB | 0.00% |
includes/assets/img/icon.png | 2.92KB | 1.42KB | ▼ 51.50% |
includes/assets/img/clock.png | 10.64KB | 7.00KB | ▼ 34.24% |