Benchmarks
Plugin footprint 65% 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: ▼7.63ms] Passed 4 tests
Server-side resources used by WP Simple Pay Lite Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.08 ▼5.44 |
Dashboard /wp-admin | 3.31 ▼0.03 | 52.14 ▼13.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.59 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.90 ▼10.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.63 ▲0.62 |
Manager /wp-admin/admin.php?page=stripe-transaction-page | 3.26 | 37.52 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_stripe_transaction_details |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Simple Pay Lite Manager: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.23 ▼0.03 | 1.80 ▼0.11 | 39.52 ▼4.12 |
Dashboard /wp-admin | 2,194 ▲17 | 5.55 ▼0.10 | 92.62 ▼10.27 | 40.76 ▼3.99 |
Posts /wp-admin/edit.php | 2,102 ▼1 | 2.02 ▲0.06 | 35.26 ▲0.82 | 35.42 ▼3.08 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.08 ▲0.04 | 690.57 ▲19.84 | 51.34 ▼9.46 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.23 ▲0.02 | 98.34 ▼9.06 | 42.12 ▼1.42 |
Manager /wp-admin/admin.php?page=stripe-transaction-page | 903 | 2.05 | 24.68 | 26.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_stripe_transaction_details
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% 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)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/stripe-manager/transaction-view.php
- 70× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: result in wp-content/plugins/stripe-manager/transaction-view.php on line 70
- > PHP Notice
Undefined variable: result in wp-content/plugins/stripe-manager/transaction-view.php on line 86
- > PHP Notice
Trying to get property 'stripe_object' of non-object in wp-content/plugins/stripe-manager/transaction-view.php on line 52
- > PHP Notice
Undefined variable: result in wp-content/plugins/stripe-manager/transaction-view.php on line 44
- > PHP Notice
Trying to get property 'stripe_amount' of non-object in wp-content/plugins/stripe-manager/transaction-view.php on line 40
- > PHP Notice
Trying to get property 'stripe_paid' of non-object in wp-content/plugins/stripe-manager/transaction-view.php on line 44
- > PHP Notice
Trying to get property 'stripe_card_object' of non-object in wp-content/plugins/stripe-manager/transaction-view.php on line 74
- > PHP Notice
Undefined variable: result in wp-content/plugins/stripe-manager/transaction-view.php on line 94
- > PHP Notice
Undefined variable: result in wp-content/plugins/stripe-manager/transaction-view.php on line 16
- > PHP Notice
Trying to get property 'stripe_address_line1' of non-object in wp-content/plugins/stripe-manager/transaction-view.php on line 106
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=stripe-transaction-page
- > Network (severe)
wp-content/plugins/simple-stripe-checkout-manager/css/stripe-transaction-style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 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
5 plugin tags: ecommerce, simple stripe checkout, stripe, e-commerce, stripe checkout
stripe-manager/simple-stripe-checkout-manager.php 92% from 13 tests
The primary PHP file in "WP Simple Pay Lite Manager" version 1.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("stripe-manager.php" instead of "simple-stripe-checkout-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin477 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 83 | 39 | 412 |
CSS | 1 | 0 | 0 | 60 |
JavaScript | 1 | 0 | 1 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin