Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼302.09ms] Passed 4 tests
Analyzing server-side resources used by Add Multiple User
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.23 | 51.81 ▲2.35 |
Dashboard /wp-admin | 3.58 ▲0.17 | 35.23 ▲2.09 |
Posts /wp-admin/edit.php | 3.81 ▲0.16 | 37.72 ▲0.41 |
Add New Post /wp-admin/post-new.php | 7.05 ▲0.07 | 92.90 ▼1,209.89 |
Media Library /wp-admin/upload.php | 3.46 ▲0.16 | 24.16 ▼0.98 |
Add Multiple User /wp-admin/options-general.php?page=addmultipleuser | 3.43 | 23.81 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
addmultipleuser |
Browser metrics Passed 4 tests
Add Multiple User: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,754 ▼4 | 15.66 ▲0.12 | 6.17 ▼1.43 | 2.06 ▼0.55 |
Dashboard /wp-admin | 2,879 ▲18 | 6.12 ▼0.05 | 118.94 ▼22.13 | 155.50 ▼17.79 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.24 ▼0.00 | 64.68 ▲0.99 | 141.25 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,664 ▼47 | 16.69 ▼4.72 | 423.98 ▼2.79 | 159.74 ▼5.47 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.52 ▼0.01 | 144.50 ▲2.38 | 186.84 ▲1.25 |
Add Multiple User /wp-admin/options-general.php?page=addmultipleuser | 1,505 | 2.54 | 57.32 | 111.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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
Even though no errors were found, this is by no means an exhaustive test
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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/add-multiple-user/lib/class-addmultipleuserregist.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-multiple-user/lib/class-addmultipleuser.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-multiple-user/lib/class-addmultipleuseradmin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/add-multiple-user/lib/class-addmultipleuserregist.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: roles, multiple, users, register
add-multiple-user/addmultipleuser.php 92% from 13 tests
The primary PHP file in "Add Multiple User" version 2.00 is used by WordPress to initiate all plugin functionality
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 ("add-multiple-user.php" instead of "addmultipleuser.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin682 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 144 | 294 | 682 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 32.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 19.23% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin