Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.33ms] Passed 4 tests
An overview of server-side resources used by IDPay For Paid Memberships Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.33 ▼38.11 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.24 ▼44.27 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.85 ▼43.16 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.79 ▼95.79 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.57 ▼30.75 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
idpay_pmpro_version |
Browser metrics Passed 4 tests
An overview of browser requirements for IDPay For Paid Memberships Pro
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.23 ▼0.18 | 2.14 ▲0.39 | 47.54 ▲2.89 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.02 | 84.00 ▼2.72 | 38.44 ▲0.61 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.04 | 36.97 ▲1.47 | 35.00 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.02 ▼0.19 | 686.16 ▲5.27 | 54.20 ▼1.92 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.15 ▼0.10 | 100.18 ▼4.08 | 44.65 ▼1.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'PMProGateway_IDPay' not found
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- idpay_pmpro_version
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: gateway, paid memberships pro, memberships, restrict content, idpay
idpay-paid-memberships-pro/idpay-paid-memberships-pro.php Passed 13 tests
"IDPay For Paid Memberships Pro" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
46 characters long description:
IDPay payment gateway for Paid Memberships Pro
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin557 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 78 | 99 | 532 |
SVG | 1 | 0 | 1 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 14 | 87.50% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin