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.13MB] [CPU: ▼8.62ms] Passed 4 tests
A check of server-side resources used by Easy Accept Payments for PayPal
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.60 ▼2.15 |
Dashboard /wp-admin | 3.44 ▲0.14 | 49.27 ▼3.83 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.99 ▼1.51 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.96 ▼26.98 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.33 ▼0.21 |
WP PayPal Payment /wp-admin/options-general.php?page=wordpress-easy-paypal-payment-or-donation-accept-plugin/wpapp_admin_menu.php | 3.33 | 37.03 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 22 new options
New WordPress options |
---|
wp_pp_payment_value1 |
wp_pp_cancel_url |
db_upgraded |
wp_pp_payment_value2 |
paypal_payment_currency |
payment_button_type |
wp_pp_return_url |
can_compress_scripts |
widget_theysaidso_widget |
wp_pp_ref_title |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Accept Payments for PayPal
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.99 ▼0.52 | 4.83 ▲2.96 | 44.15 ▼1.40 |
Dashboard /wp-admin | 2,227 ▲21 | 5.83 ▼0.03 | 103.18 ▲1.62 | 40.13 ▼2.11 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.04 ▼0.01 | 39.99 ▼1.90 | 36.68 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.39 ▲0.33 | 673.74 ▼7.11 | 60.59 ▼0.40 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.24 ▲0.02 | 98.93 ▼2.92 | 40.90 ▼4.66 |
WP PayPal Payment /wp-admin/options-general.php?page=wordpress-easy-paypal-payment-or-donation-accept-plugin/wpapp_admin_menu.php | 1,242 | 1.71 | 30.84 | 33.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 22 options
- paypal_payment_currency
- widget_recent-comments
- payment_button_type
- wp_pp_payment_value1
- wp_pp_show_other_amount
- wp_pp_payment_item2
- widget_recent-posts
- theysaidso_admin_options
- wp_pp_payment_value3
- wp_pp_ref_title
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-easy-paypal-payment-or-donation-accept-plugin/wpapp_admin_menu.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wordpress-easy-paypal-payment-or-donation-accept-plugin/WP_Accept_Paypal_Payment.php 85% from 13 tests
"Easy Accept Payments for PayPal" version 4.9.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wordpress-easy-paypal-payment-or-donation-accept-plugin.php" instead of "WP_Accept_Paypal_Payment.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin744 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 103 | 33 | 714 |
CSS | 1 | 2 | 0 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 files were detected