Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼4.37ms] Passed 4 tests
This is a short check of server-side resources used by Freezy Stripe
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 37.09 ▼4.12 |
Dashboard /wp-admin | 3.61 ▲0.31 | 50.22 ▲2.49 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 49.22 ▼1.64 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 86.37 ▼14.19 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 34.93 ▲3.31 |
Settings /wp-admin/admin.php?page=freezy_stripe | 3.54 | 37.72 |
Freezy Stripe /wp-admin/options-general.php?page=freezy-stripe | 3.45 | 34.36 |
Freezy Payments /wp-admin/edit.php?post_type=freezy_payment | 3.53 | 39.29 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 61 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
freezy_stripe_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Freezy Stripe
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,121 ▲386 | 15.90 ▲1.52 | 10.50 ▲8.76 | 43.40 ▲4.41 |
Dashboard /wp-admin | 2,391 ▲203 | 6.66 ▲0.78 | 136.57 ▲27.84 | 39.28 ▼5.20 |
Posts /wp-admin/edit.php | 2,302 ▲213 | 3.82 ▲1.82 | 50.89 ▲10.60 | 32.52 ▼4.98 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 18.32 ▼4.85 | 578.27 ▼81.24 | 33.49 ▼21.26 |
Media Library /wp-admin/upload.php | 1,432 ▲41 | 4.34 ▼0.00 | 85.29 ▼21.27 | 41.70 ▼4.35 |
Settings /wp-admin/admin.php?page=freezy_stripe | 1,313 | 3.38 | 44.54 | 26.47 |
Freezy Stripe /wp-admin/options-general.php?page=freezy-stripe | 1,313 | 3.39 | 48.96 | 28.54 |
Freezy Payments /wp-admin/edit.php?post_type=freezy_payment | 1,282 | 3.66 | 50.12 | 27.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- freezy_stripe_version
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 45× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/InvoiceItem.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/Coupon.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/ApplicationFeeRefund.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/Token.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ExternalAccount' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/Card.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/TransferReversal.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/Collection.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/Account.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/FileUpload.php:5
- > PHP Fatal error
Uncaught Error: Class 'FreezyStripe\\Stripe\\ApiResource' not found in wp-content/plugins/freezy-stripe/classes/Stripe/lib/ApplicationFee.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: stripe, stripe payment, payment, free
freezy-stripe/freezy-stripe.php Passed 13 tests
"Freezy Stripe" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
70 characters long description:
A free and easy (get it?) way to take Stripe payments on your website!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,771 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 467 | 979 | 2,658 |
JavaScript | 2 | 23 | 4 | 66 |
CSS | 2 | 6 | 0 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 5 | 10.20% |
▷ Concrete classes | 44 | 89.80% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 91 | 39.06% |
▷ Public methods | 216 | 92.70% |
▷ Protected methods | 8 | 3.43% |
▷ Private methods | 9 | 3.86% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 9 | |
▷ Global constants | 2 | 22.22% |
▷ Class constants | 7 | 77.78% |
▷ Public constants | 7 | 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