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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.39ms] Passed 4 tests
This is a short check of server-side resources used by Recurring PayPal Donations
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.96 ▼3.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.60 ▼3.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.73 ▲2.92 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.69 ▼9.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.18 ▼0.74 |
Server storage [IO: ▲0.13MB] [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: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
dntplgn_options |
db_upgraded |
Browser metrics Passed 4 tests
Recurring PayPal Donations: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.52 ▼1.01 | 9.60 ▲8.11 | 40.21 ▼0.37 |
Dashboard /wp-admin | 2,218 ▲40 | 5.65 ▲0.03 | 93.55 ▼9.00 | 41.36 ▼2.42 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.01 | 39.95 ▲1.59 | 37.01 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,543 ▲8 | 23.61 ▲0.18 | 623.62 ▼16.07 | 54.64 ▼10.68 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.21 ▲0.01 | 107.51 ▲9.43 | 45.67 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- dntplgn_options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/recurring-donation/donate_plugin.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Donate Plugin Settings.), #2 (Monthly Recurring Donation Option.), #3 (Once Off Donation Option.)
recurring-donation/donate_plugin.php 92% from 13 tests
The principal PHP file in "Recurring PayPal Donations" v. 1.7 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("recurring-donation.php" instead of "donate_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,681 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 45 | 50 | 1,274 |
PHP | 1 | 39 | 36 | 343 |
PO File | 1 | 12 | 15 | 46 |
JavaScript | 1 | 0 | 1 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 6 | |
▷ Named functions | 6 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
screenshot-2.png | 5.78KB | 4.96KB | ▼ 14.17% |
css/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
screenshot-1.png | 12.71KB | 11.82KB | ▼ 6.99% |
css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |