Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.47ms] Passed 4 tests
An overview of server-side resources used by Payment Gateway through Stripe Installments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.36 ▲0.23 |
Dashboard /wp-admin | 3.33 ▼0.01 | 50.06 ▼8.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.37 ▼5.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.72 ▼16.32 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 33.89 ▲0.84 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 308 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Payment Gateway through Stripe Installments: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.21 ▼1.47 | 1.96 ▲0.12 | 41.59 ▼5.14 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.06 | 100.03 ▼1.12 | 39.61 ▼5.34 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.01 | 33.68 ▼13.36 | 33.16 ▼5.97 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 18.43 ▼4.80 | 592.20 ▼88.47 | 54.08 ▼12.00 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.01 | 95.10 ▼3.27 | 41.40 ▼4.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/build.php
- 249× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/FinancialConnections/AccountService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/FinancialConnections/AccountOwnership.php:15
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/Treasury/TransactionEntryService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/TestHelpers/Treasury/InboundTransferService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\StripeObject' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Collection.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Transfer.php:39
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/AccountService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Charge.php:68
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/lib/Service/ReviewService.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: payment, stripe, woocommerce, gateway, installments
payment-gateway-through-stripe-installments/wc-stripe-installments-payment-gateway.php 92% from 13 tests
The entry point to "Payment Gateway through Stripe Installments" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("payment-gateway-through-stripe-installments.php" instead of "wc-stripe-installments-payment-gateway.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please fix the following items
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/payment-gateway-through-stripe-installments/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 290 | 2,467 | 12,188 | 9,640 |
Markdown | 3 | 755 | 0 | 1,394 |
JSON | 2 | 0 | 0 | 116 |
JavaScript | 1 | 18 | 2 | 85 |
XML | 1 | 0 | 0 | 31 |
make | 1 | 10 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 9 | |
Traits | 8 | |
Classes | 264 | |
▷ Abstract classes | 10 | 3.79% |
▷ Concrete classes | 254 | 96.21% |
▷ Final classes | 0 | 0.00% |
Methods | 923 | |
▷ Static methods | 198 | 21.45% |
▷ Public methods | 836 | 90.57% |
▷ Protected methods | 41 | 4.44% |
▷ Private methods | 46 | 4.98% |
Functions | 14 | |
▷ Named functions | 1 | 7.14% |
▷ Anonymous functions | 13 | 92.86% |
Constants | 995 | |
▷ Global constants | 2 | 0.20% |
▷ Class constants | 993 | 99.80% |
▷ Public constants | 993 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin