Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼8.47ms] Passed 4 tests
A check of server-side resources used by BIG FISH Payment Gateway for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 34.89 ▼2.11 |
Dashboard /wp-admin | 3.44 ▲0.09 | 44.53 ▼17.35 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 44.52 ▼6.73 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.17 ▼4.85 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.68 ▼4.95 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 95 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by BIG FISH Payment Gateway for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.13 | 1.65 ▲0.10 | 41.28 ▲0.82 |
Dashboard /wp-admin | 2,209 ▲23 | 5.83 ▲0.88 | 97.76 ▼20.34 | 40.48 ▼3.32 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.00 | 40.22 ▲2.85 | 37.45 ▲5.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.04 ▲0.00 | 649.81 ▼1.08 | 54.63 ▼8.02 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.03 | 93.36 ▼7.85 | 41.21 ▼2.55 |
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
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 78× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/barion2.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFish\\PaymentGateway\\Data\\Info\\InfoAbstract' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/api/BigFish/PaymentGateway/Data/Info/InfoCustomerGeneral.php:15
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/borgun.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/mkbszep.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/otpay.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/otpmultipont.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFish\\PaymentGateway\\Request\\CancelPaymentRegistration' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/api/BigFish/PaymentGateway/Request/OneClickTokenCancel.php:17
- > PHP Fatal error
Uncaught Error: Class 'BigFish\\PaymentGateway\\Request\\RequestAbstract' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/api/BigFish/PaymentGateway/Request/Init.php:21
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/otpsimple.php:7
- > PHP Fatal error
Uncaught Error: Class 'BigFishPaymentGatewayProvider' not found in wp-content/plugins/big-fish-payment-gateway-for-woocommerce/classes/providers/bbaruhitel.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
4 plugin tags: credit card, internet payment, payment, online payment
big-fish-payment-gateway-for-woocommerce/big_fish_payment_gateway.php 85% from 13 tests
Analyzing the main PHP file in "BIG FISH Payment Gateway for WooCommerce" version 2.2.0
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 161 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("big-fish-payment-gateway-for-woocommerce.php" instead of "big_fish_payment_gateway.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin6,408 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 1,242 | 4,451 | 5,063 |
PO File | 3 | 546 | 403 | 1,209 |
JSON | 1 | 0 | 0 | 136 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 86 | |
▷ Abstract classes | 3 | 3.49% |
▷ Concrete classes | 83 | 96.51% |
▷ Final classes | 0 | 0.00% |
Methods | 409 | |
▷ Static methods | 53 | 12.96% |
▷ Public methods | 327 | 79.95% |
▷ Protected methods | 73 | 17.85% |
▷ Private methods | 9 | 2.20% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 115 | |
▷ Global constants | 4 | 3.48% |
▷ Class constants | 111 | 96.52% |
▷ Public constants | 111 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin