Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.07ms] Passed 4 tests
Server-side resources used by Accept Stripe Payments Using Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.01 ▲0.73 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.43 ▼16.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.74 ▼6.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.68 ▼25.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.61 ▲1.31 |
Stripe Add-on /wp-admin/edit.php?post_type=cf7sa_data | 3.04 | 26.25 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 309 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Accept Stripe Payments Using Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.23 ▼1.15 | 1.91 ▲0.23 | 41.19 ▼3.10 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▼0.03 | 102.29 ▼0.38 | 38.09 ▼1.84 |
Posts /wp-admin/edit.php | 2,071 ▼18 | 1.97 ▼0.08 | 34.45 ▼8.56 | 34.27 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.08 ▼0.09 | 671.13 ▲13.26 | 55.12 ▼4.08 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.06 | 93.01 ▼7.91 | 39.30 ▼3.52 |
Stripe Add-on /wp-admin/edit.php?post_type=cf7sa_data | 28 | 0.44 | 0.07 | 3.74 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/front/template/cf7sa-info.php
- > /wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/update_certs.php
- 249× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Mandate.php:22
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\StripeObject' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Collection.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Service/BillingPortal/ConfigurationService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Service/Treasury/TransactionService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Tax/Transaction.php:29
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Service/SetupAttemptService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Service/Radar/ValueListItemService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/Coupon.php:36
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/CreditNoteLineItem.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Stripe\\BaseStripeClientInterface' not found in wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/sdk/StripeStreamingClientInterface.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=cf7sa_data
- > Network (severe)
wp-admin/edit.php?post_type=cf7sa_data - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Stripe Demo Form), #2 (Stripe Settings and Configuration), #3 (Stripe Card Field Configuration), #4 (Stripe Payments List Page), #5 (Stripe Transaction Detail Page)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
accept-stripe-payments-using-contact-form-7/accept-stripe-payments-using-contact-form-7.php 92% from 13 tests
The principal PHP file in "Accept Stripe Payments Using Contact Form 7" v. 1.9 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Please make sure to remedy the following
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/accept-stripe-payments-using-contact-form-7/inc/lib/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 292 | 2,838 | 12,505 | 10,941 |
JavaScript | 8 | 1,313 | 380 | 5,548 |
CSS | 6 | 75 | 0 | 537 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 9 | |
Traits | 9 | |
Classes | 269 | |
▷ Abstract classes | 10 | 3.72% |
▷ Concrete classes | 259 | 96.28% |
▷ Final classes | 0 | 0.00% |
Methods | 933 | |
▷ Static methods | 182 | 19.51% |
▷ Public methods | 849 | 91.00% |
▷ Protected methods | 41 | 4.39% |
▷ Private methods | 43 | 4.61% |
Functions | 17 | |
▷ Named functions | 3 | 17.65% |
▷ Anonymous functions | 14 | 82.35% |
Constants | 1,037 | |
▷ Global constants | 10 | 0.96% |
▷ Class constants | 1,027 | 99.04% |
▷ Public constants | 1,027 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin