Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.11ms] Passed 4 tests
This is a short check of server-side resources used by Rabo Smart Pay for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.45 ▼0.17 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.91 ▼0.82 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.45 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.71 ▼0.94 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.08 ▼2.49 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rabo Smart Pay for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲31 | 14.31 ▲0.15 | 1.81 ▼0.10 | 46.57 ▲2.57 |
Dashboard /wp-admin | 2,201 ▲21 | 5.56 ▼0.04 | 94.65 ▼2.22 | 42.82 ▼3.02 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▲0.03 | 40.76 ▼0.08 | 38.71 ▲4.56 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 22.89 ▼0.52 | 666.81 ▲20.02 | 55.24 ▲2.70 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.10 | 96.01 ▼5.11 | 41.92 ▼1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/ideal.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/abstract.php:3
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/creditcard.php:3
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/afterpay.php:3
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/sofort.php:3
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/paypal.php:3
- > PHP Fatal error
Uncaught Error: Class 'icwoorok2_abstract' not found in wp-content/plugins/woo-rabo-omnikassa/gateways/bancontact.php:3
- > 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 93% 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
7 plugin tags: payment, rabobank, smartpay, omnikassa, woocommerce...
woo-rabo-omnikassa/ic-woo-omnikassa-2.php 85% from 13 tests
This is the main PHP file of "Rabo Smart Pay for WooCommerce" version 2.2.9.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-rabo-omnikassa.php" instead of "ic-woo-omnikassa-2.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,404 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 265 | 94 | 1,024 |
PO File | 2 | 154 | 162 | 376 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 18.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 5 | 13.51% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
8 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icwoorok2_sofort.png | 14.24KB | 6.10KB | ▼ 57.15% |
images/icwoorok2_icwoorok2_afterpay.png | 7.63KB | 2.40KB | ▼ 68.52% |
images/icwoorok2_maestro.png | 6.61KB | 2.23KB | ▼ 66.22% |
images/icwoorok2_mastercard.png | 7.10KB | 2.24KB | ▼ 68.38% |
images/icwoorok2_ideal.png | 5.89KB | 1.90KB | ▼ 67.76% |