Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.20ms] Passed 4 tests
A check of server-side resources used by Fr Multi Bank Transfer Payment Gateways for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.95 ▼7.82 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.39 ▼6.29 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.62 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 79.11 ▼14.50 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.10 ▼0.19 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Fr Multi Bank Transfer Payment Gateways for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.61 ▼1.04 | 1.57 ▼0.17 | 36.35 ▼15.08 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.96 | 112.05 ▲10.96 | 45.41 ▲1.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.06 | 39.64 ▲4.67 | 33.93 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,513 ▼15 | 17.61 ▼5.72 | 599.03 ▼70.55 | 62.40 ▲11.85 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.26 ▲0.08 | 94.59 ▼18.94 | 40.82 ▼7.02 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-3.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-10.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-8.php:18
- > PHP Fatal error
Uncaught Error: Class 'WC_Gateway_BACS' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer.php:17
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-2.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-6.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-5.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-1.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-4.php:18
- > PHP Fatal error
Uncaught Error: Class 'Fr_Multi_Bank_Transfer_Gateways_For_Woocommerce_Bank_Transfer' not found in wp-content/plugins/fr-multi-bank-transfer-payment-gateways-for-woocommerce/includes/gateways/class-fr-multi-bank-transfer-gateways-for-woocommerce-bank-transfer-9.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues 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
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== fr-multi-bank-transfer-payment-gateways-for-woocommerce ===
)
fr-multi-bank-transfer-payment-gateways-for-woocommerce/fr-multi-bank-transfer-gateways-for-woocommerce.php 85% from 13 tests
The entry point to "Fr Multi Bank Transfer Payment Gateways for WooCommerce" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fr-multi-bank-transfer-payment-gateways-for-woocommerce.php" instead of "fr-multi-bank-transfer-gateways-for-woocommerce.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected545 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 133 | 687 | 444 |
PO File | 1 | 28 | 34 | 83 |
Markdown | 1 | 8 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 3.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.06% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected