Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲0.70MB] [CPU: ▲1.38ms] Passed 4 tests
This is a short check of server-side resources used by Saksh Escrow System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.20 ▲0.73 | 54.31 ▲13.57 |
Dashboard /wp-admin | 4.04 ▲0.74 | 58.99 ▲9.06 |
Posts /wp-admin/edit.php | 4.09 ▲0.74 | 51.45 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 90.46 ▼9.80 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 46.82 ▲7.02 |
All Wallet Balance /wp-admin/admin.php?page=balance_list | 3.87 | 44.86 |
Currency Setting /wp-admin/admin.php?page=currency_setting | 3.97 | 41.43 |
Debit/Credit /wp-admin/admin.php?page=aistore_debit_credit | 3.91 | 40.31 |
Server storage [IO: ▲0.64MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 58 new files
Database: 8 new tables, 6 new options
New tables |
---|
wp_escrow_notification |
wp_escrow_currency |
wp_escrow_system |
wp_escrow_documents |
wp_widthdrawal_requests |
wp_aistore_wallet_transactions |
wp_escrow_email |
wp_aistore_wallet_balance |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Saksh Escrow System
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲205 | 13.57 ▼0.74 | 9.53 ▲7.31 | 43.15 ▲1.19 |
Dashboard /wp-admin | 2,262 ▲81 | 5.67 ▼0.06 | 88.62 ▼11.56 | 40.28 ▼5.12 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 2.02 ▲0.04 | 36.71 ▼3.31 | 34.95 ▼5.25 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.39 ▲5.78 | 669.65 ▲18.26 | 59.37 ▲10.24 |
Media Library /wp-admin/upload.php | 1,467 ▲76 | 4.26 ▼0.01 | 108.47 ▲6.16 | 50.65 ▲6.72 |
All Wallet Balance /wp-admin/admin.php?page=balance_list | 896 | 2.02 | 30.15 | 28.26 |
Currency Setting /wp-admin/admin.php?page=currency_setting | 1,691 | 2.03 | 25.35 | 30.78 |
Debit/Credit /wp-admin/admin.php?page=aistore_debit_credit | 985 | 2.02 | 23.07 | 25.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 8 tables
- wp_escrow_email
- wp_widthdrawal_requests
- wp_escrow_system
- wp_escrow_documents
- wp_aistore_wallet_transactions
- wp_aistore_wallet_balance
- wp_escrow_currency
- wp_escrow_notification
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
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)
Even though everything seems fine, this is not an exhaustive test
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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_email/email_template.php
- 40× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_file_upload/aistore_escrow_file_upload.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/saksh-escrow-system/aistore_wallet/admin/balance_list.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saksh-escrow-system/aistore_setting_framework/reports.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_withdraw/Withdrawal.php:116
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_sell_crypto/Withdrawal.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_notifications/user_notification.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/saksh-escrow-system/aistore_wallet/admin/user_balance.php:13
- > PHP Fatal error
Uncaught Error: Class 'AistoreEscrow' not found in wp-content/plugins/saksh-escrow-system/aistore_escrow_extensions/aistore_sell_crypto/Saksh_crypto_sell.class.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/saksh-escrow-system/aistore_wallet/admin/user_transaction.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function AistoregetSupportMsg() in wp-content/plugins/saksh-escrow-system/aistore_wallet/admin/currency_setting.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
1 plugin tags: escrow system
saksh-escrow-system/index.php 92% from 13 tests
The main file in "Saksh Escrow System" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("saksh-escrow-system.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected6,501 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 3,212 | 596 | 6,349 |
PO File | 1 | 37 | 4 | 83 |
CSS | 2 | 33 | 0 | 69 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 20.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 11 | 14.29% |
▷ Public methods | 77 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 117 | |
▷ Named functions | 116 | 99.15% |
▷ Anonymous functions | 1 | 0.85% |
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
There are no PNG files in this plugin