Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.38ms] Passed 4 tests
Analyzing server-side resources used by CSV User Import with custom email message
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.66 ▲2.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.88 ▲5.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.52 ▲0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.88 ▼9.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.26 ▲1.69 |
Import from CSV /wp-admin/users.php?page=csv-user-import | 3.17 | 30.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CSV User Import with custom email message
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.45 | 1.77 ▲0.21 | 44.15 ▼6.35 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.03 | 111.84 ▲0.03 | 43.28 ▲2.49 |
Posts /wp-admin/edit.php | 2,090 ▼6 | 1.99 ▼0.05 | 36.60 ▼2.68 | 30.70 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.22 ▲5.77 | 647.31 ▲48.89 | 58.11 ▲4.82 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.15 ▼0.03 | 98.86 ▼1.56 | 41.96 ▼1.51 |
Import from CSV /wp-admin/users.php?page=csv-user-import | 832 | 2.05 | 25.36 | 37.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/users.php?page=csv-user-import
- > Notice in wp-content/plugins/import-csv-and-create-users/import-users-csv.php+33
Undefined index: role
- > GET request to /wp-admin/users.php?page=csv-user-import
- > Notice in wp-content/plugins/import-csv-and-create-users/import-users-csv.php+48
Undefined index: mode
- > GET request to /wp-admin/users.php?page=csv-user-import
- > Notice in wp-content/plugins/import-csv-and-create-users/import-users-csv.php+204
Undefined variable: html_update
- > GET request to /wp-admin/users.php?page=csv-user-import
- > Notice in wp-content/plugins/import-csv-and-create-users/import-users-csv.php+205
Undefined variable: error
- > GET request to /wp-admin/users.php?page=csv-user-import
- > Notice in wp-content/plugins/import-csv-and-create-users/import-users-csv.php+242
Undefined variable: log_message
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-csv-and-create-users/import-users-csv.php:16
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== import-csv-and-create-users ===
)
import-csv-and-create-users/import-users-csv.php 92% from 13 tests
The entry point to "CSV User Import with custom email message" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("import-csv-and-create-users.php" instead of "import-users-csv.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected189 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 24 | 178 |
JavaScript | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
There were not PNG files found in your plugin