Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.38MB] [CPU: ▲3.07ms] Passed 4 tests
Server-side resources used by Subscriptions & Memberships for PayPal
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 50.56 ▲5.46 |
Dashboard /wp-admin | 3.69 ▲0.38 | 56.12 ▼4.20 |
Posts /wp-admin/edit.php | 3.80 ▲0.45 | 56.83 ▲3.56 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 101.61 ▲7.45 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 43.65 ▲9.39 |
Settings /wp-admin/admin.php?page=wpeppsub_settings | 3.58 | 44.42 |
Subscribers /wp-admin/admin.php?page=wpeppsub_subscribers | 3.59 | 41.79 |
Buttons /wp-admin/admin.php?page=wpeppsub_buttons | 3.58 | 41.88 |
Payments /wp-admin/admin.php?page=wpeppsub_menu | 3.58 | 37.66 |
Server storage [IO: ▲0.16MB] [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: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
wpeppsub_notice_shown |
wpeppsub_settingsoptions |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Subscriptions & Memberships for PayPal
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲57 | 13.32 ▲0.15 | 2.00 ▲0.22 | 40.90 ▼2.88 |
Dashboard /wp-admin | 2,240 ▲34 | 5.86 ▲1.03 | 105.51 ▼11.70 | 41.05 ▼2.05 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.06 | 39.47 ▲3.54 | 37.38 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,718 ▲182 | 22.81 ▼0.17 | 653.75 ▲13.31 | 59.05 ▲7.18 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▲0.01 | 110.10 ▲2.45 | 45.67 ▲3.36 |
Settings /wp-admin/admin.php?page=wpeppsub_settings | 1,784 | 1.84 | 39.96 | 52.22 |
Subscribers /wp-admin/admin.php?page=wpeppsub_subscribers | 917 | 2.03 | 24.21 | 24.76 |
Buttons /wp-admin/admin.php?page=wpeppsub_buttons | 920 | 2.06 | 26.17 | 26.29 |
Payments /wp-admin/admin.php?page=wpeppsub_menu | 953 | 2.03 | 23.71 | 29.53 |
Uninstaller [IO: ✅] [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
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- wpeppsub_settingsoptions
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The SRP test was a success
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add a description for screenshot #6 in subscriptions-memberships-for-paypal/assets to your readme.txt
subscriptions-memberships-for-paypal/subscriptions-memberships-for-paypal.php Passed 13 tests
This is the main PHP file of "Subscriptions & Memberships for PayPal" version 1.1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
59 characters long description:
A simple and easy way to sell subscriptions or memberships.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,097 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 1,242 | 222 | 3,097 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin