Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼0.21MB] [CPU: ▼18.65ms] Passed 4 tests
An overview of server-side resources used by Easy PayPal Custom Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 35.71 ▼4.68 |
Dashboard /wp-admin | 3.44 ▲0.13 | 51.56 ▼0.26 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.50 ▼4.81 |
Add New Post /wp-admin/post-new.php | 4.72 ▼1.17 | 45.40 ▼64.86 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.23 ▲0.47 |
Easy PayPal Custom Fields /wp-admin/options-general.php?page=easy-paypal-custom-fields | 3.31 | 30.83 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
rps_eppcf_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy PayPal Custom Fields
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.21 ▼1.04 | 2.22 ▲0.53 | 41.99 ▲1.90 |
Dashboard /wp-admin | 2,212 ▲21 | 4.90 ▲0.01 | 112.92 ▲10.19 | 42.38 ▲1.43 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▼0.00 | 35.60 ▼6.65 | 30.75 ▼7.70 |
Add New Post /wp-admin/post-new.php | 1,523 ▼14 | 22.83 ▲4.67 | 642.50 ▼12.22 | 57.55 ▼9.90 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.17 ▼0.05 | 101.12 ▼7.35 | 47.94 ▲4.69 |
Easy PayPal Custom Fields /wp-admin/options-general.php?page=easy-paypal-custom-fields | 1,052 | 1.84 | 24.89 | 39.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- rps_eppcf_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% 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-custom-fields
- > Notice in wp-content/plugins/easy-paypal-custom-fields/easy-paypal-custom-fields.php+374
Undefined variable: args
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-paypal-custom-fields/easy-paypal-custom-fields.php:108
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Set default options for the plugin), #2 (Add further individual options when creating a new post), #3 (Change default settings when creating a new post)
easy-paypal-custom-fields/easy-paypal-custom-fields.php Passed 13 tests
The entry point to "Easy PayPal Custom Fields" version 2.0.8 is a PHP file that has certain tags in its header comment area
128 characters long description:
This plugin uses custom fields to make creating a PayPal button super-easy. There is no complicated shortcut syntax to remember.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin967 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 213 | 212 | 698 |
CSS | 1 | 39 | 6 | 199 |
JavaScript | 2 | 61 | 33 | 70 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 102.00 |
▷ Minimum class complexity | 102.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin