Benchmarks
Plugin footprint 83% 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: ▲0.29MB] [CPU: ▼4.57ms] Passed 4 tests
A check of server-side resources used by E20R Better Members List for Paid Memberships Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 43.96 ▲1.35 |
Dashboard /wp-admin | 3.64 ▲0.29 | 48.73 ▼18.05 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 50.84 ▲4.55 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 101.54 ▼3.78 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.09 ▲2.22 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for E20R Better Members List for Paid Memberships Pro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.38 ▼1.38 | 1.96 ▲0.15 | 42.35 ▼0.63 |
Dashboard /wp-admin | 2,235 ▲50 | 4.86 ▼0.03 | 103.84 ▼14.91 | 41.99 ▼1.51 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.13 ▲0.10 | 42.35 ▲4.60 | 39.05 ▲5.94 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.39 ▲0.32 | 662.39 ▼9.13 | 53.56 ▲2.09 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.28 ▲0.09 | 97.84 ▼4.92 | 42.27 ▼0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 12× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/admin/bulk/Bulk_Update.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/modules/Multiple_Memberships.php
- > /wp-content/plugins/e20r-members-list/inc/mixpanel/mixpanel-php/examples/custom_consumer.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/admin/bulk/Bulk_Operations.php
- > /wp-content/plugins/e20r-members-list/class-e20r-members-list.php
- > /wp-content/plugins/e20r-members-list/ActivateUtilitiesPlugin.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/admin/pages/Members_List_Page.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/admin/export/Export_Members.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/admin/bulk/Bulk_Cancel.php
- > /wp-content/plugins/e20r-members-list/src/E20R/members-list/Members_List.php
- 127× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > [ Base_MixpanelBase - line 94 ]
destruct flush attempt #1
- > [ Base_MixpanelBase - line 94 ]
destruct flush attempt #7
- > PHP Warning
require_once(/path/to/vendor/mixpanel/mixpanel-php/lib/Mixpanel.php): failed to open stream: No such file or directory in wp-content/plugins/e20r-members-list/inc/mixpanel/mixpanel-php/examples/all_calls.php on line 2
- > [ ObConsumer - line 8 ]
This is the data from a fake error
- > [ Base_MixpanelBase - line 123 ]
Batch consumption failed!
- > [ Base_MixpanelBase - line 76 ]
Using token: MIXPANEL_PROJECT_TOKEN
- > [ Base_MixpanelBase - line 141 ]
Creating new socket at 1696724796
- > [ Base_MixpanelBase - line 94 ]
destruct flush attempt #1
- > [ Base_MixpanelBase - line 18 ]
Instantiated new Consumer
- > [ ObConsumer - line 8 ]
This is the data from a fake error
- > [ Base_MixpanelBase - line 94 ]
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: paid memberships pro, members, memberships, pmpro enhancements, better members list...
e20r-members-list/class-e20r-members-list.php 92% from 13 tests
The main PHP file in "E20R Better Members List for Paid Memberships Pro" ver. 8.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("e20r-members-list.php" instead of "class-e20r-members-list.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin22,468 lines of code in 123 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 24 | 1,633 | 168 | 10,659 |
PHP | 58 | 1,482 | 3,403 | 6,031 |
CSS | 7 | 109 | 43 | 1,863 |
JavaScript | 13 | 338 | 472 | 1,770 |
SVG | 8 | 4 | 24 | 971 |
Markdown | 6 | 235 | 0 | 918 |
JSON | 3 | 0 | 0 | 171 |
YAML | 2 | 8 | 9 | 44 |
XML | 2 | 3 | 0 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 3 | 6.67% |
▷ Concrete classes | 42 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 328 | |
▷ Static methods | 39 | 11.89% |
▷ Public methods | 270 | 82.32% |
▷ Protected methods | 25 | 7.62% |
▷ Private methods | 33 | 10.06% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/mixpanel/mixpanel-php/docs/images/icon-interface-13x13.png | 0.30KB | 0.19KB | ▼ 37.99% |
inc/mixpanel/mixpanel-php/docs/images/apple-touch-icon-72x72.png | 12.45KB | 5.26KB | ▼ 57.74% |
inc/mixpanel/mixpanel-php/docs/images/apple-touch-icon.png | 8.16KB | 3.82KB | ▼ 53.23% |
inc/mixpanel/mixpanel-php/docs/images/iviewer/iviewer.rotate_left.png | 1.46KB | 1.47KB | 0.00% |
inc/mixpanel/mixpanel-php/docs/images/iviewer/iviewer.zoom_out.png | 1.38KB | 0.51KB | ▼ 63.42% |