Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼1.70ms] Passed 4 tests
This is a short check of server-side resources used by Easy PayPal Shopping Cart
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.51 ▲0.58 |
Dashboard /wp-admin | 3.41 ▲0.11 | 48.80 ▼2.23 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 45.29 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 89.39 ▼3.26 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.71 ▼0.55 |
Easy Shopping Cart /wp-admin/options-general.php?page=easy-paypal-shopping-cart | 3.28 | 31.23 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpepsc_settingsoptions |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
wpepsc_my_plugin_notice_shown |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Easy PayPal Shopping Cart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲12 | 14.70 ▲0.32 | 1.74 ▼0.13 | 43.93 ▲0.06 |
Dashboard /wp-admin | 2,196 ▲16 | 5.55 ▼0.08 | 88.32 ▲5.13 | 38.89 ▲1.05 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.97 ▲0.01 | 35.87 ▼8.44 | 33.98 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,640 ▲114 | 23.18 ▲0.14 | 585.40 ▼52.17 | 52.02 ▼4.57 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▲0.02 | 96.88 ▼5.37 | 42.58 ▲1.77 |
Easy Shopping Cart /wp-admin/options-general.php?page=easy-paypal-shopping-cart | 1,359 | 2.07 | 22.76 | 39.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method wpepsc_WPeasypaypalshoppingcart::wpepsc_deactivate() should not be called statically
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- wpepsc_settingsoptions
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=easy-paypal-shopping-cart
- > Notice in wp-content/plugins/easy-paypal-shopping-cart/easy-paypal-shopping-cart.php+461
Undefined index: shopping_url
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: gateway, paypal, shopping cart, cart
easy-paypal-shopping-cart/easy-paypal-shopping-cart.php Passed 13 tests
"Easy PayPal Shopping Cart" version 1.1.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
86 characters long description:
A simple and easy way to integrate a PayPal shopping cart into your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected657 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 295 | 59 | 657 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 1 | 33.33% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin