Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.76ms] Passed 4 tests
This is a short check of server-side resources used by Payments for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.48 ▼0.85 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.76 ▼8.62 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.61 ▼4.53 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.63 ▼19.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 31.55 ▼2.30 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 175 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Payments for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.29 ▼1.09 | 5.07 ▲3.42 | 44.28 ▲2.43 |
Dashboard /wp-admin | 2,224 ▲33 | 4.89 ▼0.03 | 97.30 ▼2.66 | 40.81 ▼2.60 |
Posts /wp-admin/edit.php | 2,106 ▲35 | 2.02 ▲0.02 | 34.73 ▼4.13 | 35.64 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,527 ▼18 | 23.55 ▲5.46 | 594.00 ▼16.92 | 48.25 ▼0.20 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.22 ▲0.02 | 96.81 ▼2.57 | 42.03 ▼1.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/build.php
- 119× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/InvoiceLineItem.php:29
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\SingletonApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Balance.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Topup.php:27
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Invoice.php:71
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Source.php:49
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/InvoiceItem.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Stripe\\Exception\\ExceptionInterface' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Exception/UnexpectedValueException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Exception/ApiConnectionException.php:12
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\OAuth\\OAuthErrorException' not found in wp-content/plugins/payments-for-elementor/lib/stripe/stripe-php/lib/Exception/OAuth/InvalidGrantException.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4 in payments-for-elementor/assets to your readme.txt
payments-for-elementor/payments-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "Payments for Elementor" version 1.0.3
53 characters long description:
Add Stripe payment forms from right within Elementor.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
It is important to 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/payments-for-elementor/lib/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 | 156 | 1,296 | 4,831 | 6,680 |
Markdown | 2 | 515 | 0 | 685 |
CSS | 2 | 36 | 0 | 211 |
JavaScript | 2 | 16 | 6 | 117 |
JSON | 1 | 0 | 0 | 61 |
make | 1 | 5 | 0 | 17 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 5 | |
Traits | 7 | |
Classes | 130 | |
▷ Abstract classes | 8 | 6.15% |
▷ Concrete classes | 122 | 93.85% |
▷ Final classes | 0 | 0.00% |
Methods | 408 | |
▷ Static methods | 160 | 39.22% |
▷ Public methods | 360 | 88.24% |
▷ Protected methods | 18 | 4.41% |
▷ Private methods | 30 | 7.35% |
Functions | 21 | |
▷ Named functions | 16 | 76.19% |
▷ Anonymous functions | 5 | 23.81% |
Constants | 619 | |
▷ Global constants | 2 | 0.32% |
▷ Class constants | 617 | 99.68% |
▷ Public constants | 617 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin