Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▲517.14ms] 50% from 4 tests
An overview of server-side resources used by افزونه پیامک حرفه ای فراز اس ام اس
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 784.76ms on /wp-admin/admin.php?page=farazsms_settings)
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 517.14ms on /wp-admin/admin.php?page=farazsms_settings#/send_sms)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.51 ▼5.92 |
Dashboard /wp-admin | 4.43 ▲1.12 | 753.12 ▲696.78 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 744.13 ▲694.79 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 900.33 ▲799.47 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 721.06 ▲682.90 |
Settings /wp-admin/admin.php?page=farazsms_settings | 3.32 | 784.76 |
Server storage [IO: ▲1.43MB] [DB: ▲0.18MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 87 new files
Database: 5 new tables, 17 new options
New tables |
---|
wp_farazsms_woocommerce_order_actions |
wp_farazsms_gravity_forms |
wp_farazsms_vcode |
wp_farazsms_newsletter |
wp_farazsms_tracking_codes |
New WordPress options |
---|
theysaidso_admin_options |
farazsms_membership_options |
db_upgraded |
farazsms_woocommerce_options |
farazsms_edd_options |
farazsms_login_notify_options |
farazsms_comments_options |
farazsms_elementor_options |
farazsms_aff_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for افزونه پیامک حرفه ای فراز اس ام اس
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲210 | 14.29 ▼0.06 | 1.76 ▲0.12 | 43.54 ▲0.29 |
Dashboard /wp-admin | 2,371 ▲194 | 6.14 ▲0.53 | 137.23 ▲37.12 | 54.35 ▲9.76 |
Posts /wp-admin/edit.php | 2,211 ▲111 | 3.15 ▲1.12 | 43.96 ▲4.72 | 50.39 ▲14.14 |
Add New Post /wp-admin/post-new.php | 1,607 ▲79 | 23.90 ▲0.62 | 659.03 ▼25.87 | 39.54 ▼22.20 |
Media Library /wp-admin/upload.php | 1,502 ▲102 | 5.67 ▲1.50 | 116.41 ▲3.19 | 48.88 ▲0.77 |
Integrations /wp-admin/admin.php?page=farazsms_settings#/integrations | 1,203 | 4.19 | 66.94 | 131.25 |
Newsletter /wp-admin/admin.php?page=farazsms_settings#/newsletter | 1,145 | 4.61 | 63.77 | 28.38 |
WooCommerce Order SMS /wp-admin/admin.php?page=farazsms_settings#/woocommerce_order_actions | 1,054 | 4.00 | 65.14 | 26.80 |
Synchronization /wp-admin/admin.php?page=farazsms_settings#/synchronization | 1,077 | 3.79 | 64.45 | 27.53 |
Phonebook /wp-admin/admin.php?page=farazsms_settings#/phonebook | 1,153 | 4.24 | 62.58 | 27.30 |
Comments /wp-admin/admin.php?page=farazsms_settings#/comments | 1,099 | 3.98 | 59.18 | 27.31 |
Settings /wp-admin/admin.php?page=farazsms_settings | 1,155 | 5.29 | 63.22 | 28.90 |
Woocommerce /wp-admin/admin.php?page=farazsms_settings#/woocommerce | 1,063 | 3.82 | 59.91 | 27.84 |
Membership /wp-admin/admin.php?page=farazsms_settings#/membership | 1,076 | 3.90 | 59.40 | 27.50 |
Send Sms /wp-admin/admin.php?page=farazsms_settings#/send_sms | 1,134 | 4.60 | 74.51 | 29.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 5 tables
- wp_farazsms_woocommerce_order_actions
- wp_farazsms_gravity_forms
- wp_farazsms_tracking_codes
- wp_farazsms_vcode
- wp_farazsms_newsletter
- Zombie WordPress options detected upon uninstall: 17 options
- db_upgraded
- widget_recent-posts
- farazsms_edd_options
- theysaidso_admin_options
- farazsms_membership_options
- farazsms_integrations_options
- can_compress_scripts
- farazsms_login_notify_options
- widget_recent-comments
- farazsms_newsletter_options
- ...
Smoke tests 0% 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
- > GET request to /wp-admin/admin.php?page=farazsms_settings
- > POST request to /index.php/wp-json/farazsms/v1/get_lines
- > Warning in wp-content/plugins/farazsms/classes/class-farazsms-routes.php+1182
Invalid argument supplied for foreach()
SRP 0% 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/farazsms/modules/farazsms/farazsms-admin-page.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/farazsms/modules/woocommerce/order-review/farazsms-order-review-page.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/send_sms
- > Javascript (severe) in unknown
/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0 9:128497 Uncaught Error: Minified React error #200; visit https://reactjs.o… for full errors and additional helpful warnings.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/send_sms
- > Network (severe)
index.php/wp-json/farazsms/v1/integrations_options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/newsletter
- > Network (severe)
index.php/wp-json/farazsms/v1/newsletter_options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/woocommerce_order_actions
- > Network (severe)
index.php/wp-json/wc/v3/products?per_page=100&page=1 - 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=farazsms_settings#/phonebook
- > Network (severe)
index.php/wp-json/farazsms/v1/phonebook_options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/comments
- > Network (severe)
index.php/wp-json/farazsms/v1/comments_options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/woocommerce
- > Network (severe)
index.php/wp-json/farazsms/v1/woocommerce_options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=farazsms_settings#/membership
- > Network (severe)
index.php/wp-json/farazsms/v1/membership_options - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #12 is missing in farazsms/assets to your readme.txt
farazsms/farazsms.php 92% from 13 tests
"افزونه پیامک حرفه ای فراز اس ام اس" version 2.7.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 279 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin13,213 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 17 | 4 | 6,635 |
PHP | 28 | 936 | 1,581 | 5,184 |
PO File | 1 | 388 | 575 | 1,016 |
CSS | 5 | 56 | 14 | 350 |
JSON | 28 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 25.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 66 | 28.33% |
▷ Public methods | 230 | 98.71% |
▷ Protected methods | 2 | 0.86% |
▷ Private methods | 1 | 0.43% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
PNG images were not found in this plugin