Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.91ms] Passed 4 tests
An overview of server-side resources used by Galax Pay WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.02 ▼5.31 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.02 ▼5.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.28 ▲0.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.37 ▼7.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.57 ▼1.31 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Galax Pay WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.34 ▼0.01 | 1.85 ▲0.00 | 49.12 ▲5.73 |
Dashboard /wp-admin | 2,202 ▲22 | 5.51 ▼0.10 | 84.03 ▼5.44 | 40.29 ▼0.92 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.04 | 46.94 ▲11.11 | 43.39 ▲10.81 |
Add New Post /wp-admin/post-new.php | 1,437 ▼98 | 21.86 ▲3.78 | 542.96 ▼116.75 | 30.53 ▼33.75 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.16 ▼0.04 | 103.21 ▲1.33 | 43.17 ▼6.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GalaxPayBaseGateway' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayPix.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_API' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPaySettings.php:5
- > PHP Fatal error
Uncaught Error: Class 'GalaxPayBaseGateway' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayBoleto.php:2
- > PHP Fatal error
Trait 'GalaxPayGetInfoOrder' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayPayment.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayDependencies.php on line 4
- > PHP Fatal error
Trait 'GalaxActionStatusWebhook' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayWebhooks.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayBaseGateway.php:3
- > PHP Fatal error
Uncaught Error: Class 'GalaxPayBaseGateway' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayCreditCard.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayDependencies.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'GalaxPayBaseGateway' not found in wp-content/plugins/galax-pay-woocommerce/includes/GalaxPayPixBoleto.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
galax-pay-woocommerce/galax-pay-woocommerce.php 92% from 13 tests
The main PHP file in "Galax Pay WooCommerce" ver. 5.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
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
Good job! No executable or dangerous file extensions detected2,752 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,013 | 92 | 2,703 |
JavaScript | 2 | 9 | 0 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.58 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 15 | |
▷ Abstract classes | 1 | 6.67% |
▷ Concrete classes | 14 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 13 | 6.10% |
▷ Public methods | 126 | 59.15% |
▷ Protected methods | 53 | 24.88% |
▷ Private methods | 34 | 15.96% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 7 | 58.33% |
▷ Class constants | 5 | 41.67% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin