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.92MB] [CPU: ▲1.92ms] Passed 4 tests
An overview of server-side resources used by Import Members from CSV for Paid Memberships Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.42 ▲0.95 | 53.01 ▲9.40 |
Dashboard /wp-admin | 4.24 ▲0.89 | 58.30 ▼5.43 |
Posts /wp-admin/edit.php | 4.29 ▲0.93 | 57.56 ▲10.62 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.93 | 99.17 ▼6.91 |
Media Library /wp-admin/upload.php | 4.16 ▲0.93 | 50.99 ▲13.47 |
Import Members /wp-admin/admin.php?page=pmpro-import-members-from-csv | 4.07 | 45.31 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Import Members from CSV for Paid Memberships Pro: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.38 ▲0.24 | 1.90 ▲0.19 | 39.97 ▼4.53 |
Dashboard /wp-admin | 2,220 ▲40 | 5.68 ▲0.08 | 85.42 ▼8.42 | 40.20 ▲0.94 |
Posts /wp-admin/edit.php | 2,125 ▲28 | 2.16 ▲0.13 | 38.86 ▲2.12 | 35.29 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,551 ▲6 | 17.50 ▼5.73 | 673.16 ▼10.31 | 51.21 ▼6.46 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.25 ▼0.06 | 99.00 ▼0.75 | 44.73 ▲0.17 |
Import Members /wp-admin/admin.php?page=pmpro-import-members-from-csv | 1,171 | 2.38 | 30.90 | 34.07 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'E20R\\Import_Members\\Validate\\Base_Validation' not found in wp-content/plugins/pmpro-import-members-from-csv/src/modules/PMPro/class-column-validation.php:29
- > PHP Fatal error
Uncaught Error: Class 'E20R\\Import_Members\\Validate\\Base_Validation' not found in wp-content/plugins/pmpro-import-members-from-csv/src/modules/Users/class-column-validation.php:27
- > PHP Fatal error
Uncaught Error: Class 'E20R\\Import_Members\\Validate\\Base_Validation' not found in wp-content/plugins/pmpro-import-members-from-csv/src/modules/BuddyPress/class-column-validation.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function E20R\\Import_Members\\Modules\\PMPro\\add_action() in wp-content/plugins/pmpro-import-members-from-csv/src/modules/PMPro/class-import-sponsors.php:473
- > PHP Fatal error
Uncaught Error: Class 'E20R\\Import_Members\\Validate\\Base_Validation' not found in wp-content/plugins/pmpro-import-members-from-csv/src/validate/class-validate.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pmpro-import-members-from-csv/class.pmpro-import-members.php:60
- > PHP Fatal error
Uncaught Error: Class 'E20R\\Import_Members\\Validate\\Validate' not found in wp-content/plugins/pmpro-import-members-from-csv/src/modules/Users/class-user-validation.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function E20R\\Import_Members\\Modules\\BuddyPress\\add_action() in wp-content/plugins/pmpro-import-members-from-csv/src/modules/BuddyPress/class-buddypress.php:140
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pmpro-import-members-from-csv/class-activateutilitiesplugin.php:213
- > PHP Fatal error
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 86% 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 need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
pmpro-import-members-from-csv/class.pmpro-import-members.php 77% from 13 tests
"Import Members from CSV for Paid Memberships Pro" version 3.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pmpro-import-members-from-csv.php" instead of "class.pmpro-import-members.php")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
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
There were no executable files found in this plugin6,033 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,312 | 2,444 | 4,667 |
Markdown | 4 | 196 | 0 | 1,034 |
JavaScript | 1 | 63 | 26 | 241 |
YAML | 1 | 3 | 1 | 57 |
CSS | 1 | 0 | 17 | 21 |
HTML | 1 | 4 | 19 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 24.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 5.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 2 | 6.67% |
▷ Concrete classes | 28 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 33 | 20.37% |
▷ Public methods | 134 | 82.72% |
▷ Protected methods | 2 | 1.23% |
▷ Private methods | 26 | 16.05% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin