Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.74ms] Passed 4 tests
Server-side resources used by paymendo - Bank Transfer (Lite)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.09 ▼3.79 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.98 ▼6.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.39 ▲0.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.47 ▼16.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.59 ▲1.94 |
Server storage [IO: ▲9.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 105 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_paymendo_transfer_notifications |
wp_paymendo_bank_accounts |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by paymendo - Bank Transfer (Lite)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.21 ▼1.18 | 1.71 ▲0.13 | 44.27 ▲2.19 |
Dashboard /wp-admin | 2,215 ▲29 | 4.85 ▼0.10 | 105.63 ▼5.44 | 42.62 ▲4.25 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.00 ▲0.02 | 35.79 ▼4.72 | 33.58 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 23.37 ▼0.09 | 641.30 ▼5.05 | 66.54 ▲1.48 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.25 ▲0.04 | 97.71 ▼3.72 | 41.59 ▼6.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_paymendo_transfer_notifications
- wp_paymendo_bank_accounts
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Grilabs\\Paymendo\\BankTransfer\\wp_remote_get() in wp-content/plugins/paymendo-bank-transfer/lib/Grilabs_promotions.php:21
- > PHP Fatal error
Uncaught Error: Class 'WC_Gateway_Paymendo_Bank_Transfer' not found in wp-content/plugins/paymendo-bank-transfer/inc/WC_Gateway_Paymendo_Bank_Transfer.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/paymendo-bank-transfer/views/site/order-received-page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/paymendo-bank-transfer/views/site/order-details-page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function Grilabs\\Paymendo\\BankTransfer\\add_action() in wp-content/plugins/paymendo-bank-transfer/PaymendoBankTransfer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/paymendo-bank-transfer/views/blocks/header.php:22
- > PHP Fatal error
Uncaught Error: Class 'WC_Gateway_Paymendo_Bank_Transfer' not found in wp-content/plugins/paymendo-bank-transfer/inc/WC_Gateway_Paymendo_Bank_Transfer.php:125
- > PHP Fatal error
Uncaught Error: Class 'WC_Email' not found in wp-content/plugins/paymendo-bank-transfer/inc/emails/payment-completed.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Grilabs\\Paymendo\\BankTransfer\\wp_remote_get() in wp-content/plugins/paymendo-bank-transfer/lib/Grilabs_promotions.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: havale ile deme, havale bildirim formu, offline payment, havale entegrasyonu, havale bildirimi
paymendo-bank-transfer/paymendo-bank-transfer.php 92% from 13 tests
The principal PHP file in "paymendo - Bank Transfer (Lite)" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected61,151 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 22 | 8,145 | 177 | 45,241 |
JavaScript | 13 | 3,843 | 1,716 | 13,724 |
PHP | 19 | 266 | 107 | 1,777 |
PO File | 1 | 148 | 179 | 329 |
SVG | 2 | 0 | 2 | 80 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 37 | 97.37% |
▷ Anonymous functions | 1 | 2.63% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
20 PNG files occupy 0.35MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo/turkiye-finans.png | 25.23KB | 8.18KB | ▼ 67.59% |
assets/images/paymendo-logo.png | 16.29KB | 8.39KB | ▼ 48.48% |
assets/images/logo/albaraka-turk.png | 18.97KB | 4.77KB | ▼ 74.85% |
assets/images/logo/sekerbank.png | 25.48KB | 5.29KB | ▼ 79.25% |
assets/images/logo/denizbank.png | 23.23KB | 5.20KB | ▼ 77.60% |