Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▲0.37ms] Passed 4 tests
A check of server-side resources used by Accept Donations with PayPal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 36.47 ▼0.64 |
Dashboard /wp-admin | 3.56 ▲0.26 | 46.77 ▲0.49 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.76 ▲10.51 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 100.89 ▲1.15 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.93 ▲0.47 |
Donations /wp-admin/admin.php?page=wpedon_menu | 3.46 | 35.04 |
Buttons /wp-admin/admin.php?page=wpedon_buttons | 3.46 | 34.73 |
Settings /wp-admin/admin.php?page=wpedon_settings | 3.45 | 34.56 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
wpedon_settingsoptions |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
wpedon_notice_shown |
widget_recent-posts |
widget_wpedon_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accept Donations with PayPal
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.24 ▼1.12 | 1.58 ▼0.02 | 41.69 ▲2.78 |
Dashboard /wp-admin | 2,230 ▲41 | 4.85 ▼0.07 | 109.27 ▼3.72 | 41.62 ▼2.90 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 1.99 ▼0.03 | 40.11 ▲0.89 | 35.34 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,641 ▲99 | 23.39 ▲5.19 | 644.46 ▼23.33 | 54.57 ▼7.72 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.22 ▲0.12 | 97.90 ▼17.83 | 44.44 ▼4.83 |
Donations /wp-admin/admin.php?page=wpedon_menu | 941 | 2.06 | 24.24 | 29.79 |
Buttons /wp-admin/admin.php?page=wpedon_buttons | 928 | 2.04 | 23.64 | 25.19 |
Settings /wp-admin/admin.php?page=wpedon_settings | 1,419 | 2.07 | 26.77 | 38.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method wpedon_wpeasydonation::wpedon_deactivate() should not be called statically
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- wpedon_settingsoptions
- widget_theysaidso_widget
- widget_wpedon_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: donation, paypal, ecommerce, donate, charity
easy-paypal-donation/easy-paypal-donation.php Passed 13 tests
The main file in "Accept Donations with PayPal" v. 1.3.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
65 characters long description:
A simple and easy way to accept PayPal donations on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,936 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 604 | 119 | 1,936 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin