Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.11ms] Passed 4 tests
Server-side resources used by Fondy — WooCommerce Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 44.33 ▼15.15 |
Dashboard /wp-admin | 3.37 ▲0.02 | 51.57 ▼4.87 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 53.53 ▲1.08 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 89.58 ▼14.94 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 37.44 ▼1.49 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fondy — WooCommerce Payment Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.19 | 2.00 ▲0.12 | 45.93 ▲4.50 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.21 | 90.69 ▼3.61 | 41.35 ▼6.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▲0.02 | 39.16 ▲4.19 | 39.07 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.08 ▼0.07 | 665.71 ▼28.94 | 62.97 ▲14.24 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▼0.08 | 100.54 ▼18.87 | 40.74 ▼9.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/fondy-woocommerce-payment-gateway/includes/abstract-wc-fondy-payment-gateway.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Fondy_Payment_Gateway' not found in wp-content/plugins/fondy-woocommerce-payment-gateway/includes/payment-methods/class-wc-gateway-fondy-card.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Fondy_Payment_Gateway' not found in wp-content/plugins/fondy-woocommerce-payment-gateway/includes/payment-methods/class-wc-gateway-fondy-localmethods.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Fondy_Payment_Gateway' not found in wp-content/plugins/fondy-woocommerce-payment-gateway/includes/payment-methods/class-wc-gateway-fondy-bank.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #13, #14, #15 in fondy-woocommerce-payment-gateway/assets to your readme.txt
fondy-woocommerce-payment-gateway/fondy-woocommerce-payment-gateway.php 92% from 13 tests
"Fondy — WooCommerce Payment Gateway" version 3.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.5" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,561 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 207 | 307 | 1,122 |
SVG | 4 | 9 | 2 | 172 |
PO File | 1 | 63 | 90 | 142 |
JavaScript | 3 | 0 | 0 | 103 |
CSS | 3 | 4 | 1 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 13 | 18.31% |
▷ Public methods | 69 | 97.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.82% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 17 | |
▷ Global constants | 5 | 29.41% |
▷ Class constants | 12 | 70.59% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-128x128.png | 3.48KB | 2.26KB | ▼ 35.12% |
assets/img/logo.png | 14.61KB | 8.22KB | ▼ 43.76% |