Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.31ms] Passed 4 tests
A check of server-side resources used by Payment Gateway For EDD - SecurionPay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.25 ▼2.98 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.79 ▼6.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.42 ▼3.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.13 ▼4.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.76 ▲0.31 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Payment Gateway For EDD - SecurionPay
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.64 ▲0.06 | 40.43 ▼6.01 |
Dashboard /wp-admin | 2,195 ▲20 | 5.54 ▼0.16 | 80.64 ▼20.34 | 37.36 ▼5.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.04 | 38.56 ▼5.10 | 36.17 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 18.20 ▼5.57 | 616.37 ▼59.73 | 60.27 ▲3.52 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.00 | 102.82 ▼6.47 | 44.14 ▼0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Please fix the following items
- 71× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/SubscriptionListRequest.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Response\\AbstractResponse' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Response/Refund.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/CustomerListRequest.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/ChargeRequest.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Response\\AbstractResponse' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Response/Billing.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/SubscriptionUpdateRequest.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/PlanRequest.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Response\\AbstractResponse' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Response/ErrorResponse.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Response\\AbstractResponse' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Response/CustomerRecordProfit.php:4
- > PHP Fatal error
Uncaught Error: Class 'SecurionPay\\Request\\AbstractRequest' not found in wp-content/plugins/edd-securionpay/includes/vendor/securionpay/securionpay-php/lib/SecurionPay/Request/CrossSaleOfferListRequest.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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: payments, credit-card, edd, securionpay, payment gateway...
edd-securionpay/edd-securionpay.php 85% from 13 tests
The entry point to "Payment Gateway For EDD - SecurionPay" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
No dangerous file extensions were detected4,655 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 1,144 | 663 | 4,543 |
JSON | 2 | 0 | 0 | 61 |
Markdown | 1 | 21 | 0 | 51 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 2 | 2.41% |
▷ Concrete classes | 81 | 97.59% |
▷ Final classes | 0 | 0.00% |
Methods | 872 | |
▷ Static methods | 4 | 0.46% |
▷ Public methods | 854 | 97.94% |
▷ Protected methods | 1 | 0.11% |
▷ Private methods | 17 | 1.95% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected