Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.66MB] [CPU: ▲10.95ms] Passed 4 tests
This is a short check of server-side resources used by Import and export users and customers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.14 ▲2.68 | 56.62 ▲18.03 |
Dashboard /wp-admin | 5.99 ▲2.64 | 65.25 ▲7.17 |
Posts /wp-admin/edit.php | 6.02 ▲2.66 | 68.15 ▲14.24 |
Add New Post /wp-admin/post-new.php | 8.57 ▲2.69 | 108.55 ▲4.35 |
Media Library /wp-admin/upload.php | 5.89 ▲2.66 | 58.07 ▲27.36 |
Import and export users and customers /wp-admin/tools.php?page=acui | 5.91 | 60.01 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 6.09 | 63.57 |
Server storage [IO: ▲1.14MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 170 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_claims |
wp_actionscheduler_actions |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
New WordPress options |
---|
action_scheduler_hybrid_store_demarkation |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
acui_settings |
schema-ActionScheduler_StoreSchema |
db_upgraded |
widget_recent-posts |
schema-ActionScheduler_LoggerSchema |
Browser metrics Passed 4 tests
A check of browser resources used by Import and export users and customers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.37 ▼0.36 | 1.75 ▲0.12 | 36.66 ▼3.13 |
Dashboard /wp-admin | 2,206 ▲29 | 5.62 ▲0.01 | 95.78 ▼7.48 | 42.12 ▼0.93 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.96 ▼0.06 | 39.80 ▼0.19 | 35.98 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 22.99 ▼2.07 | 637.07 ▼5.30 | 58.92 ▼14.18 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.19 ▲0.00 | 97.50 ▲3.37 | 42.35 ▲0.39 |
Import and export users and customers /wp-admin/tools.php?page=acui | 1,678 | 3.95 | 63.79 | 46.59 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,238 | 1.82 | 28.47 | 31.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-posts
- schema-ActionScheduler_StoreSchema
- widget_theysaidso_widget
- acui_settings
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- schema-ActionScheduler_LoggerSchema
- action_scheduler_hybrid_store_demarkation
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 43× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Exception' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/ActionScheduler_InvalidActionException.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Schedule_Deprecated' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/import-users-from-csv-with-meta/lib/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Clean_Command.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
import-users-from-csv-with-meta/import-users-from-csv-with-meta.php Passed 13 tests
The primary PHP file in "Import and export users and customers" version 1.24.1 is used by WordPress to initiate all plugin functionality
139 characters long description:
Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected16,679 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 3,532 | 5,776 | 14,794 |
PO File | 2 | 464 | 484 | 1,391 |
CSS | 1 | 33 | 3 | 190 |
JavaScript | 3 | 30 | 0 | 172 |
Markdown | 2 | 37 | 0 | 90 |
SVG | 1 | 0 | 1 | 28 |
XML | 1 | 0 | 0 | 9 |
JSON | 1 | 0 | 0 | 5 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 236.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 124 | |
▷ Abstract classes | 15 | 12.10% |
▷ Concrete classes | 109 | 87.90% |
▷ Final classes | 0 | 0.00% |
Methods | 1,052 | |
▷ Static methods | 133 | 12.64% |
▷ Public methods | 865 | 82.22% |
▷ Protected methods | 149 | 14.16% |
▷ Private methods | 38 | 3.61% |
Functions | 78 | |
▷ Named functions | 50 | 64.10% |
▷ Anonymous functions | 28 | 35.90% |
Constants | 35 | |
▷ Global constants | 2 | 5.71% |
▷ Class constants | 33 | 94.29% |
▷ Public constants | 33 | 100.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
5 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon_coffee.png | 5.82KB | 5.80KB | 0.42% |
assets/webempresa_logo.png | 2.76KB | 2.74KB | ▼ 0.71% |
assets/codection-inmotion.png | 9.64KB | 9.62KB | 0.22% |
icon_coffee.png | 5.82KB | 5.80KB | 0.42% |
csv_example.png | 11.95KB | 12.02KB | 0.00% |