Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.51ms] Passed 4 tests
This is a short check of server-side resources used by Simple PayPal Recurring Donations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.57 ▼3.76 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.02 ▼3.23 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.38 ▲2.39 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 97.51 ▼0.58 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 37.31 ▼2.48 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
sprdntplgn_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple PayPal Recurring Donations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 13.51 ▼0.84 | 8.11 ▲5.73 | 43.25 ▼1.93 |
Dashboard /wp-admin | 2,215 ▲38 | 5.69 ▲0.04 | 86.58 ▲0.88 | 43.17 ▼0.25 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.98 ▼0.01 | 42.06 ▲5.06 | 35.46 ▼6.21 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.27 ▲0.08 | 655.31 ▼18.38 | 53.96 ▼1.82 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.31 ▲0.10 | 98.23 ▼14.29 | 41.37 ▼7.53 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- sprdntplgn_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/simple-paypal-recurring-donations/simple-paypal-recurring-donations.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Basic Implementation with no options ([sprdntplgn])), #2 (Full form with everything enabled ([sprdntplgn presets="5.00:M|7.50:M|10.00:M" one-off=1])), #3 (Simple "bespoke" section ([sprdntplgn bespoke="simple"]))
simple-paypal-recurring-donations/simple-paypal-recurring-donations.php Passed 13 tests
The primary PHP file in "Simple PayPal Recurring Donations" version 1.0.3 is used by WordPress to initiate all plugin functionality
70 characters long description:
Plugin for accepting recurring PayPal donations via a simple shortcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin550 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 38 | 453 |
CSS | 1 | 18 | 5 | 84 |
JavaScript | 1 | 0 | 1 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 20.74KB | 8.95KB | ▼ 56.87% |
screenshot-3.png | 6.86KB | 3.29KB | ▼ 52.06% |
screenshot-1.png | 10.74KB | 4.92KB | ▼ 54.16% |