Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.05ms] Passed 4 tests
This is a short check of server-side resources used by TeraWallet – Best WooCommerce Wallet System With Cashback Rewards, Partial Payment, Wallet Refunds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.65 ▼13.53 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.10 ▼4.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.38 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.57 ▼3.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.12 ▲0.84 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 103 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for TeraWallet – Best WooCommerce Wallet System With Cashback Rewards, Partial Payment, Wallet Refunds
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲37 | 14.54 ▲0.20 | 1.58 ▼0.27 | 38.54 ▼3.94 |
Dashboard /wp-admin | 2,201 ▲21 | 5.63 ▼0.05 | 93.07 ▼9.29 | 43.94 ▲1.91 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.14 ▲0.14 | 39.57 ▲1.43 | 38.66 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.07 ▼0.33 | 588.98 ▼46.85 | 49.02 ▼13.56 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.25 ▲0.01 | 94.56 ▼6.41 | 43.15 ▲1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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 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 items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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/woo-wallet/includes/admin/class-woo-wallet-transaction-details.php on line 11
- > 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/woo-wallet/includes/admin/class-woo-wallet-balance-details.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/woo-wallet/includes/class-woo-wallet-payments-blocks.php:9
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/woo-wallet/includes/admin/class-woo-wallet-transaction-details.php on line 11
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/woo-wallet/includes/admin/class-woo-wallet-balance-details.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-wallet/includes/admin/class-woo-wallet-transaction-details.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-wallet/includes/admin/class-woo-wallet-balance-details.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function woo_wallet() in wp-content/plugins/woo-wallet/includes/class-woo-wallet-extensions.php:362
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/woo-wallet/includes/class-woo-wallet-widgets.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function woo_wallet() in wp-content/plugins/woo-wallet/includes/class-woo-wallet-settings.php:522
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: woocommerce wallet, wc wallet, woocommerce credits, partial payment, woo wallet...
woo-wallet/woo-wallet.php 92% from 13 tests
The main PHP script in "TeraWallet – Best WooCommerce Wallet System With Cashback Rewards, Partial Payment, Wallet Refunds" version 1.4.10 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("6.0" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin10,305 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 794 | 3,177 | 8,072 |
CSS | 9 | 42 | 49 | 1,232 |
JavaScript | 17 | 39 | 40 | 535 |
Sass | 3 | 12 | 0 | 436 |
SVG | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 25.05 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 1 | 2.70% |
▷ Concrete classes | 36 | 97.30% |
▷ Final classes | 2 | 5.56% |
Methods | 412 | |
▷ Static methods | 40 | 9.71% |
▷ Public methods | 377 | 91.50% |
▷ Protected methods | 16 | 3.88% |
▷ Private methods | 19 | 4.61% |
Functions | 39 | |
▷ Named functions | 38 | 97.44% |
▷ Anonymous functions | 1 | 2.56% |
Constants | 3 | |
▷ Global constants | 3 | 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
10 PNG files occupy 0.19MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wallet-importer.png | 39.88KB | 15.83KB | ▼ 60.31% |
assets/images/wallet-affiliatewp.png | 44.98KB | 17.52KB | ▼ 61.05% |
assets/jquery/css/images/ui-icons_777777_256x240.png | 7.00KB | 4.18KB | ▼ 40.22% |
assets/jquery/css/images/ui-icons_555555_256x240.png | 6.96KB | 4.18KB | ▼ 39.91% |
assets/jquery/css/images/ui-icons_777620_256x240.png | 4.56KB | 4.18KB | ▼ 8.31% |