Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.24ms] Passed 4 tests
This is a short check of server-side resources used by GoDaddy Payments for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.22 ▼3.22 |
Dashboard /wp-admin | 3.31 ▼0.03 | 46.81 ▼14.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.59 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.85 ▼14.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.63 ▲2.31 |
Server storage [IO: ▲7.65MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 399 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GoDaddy Payments for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲39 | 14.37 ▲0.02 | 1.73 ▼0.04 | 38.80 ▼5.95 |
Dashboard /wp-admin | 2,203 ▲23 | 5.61 ▼0.03 | 91.91 ▼10.69 | 38.16 ▼7.58 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▼0.03 | 39.41 ▲2.21 | 38.26 ▲3.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.44 ▲0.08 | 674.55 ▼29.27 | 58.13 ▼6.89 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.24 ▲0.06 | 94.62 ▼1.86 | 41.19 ▼0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SkyVerge\\WooCommerce\\PluginFramework\\v5_11_12\\Payment_Gateway\\Handlers\\Abstract_Payment_Handler' not found in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:26
- > PHP Fatal error
Uncaught Error: Class 'GoDaddy\\WooCommerce\\Poynt\\Webhooks\\WebhooksHandler' not found in wp-content/plugins/godaddy-payments/src/Webhooks/PoyntWebhooksHandler.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor.php:28
- > PHP Notice
Undefined variable: fields in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php on line 39
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/godaddy-payments/src/Shipping/LocalDelivery/LocalDelivery.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php:88
- > PHP Notice
Undefined variable: index in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php on line 35
- > PHP Notice
Undefined variable: token in wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php on line 37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: woo, ecommerce, woocommerce, credit card, checkout...
godaddy-payments/godaddy-payments.php 92% from 13 tests
The main file in "GoDaddy Payments for WooCommerce" v. 1.6.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin56,585 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 53 | 14,805 | 21,731 | 33,627 |
PHP | 192 | 10,660 | 23,342 | 21,501 |
JavaScript | 18 | 176 | 365 | 605 |
Markdown | 2 | 113 | 0 | 423 |
CSS | 11 | 43 | 0 | 287 |
JSON | 1 | 0 | 0 | 110 |
SVG | 23 | 0 | 0 | 25 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 18.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 274.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 14 | |
Traits | 1 | |
Classes | 161 | |
▷ Abstract classes | 30 | 18.63% |
▷ Concrete classes | 131 | 81.37% |
▷ Final classes | 0 | 0.00% |
Methods | 2,019 | |
▷ Static methods | 232 | 11.49% |
▷ Public methods | 1,379 | 68.30% |
▷ Protected methods | 567 | 28.08% |
▷ Private methods | 73 | 3.62% |
Functions | 17 | |
▷ Named functions | 1 | 5.88% |
▷ Anonymous functions | 16 | 94.12% |
Constants | 159 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 159 | 100.00% |
▷ Public constants | 151 | 94.97% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 compressed PNG files occupy 0.09MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/assets/images/card-visa-debit.png | 0.80KB | 0.86KB | 0.00% |
vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/assets/images/card-echeck.png | 1.09KB | 1.15KB | 0.00% |
vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/assets/images/card-mastercard.png | 3.87KB | 2.16KB | ▼ 44.22% |
vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/assets/images/card-amazon.png | 0.71KB | 0.75KB | 0.00% |
vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/assets/images/card-discover.png | 1.25KB | 1.30KB | 0.00% |