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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▲4.45ms] Passed 4 tests
A check of server-side resources used by Simple Stripe Checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.55 | 36.06 ▼5.65 |
Dashboard /wp-admin | 3.94 ▲0.64 | 49.53 ▲8.37 |
Posts /wp-admin/edit.php | 3.99 ▲0.64 | 50.00 ▲9.32 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 95.27 ▲11.27 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 38.40 ▲5.74 |
Webhook /wp-admin/admin.php?page=gssc_hook-config-form | 6.57 | 48.06 |
Simple Stripe Checkout /wp-admin/admin.php?page=gssc | 3.77 | 33.47 |
Product registration /wp-admin/admin.php?page=gssc_product-edit-form | 3.78 | 46.14 |
Initial setting /wp-admin/admin.php?page=gssc_initial-config-form | 3.77 | 35.37 |
Product list /wp-admin/admin.php?page=gssc_product-list | 3.77 | 33.17 |
Mail setting /wp-admin/admin.php?page=gssc_mail-config-form | 3.78 | 38.28 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 293 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Stripe Checkout
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲152 | 13.38 ▼1.33 | 8.55 ▲6.78 | 41.60 ▼3.85 |
Dashboard /wp-admin | 2,241 ▲60 | 5.57 ▼0.10 | 88.85 ▼17.27 | 39.93 ▲1.47 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.96 ▼0.05 | 38.97 ▼2.01 | 36.85 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.40 ▲0.33 | 597.16 ▼39.82 | 49.01 ▼3.42 |
Media Library /wp-admin/upload.php | 1,446 ▲43 | 4.20 ▲0.04 | 98.47 ▼6.65 | 42.49 ▼1.31 |
Webhook /wp-admin/admin.php?page=gssc_hook-config-form | 705 | 1.12 | 7.02 | 17.03 |
Simple Stripe Checkout /wp-admin/admin.php?page=gssc | 1,111 | 2.01 | 25.27 | 31.50 |
Product registration /wp-admin/admin.php?page=gssc_product-edit-form | 1,049 | 2.01 | 24.54 | 60.08 |
Initial setting /wp-admin/admin.php?page=gssc_initial-config-form | 834 | 2.00 | 23.33 | 30.46 |
Product list /wp-admin/admin.php?page=gssc_product-list | 1,111 | 2.03 | 24.59 | 27.58 |
Mail setting /wp-admin/admin.php?page=gssc_mail-config-form | 941 | 2.02 | 24.66 | 49.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 248× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractServiceFactory' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/Apps/AppsServiceFactory.php:12
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/AccountService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Exception/CardException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/ApplePayDomainService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Plan.php:48
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Tax/Calculation.php:28
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Treasury/FinancialAccountFeatures.php:21
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/FileService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/SubscriptionScheduleService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/lib/Service/SubscriptionService.php:7
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: simple, stripe, checkout
simple-stripe-checkout/simple-stripe-checkout.php Passed 13 tests
The entry point to "Simple Stripe Checkout" version 1.1.27 is a PHP file that has certain tags in its header comment area
66 characters long description:
決済プラットフォーム「Stripe」の連携プラグイン
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 fix the following items
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/simple-stripe-checkout/lib/stripe-php-10.12.1/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 280 | 2,622 | 13,248 | 11,426 |
Markdown | 2 | 778 | 0 | 1,518 |
PO File | 1 | 164 | 164 | 366 |
JSON | 1 | 0 | 0 | 48 |
JavaScript | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 358.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 9 | |
Traits | 9 | |
Classes | 265 | |
▷ Abstract classes | 10 | 3.77% |
▷ Concrete classes | 255 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 936 | |
▷ Static methods | 199 | 21.26% |
▷ Public methods | 843 | 90.06% |
▷ Protected methods | 50 | 5.34% |
▷ Private methods | 43 | 4.59% |
Functions | 27 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 27 | 100.00% |
Constants | 1,143 | |
▷ Global constants | 2 | 0.17% |
▷ Class constants | 1,141 | 99.83% |
▷ Public constants | 1,141 | 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 are no PNG files in this plugin