Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.26ms] Passed 4 tests
Analyzing server-side resources used by Cashflows for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.46 ▼8.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.92 ▼4.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.63 ▲0.55 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.62 ▼0.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.03 ▲7.88 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Cashflows 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.15 ▼0.19 | 1.78 ▲0.10 | 45.16 ▲1.02 |
Dashboard /wp-admin | 2,198 ▲23 | 5.60 ▼0.11 | 90.36 ▼21.59 | 42.98 ▼5.18 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.07 | 39.89 ▲2.60 | 38.37 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.55 ▲0.91 | 670.52 ▲74.61 | 55.15 ▲4.90 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.03 | 103.34 ▲7.89 | 46.95 ▲6.31 |
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_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'iccf_abstract' not found in wp-content/plugins/cashflows-payments-by-ideal-checkout/gateways/cashflows/cards.inc.php:3
- > PHP Fatal error
Uncaught Error: Class 'iccf_abstract' not found in wp-content/plugins/cashflows-payments-by-ideal-checkout/gateways/cashflows/paypal.inc.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/cashflows-payments-by-ideal-checkout/gateways/cashflows/abstract.inc.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: creditcard, cashflows, woocommerce, payment
cashflows-payments-by-ideal-checkout/ic-cashflows-for-woo.php 62% from 13 tests
"Cashflows for WooCommerce" version 2.1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("cashflows-payments-by-ideal-checkout.php" instead of "ic-cashflows-for-woo.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.8.0" instead of "5.8")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path should be prefixed with a forward slash character ("//")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,544 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 329 | 88 | 1,404 |
PO File | 1 | 46 | 51 | 140 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 27.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 22 | 26.51% |
▷ Public methods | 80 | 96.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.61% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin