Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.20ms] Passed 4 tests
Analyzing server-side resources used by Allow Multiple Accounts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.88 ▼2.45 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.45 ▼3.41 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.20 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.59 ▼24.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.02 ▼2.41 |
Multiple Accounts /wp-admin/users.php?page=allow-multiple-accounts/allow-multiple-accounts.php | 3.26 | 33.58 |
Server storage [IO: ▲0.10MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
c2c_allow_multiple_accounts |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Allow Multiple Accounts: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.02 | 1.76 ▼0.37 | 44.11 ▲0.79 |
Dashboard /wp-admin | 2,196 ▲18 | 5.50 ▼0.15 | 84.32 ▼31.61 | 39.80 ▼3.37 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.03 | 35.46 ▼0.88 | 32.35 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 22.95 ▲4.95 | 693.00 ▲46.69 | 52.38 ▼16.47 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.29 ▲0.18 | 98.24 ▼1.51 | 43.70 ▲0.31 |
Multiple Accounts /wp-admin/users.php?page=allow-multiple-accounts/allow-multiple-accounts.php | 933 | 2.02 | 27.38 | 34.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/allow-multiple-accounts/tests/bootstrap.php on line 3
- > PHP Fatal error
require_once(): Failed opening required '/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/allow-multiple-accounts/tests/bootstrap.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/allow-multiple-accounts/tests/test-allow-multiple-accounts.php:3
- > PHP Warning
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
allow-multiple-accounts/allow-multiple-accounts.php Passed 13 tests
This is the main PHP file of "Allow Multiple Accounts" version 3.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Allow multiple user accounts to be created, registered, and updated having the same email address.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,201 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 267 | 715 | 1,165 |
Bourne Shell | 1 | 7 | 3 | 22 |
XML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 67.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 3 | 3.19% |
▷ Public methods | 80 | 85.11% |
▷ Protected methods | 13 | 13.83% |
▷ Private methods | 1 | 1.06% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
c2c_minilogo.png | 3.49KB | 1.91KB | ▼ 45.43% |