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.10MB] [CPU: ▼5.47ms] Passed 4 tests
Server-side resources used by Ultimate Membership Pro - Paystack
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.16 | 44.15 ▼3.37 |
Dashboard /wp-admin | 3.71 ▲0.15 | 53.54 ▼1.54 |
Posts /wp-admin/edit.php | 3.77 ▲0.09 | 54.24 ▲2.90 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.09 | 92.79 ▼19.86 |
Media Library /wp-admin/upload.php | 3.58 ▲0.09 | 42.11 ▲5.19 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Ultimate Membership Pro - Paystack: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲6 | 14.38 ▲0.18 | 1.82 ▼0.11 | 41.07 ▼2.19 |
Dashboard /wp-admin | 2,195 ▲14 | 5.58 ▼0.20 | 88.95 ▼11.35 | 40.99 ▼1.80 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.01 ▼0.01 | 41.08 ▲3.12 | 38.01 ▲5.38 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.50 ▲0.16 | 668.83 ▲36.50 | 51.85 ▼22.00 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.23 ▲0.02 | 102.17 ▼2.07 | 46.41 ▲2.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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 21× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/ultimate-membership-pro-paystack/views/admin.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Decision.php:7
- > PHP Fatal error
Uncaught Error: Class 'Yabacon\\Paystack\\Exception\\PaystackException' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Exception/ValidationException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Plan.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Subaccount.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Invoice.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Balance.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Settlement.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Page.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Yabacon\\Paystack\\Contracts\\RouteInterface' not found in wp-content/plugins/ultimate-membership-pro-paystack/classes/libs/Paystack/Routes/Transferrecipient.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Addon activated), #2 (Order from the list of payment tools), #3 (Paystack activated in Payment Services)
ultimate-membership-pro-paystack/ultimate-membership-pro-paystack.php Passed 13 tests
The primary PHP file in "Ultimate Membership Pro - Paystack" version 1.3 is used by WordPress to initiate all plugin functionality
124 characters long description:
With the help of this addon, you may grow your business, membership system, and collect payments from anywhere in the world.
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
No dangerous file extensions were detected2,745 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 451 | 494 | 2,674 |
CSS | 2 | 8 | 20 | 48 |
SVG | 1 | 0 | 0 | 12 |
JSON | 1 | 0 | 0 | 11 |
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.29 |
Average class complexity | 6.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 90 | 45.00% |
▷ Public methods | 182 | 91.00% |
▷ Protected methods | 2 | 1.00% |
▷ Private methods | 16 | 8.00% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 18 | |
▷ Global constants | 2 | 11.11% |
▷ Class constants | 16 | 88.89% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/paystack.png | 6.31KB | 3.55KB | ▼ 43.76% |